:root{--bg:#07111f;--card:rgba(255,255,255,.08);--line:rgba(255,255,255,.13);--text:#f7fbff;--muted:#9eb1c7;--a:#66e3ff;--b:#8b7cff;--ok:#4ee6a8;--warn:#ffd166}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:radial-gradient(circle at 10% 10%,#173862 0,transparent 30%),radial-gradient(circle at 90% 20%,#3a245e 0,transparent 28%),linear-gradient(135deg,#050b14,#0b1424 55%,#07111f);color:var(--text);min-height:100vh}.shell{max-width:1440px;margin:auto;padding:20px}.topbar{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid var(--line);background:rgba(8,18,34,.72);backdrop-filter:blur(18px);border-radius:22px;box-shadow:0 20px 70px rgba(0,0,0,.25)}.brand{display:flex;gap:13px;align-items:center}.logo{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,var(--a),var(--b));color:#06111d;box-shadow:0 8px 30px rgba(102,227,255,.3)}h1,h2,h3,p{margin:0}.brand h1{font-size:20px}.brand p,.hero p,.step p,.preview-head p,footer{color:var(--muted)}.status{padding:9px 14px;border-radius:999px;background:rgba(78,230,168,.13);border:1px solid rgba(78,230,168,.4);color:var(--ok);font-weight:700}.hero{margin-top:18px;border-radius:26px;padding:28px;display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,rgba(39,92,148,.55),rgba(77,47,126,.55));border:1px solid var(--line);box-shadow:0 30px 90px rgba(0,0,0,.25)}.eyebrow{font-size:12px;letter-spacing:.16em;color:var(--a);font-weight:800}.hero h2{font-size:32px;max-width:850px;margin:8px 0}.hero-badge{padding:18px 22px;border-radius:20px;background:rgba(255,255,255,.1);text-align:center}.tabs{display:flex;gap:10px;margin:18px 0}.tab{border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--text);padding:13px 18px;border-radius:14px;font-weight:800;cursor:pointer}.tab.active{background:linear-gradient(135deg,var(--a),var(--b));color:#06111d}.workspace{display:grid;grid-template-columns:minmax(360px,520px) 1fr;gap:18px}.panel{background:rgba(8,18,34,.78);border:1px solid var(--line);border-radius:24px;padding:20px;backdrop-filter:blur(18px);box-shadow:0 24px 70px rgba(0,0,0,.24)}.step{display:flex;gap:12px;align-items:center;margin:5px 0 12px}.step span{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,var(--a),var(--b));color:#07111f;font-weight:900;display:grid;place-items:center}.drop{min-height:120px;border:1px dashed rgba(102,227,255,.5);border-radius:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:rgba(102,227,255,.05);cursor:pointer;margin-bottom:18px}.drop input{display:none}.drop small{color:var(--muted)}.preset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}.preset-grid button{border:1px solid var(--line);background:rgba(255,255,255,.06);color:var(--text);border-radius:12px;padding:11px;font-weight:800;cursor:pointer}.preset-grid button.active,.preset-grid button:hover{border-color:var(--a);background:rgba(102,227,255,.12)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.field{display:flex;flex-direction:column;gap:6px;color:#c9d6e5;font-size:13px;margin-bottom:10px}.field input,.field select{width:100%;border:1px solid var(--line);background:#0d1a2b;color:var(--text);padding:11px;border-radius:12px;outline:none}.check{display:flex;align-items:center;gap:8px;color:#c9d6e5;margin:4px 0 12px}.signature-box{border:1px solid rgba(139,124,255,.3);background:rgba(139,124,255,.06);border-radius:16px;padding:12px;margin-bottom:12px}.primary,.download{width:100%;border:0;border-radius:14px;padding:14px;font-weight:900;cursor:pointer}.primary{background:linear-gradient(135deg,var(--a),var(--b));color:#06111d}.download{margin-top:16px;background:linear-gradient(135deg,#44e0a0,#66e3ff);color:#06111d}.download:disabled{opacity:.4;cursor:not-allowed}.message{min-height:24px;margin-top:10px;font-size:13px}.message.error{color:#ff9c9c}.message.ok{color:var(--ok)}.preview-head{display:grid;grid-template-columns:1fr 1fr;gap:12px}.previews{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.preview-box{height:430px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(45deg,#132033 25%,#0e1928 25% 50%,#132033 50% 75%,#0e1928 75%);background-size:24px 24px;display:grid;place-items:center;overflow:hidden}.preview-box img{max-width:100%;max-height:100%;object-fit:contain;display:none}.preview-box img.show{display:block}.result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.result-grid div{padding:12px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid var(--line)}.result-grid span{display:block;color:var(--muted);font-size:12px}.result-grid b{display:block;margin-top:5px;font-size:14px}.hidden{display:none!important}footer{text-align:center;padding:18px}@media(max-width:950px){.workspace{grid-template-columns:1fr}.hero{align-items:flex-start}.hero h2{font-size:26px}.hero-badge{display:none}.preview-box{height:310px}}@media(max-width:620px){.shell{padding:10px}.previews,.preview-head,.grid2{grid-template-columns:1fr}.result-grid{grid-template-columns:1fr 1fr}.preset-grid{grid-template-columns:repeat(2,1fr)}}
/* Milestone 2.1 UI-only preview upgrade. Processing engine remains unchanged. */
.workspace{grid-template-columns:minmax(360px,500px) 1fr;align-items:start}.comparison-area{display:grid;grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);gap:14px;align-items:stretch}.preview-card{background:rgba(8,18,34,.78);border:1px solid var(--line);border-radius:24px;padding:16px;backdrop-filter:blur(18px);box-shadow:0 24px 70px rgba(0,0,0,.24);min-width:0}.original-card{border-color:rgba(102,227,255,.4);box-shadow:0 20px 60px rgba(42,153,210,.12)}.final-card{border-color:rgba(78,230,168,.42);box-shadow:0 20px 60px rgba(78,230,168,.1)}.card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.card-kicker{display:block;font-size:10px;letter-spacing:.15em;color:var(--muted);font-weight:900;margin-bottom:4px}.card-badge{padding:7px 10px;border-radius:999px;font-size:11px;font-weight:900;white-space:nowrap}.card-badge.blue{background:rgba(102,227,255,.12);color:var(--a);border:1px solid rgba(102,227,255,.35)}.card-badge.green{background:rgba(78,230,168,.12);color:var(--ok);border:1px solid rgba(78,230,168,.35)}.comparison-area .preview-box{height:330px;position:relative}.empty-preview{color:var(--muted);font-size:13px;text-align:center;padding:10px}.preview-box img.show+.empty-preview{display:none}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.details-grid>div{padding:11px;border-radius:13px;background:rgba(255,255,255,.05);border:1px solid var(--line);min-width:0}.details-grid span{display:block;color:var(--muted);font-size:11px}.details-grid b{display:block;margin-top:5px;font-size:13px;overflow-wrap:anywhere}.before-after-card{align-self:center;padding:14px 10px;border-radius:20px;background:linear-gradient(180deg,rgba(102,227,255,.10),rgba(78,230,168,.08));border:1px solid var(--line);text-align:center}.before-after-card>div:not(.arrow){padding:9px 4px}.before-after-card span{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.before-after-card b{display:block;margin-top:3px;font-size:13px}.before-after-card .arrow{font-size:25px;color:var(--a);margin:1px 0}.final-card .download{margin-top:12px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1250px){.comparison-area{grid-template-columns:1fr 1fr}.before-after-card{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,1fr);align-items:center}.before-after-card .arrow{font-size:20px}}
@media(max-width:950px){.comparison-area{grid-template-columns:1fr}.before-after-card{grid-column:auto}.comparison-area .preview-box{height:310px}}
@media(max-width:620px){.details-grid{grid-template-columns:1fr}.before-after-card{grid-template-columns:1fr 20px 1fr}.before-after-card>div:nth-child(4),.before-after-card>div:nth-child(5){grid-column:span 1}}

/* Milestone 2.2 — Design-only polish. Processing logic intentionally unchanged. */
:root{
  --surface:#0a1627;
  --surface-2:#0e1d31;
  --surface-3:#13253c;
  --cyan:#55dcff;
  --violet:#8d7dff;
  --green:#4ce3a6;
  --pink:#ff76bc;
  --shadow-soft:0 18px 50px rgba(0,0,0,.24);
  --shadow-hover:0 24px 70px rgba(48,133,255,.22);
  --ease:cubic-bezier(.2,.8,.2,1);
}
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(circle at 7% 5%,rgba(60,142,255,.24),transparent 29%),
    radial-gradient(circle at 94% 8%,rgba(153,78,255,.23),transparent 31%),
    radial-gradient(circle at 50% 100%,rgba(48,219,180,.08),transparent 32%),
    linear-gradient(145deg,#050a12 0%,#071323 48%,#080d18 100%);
  background-attachment:fixed;
}
.shell{padding:24px 22px 18px}
.topbar{
  position:sticky;top:12px;z-index:20;
  border-color:rgba(125,202,255,.17);
  background:linear-gradient(135deg,rgba(8,20,38,.91),rgba(14,19,40,.88));
  box-shadow:0 18px 60px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.06);
  transition:transform .28s var(--ease),box-shadow .28s var(--ease),border-color .28s var(--ease);
}
.topbar:hover{transform:translateY(-2px);border-color:rgba(102,227,255,.31);box-shadow:0 23px 75px rgba(0,0,0,.36),0 0 0 1px rgba(102,227,255,.05)}
.logo{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,#62e8ff 0%,#6ca9ff 43%,#9b77ff 100%);
  box-shadow:0 10px 34px rgba(93,195,255,.34),inset 0 1px 0 rgba(255,255,255,.55);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease);
}
.logo::after{content:"";position:absolute;inset:-70%;background:linear-gradient(120deg,transparent 40%,rgba(255,255,255,.55),transparent 60%);transform:translateX(-60%) rotate(15deg);animation:logoShine 5s ease-in-out infinite}
.logo:hover{transform:rotate(-4deg) scale(1.07);box-shadow:0 14px 42px rgba(112,158,255,.46)}
@keyframes logoShine{0%,65%{transform:translateX(-70%) rotate(15deg)}85%,100%{transform:translateX(75%) rotate(15deg)}}
.status{box-shadow:inset 0 1px 0 rgba(255,255,255,.09),0 8px 24px rgba(78,230,168,.08);transition:transform .25s var(--ease),background .25s var(--ease)}
.status:hover{transform:translateY(-2px) scale(1.02);background:rgba(78,230,168,.18)}
.hero{
  position:relative;overflow:hidden;
  background:
    radial-gradient(circle at 82% 28%,rgba(102,227,255,.22),transparent 28%),
    linear-gradient(130deg,rgba(26,78,131,.78),rgba(57,38,112,.78));
  box-shadow:0 28px 85px rgba(0,0,0,.31),inset 0 1px 0 rgba(255,255,255,.08);
}
.hero::before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-80px;top:-100px;border:1px solid rgba(255,255,255,.12);box-shadow:0 0 0 38px rgba(255,255,255,.025),0 0 0 78px rgba(255,255,255,.018)}
.hero::after{content:"";position:absolute;left:-25%;bottom:-80%;width:150%;height:130%;background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.06) 50%,transparent 65%);transform:translateX(-40%);animation:heroSweep 8s ease-in-out infinite;pointer-events:none}
@keyframes heroSweep{0%,55%{transform:translateX(-45%)}85%,100%{transform:translateX(45%)}}
.hero h2{line-height:1.18;text-wrap:balance}.hero-badge{position:relative;z-index:1;border:1px solid rgba(255,255,255,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.tabs{background:rgba(8,18,34,.42);border:1px solid rgba(255,255,255,.06);padding:6px;border-radius:18px;width:max-content;max-width:100%;box-shadow:0 12px 34px rgba(0,0,0,.18)}
.tab{
  position:relative;overflow:hidden;
  padding:13px 22px;
  transition:transform .22s var(--ease),border-color .22s var(--ease),background .22s var(--ease),box-shadow .22s var(--ease);
}
.tab::after,.primary::after,.download::after,.preset-grid button::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,rgba(255,255,255,.22) 48%,transparent 72%);transform:translateX(-120%);transition:transform .55s var(--ease);pointer-events:none}
.tab:hover{transform:translateY(-2px);border-color:rgba(102,227,255,.38);background:rgba(102,227,255,.1)}
.tab:hover::after,.primary:hover::after,.download:hover::after,.preset-grid button:hover::after{transform:translateX(120%)}
.tab.active{box-shadow:0 12px 30px rgba(112,135,255,.26),inset 0 1px 0 rgba(255,255,255,.5)}
.panel,.preview-card{
  background:linear-gradient(150deg,rgba(12,28,49,.93),rgba(8,17,31,.93));
  border-color:rgba(140,193,255,.14);
  box-shadow:var(--shadow-soft),inset 0 1px 0 rgba(255,255,255,.045);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s var(--ease);
}
.panel:hover,.preview-card:hover{transform:translateY(-3px);border-color:rgba(102,227,255,.25);box-shadow:var(--shadow-hover),inset 0 1px 0 rgba(255,255,255,.06)}
.step{padding:8px 9px;border-radius:14px;transition:background .22s var(--ease)}.step:hover{background:rgba(255,255,255,.035)}
.step span{box-shadow:0 8px 22px rgba(105,182,255,.25),inset 0 1px 0 rgba(255,255,255,.55);transition:transform .22s var(--ease)}.step:hover span{transform:scale(1.08) rotate(-3deg)}
.drop{
  position:relative;overflow:hidden;
  border-width:1.5px;
  transition:transform .28s var(--ease),border-color .28s var(--ease),background .28s var(--ease),box-shadow .28s var(--ease);
}
.drop::before{content:"+";display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,rgba(102,227,255,.18),rgba(139,124,255,.18));color:var(--a);font-size:28px;font-weight:300;margin-bottom:5px;border:1px solid rgba(102,227,255,.22);transition:transform .28s var(--ease)}
.drop:hover{transform:translateY(-3px) scale(1.006);border-color:var(--a);background:rgba(102,227,255,.09);box-shadow:0 16px 42px rgba(59,185,255,.14)}
.drop:hover::before{transform:rotate(90deg) scale(1.08)}
.preset-grid button{
  position:relative;overflow:hidden;
  min-height:46px;
  transition:transform .2s var(--ease),background .2s var(--ease),border-color .2s var(--ease),box-shadow .2s var(--ease);
}
.preset-grid button:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(80,184,255,.16)}
.preset-grid button:active{transform:translateY(0) scale(.97)}
.preset-grid button.active{background:linear-gradient(135deg,rgba(102,227,255,.2),rgba(139,124,255,.18));box-shadow:0 10px 26px rgba(88,166,255,.18),inset 0 1px 0 rgba(255,255,255,.12)}
.field input,.field select{
  min-height:45px;
  background:linear-gradient(180deg,#102039,#0c192b);
  border-color:rgba(159,199,255,.17);
  transition:border-color .2s var(--ease),box-shadow .2s var(--ease),transform .2s var(--ease),background .2s var(--ease);
}
.field input:hover,.field select:hover{border-color:rgba(102,227,255,.32);background:#11233b}
.field input:focus,.field select:focus{border-color:var(--a);box-shadow:0 0 0 4px rgba(102,227,255,.11),0 10px 26px rgba(0,0,0,.16);transform:translateY(-1px)}
.check{padding:8px 10px;border-radius:12px;transition:background .2s var(--ease)}.check:hover{background:rgba(255,255,255,.035)}.check input{accent-color:#65dfff;width:17px;height:17px}
.signature-box{background:linear-gradient(145deg,rgba(139,124,255,.09),rgba(102,227,255,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.primary,.download{
  position:relative;overflow:hidden;
  min-height:50px;
  letter-spacing:.01em;
  box-shadow:0 12px 30px rgba(75,166,255,.23),inset 0 1px 0 rgba(255,255,255,.55);
  transition:transform .22s var(--ease),box-shadow .22s var(--ease),filter .22s var(--ease);
}
.primary:hover,.download:hover{transform:translateY(-3px);filter:saturate(1.1) brightness(1.04);box-shadow:0 18px 42px rgba(76,172,255,.32),inset 0 1px 0 rgba(255,255,255,.65)}
.primary:active,.download:active{transform:translateY(0) scale(.985)}
.download:not(:disabled){animation:downloadPulse 2.8s ease-in-out infinite}@keyframes downloadPulse{0%,100%{box-shadow:0 12px 30px rgba(73,224,174,.18),inset 0 1px 0 rgba(255,255,255,.5)}50%{box-shadow:0 16px 44px rgba(73,224,174,.34),0 0 0 5px rgba(73,224,174,.035),inset 0 1px 0 rgba(255,255,255,.6)}}
.download:disabled{animation:none;filter:grayscale(.2)}
.preview-card{overflow:hidden}.original-card{background:linear-gradient(150deg,rgba(10,31,51,.96),rgba(8,18,32,.96))}.final-card{background:linear-gradient(150deg,rgba(8,34,39,.93),rgba(8,18,32,.96))}
.card-title{padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.055)}
.card-badge{transition:transform .22s var(--ease),box-shadow .22s var(--ease)}.preview-card:hover .card-badge{transform:translateY(-2px)}
.comparison-area .preview-box{
  border-color:rgba(162,202,255,.16);
  box-shadow:inset 0 0 35px rgba(0,0,0,.25);
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease),transform .25s var(--ease);
}
.preview-card:hover .preview-box{border-color:rgba(102,227,255,.3);box-shadow:inset 0 0 38px rgba(0,0,0,.28),0 12px 32px rgba(0,0,0,.16)}
.preview-box img{transition:transform .35s var(--ease),filter .35s var(--ease)}.preview-box:hover img.show{transform:scale(1.025);filter:brightness(1.025)}
.details-grid>div{transition:transform .2s var(--ease),background .2s var(--ease),border-color .2s var(--ease)}.details-grid>div:hover{transform:translateY(-2px);background:rgba(255,255,255,.075);border-color:rgba(102,227,255,.22)}
.before-after-card{box-shadow:0 16px 42px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.05);transition:transform .28s var(--ease),box-shadow .28s var(--ease)}.before-after-card:hover{transform:scale(1.025);box-shadow:0 22px 54px rgba(48,143,255,.16),inset 0 1px 0 rgba(255,255,255,.07)}
.before-after-card .arrow{animation:arrowFloat 1.8s ease-in-out infinite}@keyframes arrowFloat{0%,100%{transform:translateX(-2px)}50%{transform:translateX(3px)}}
.message{padding:0 4px;transition:color .2s var(--ease)}
footer{opacity:.82;transition:opacity .2s var(--ease)}footer:hover{opacity:1}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#07111f}::-webkit-scrollbar-thumb{background:linear-gradient(#4ccff4,#8677ff);border:2px solid #07111f;border-radius:999px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(#66e3ff,#9d8cff)}
button:focus-visible,input:focus-visible,select:focus-visible,.drop:focus-within{outline:2px solid var(--a);outline-offset:3px}
@media(max-width:950px){.topbar{position:relative;top:auto}.shell{padding:14px}.hero{padding:24px}.tabs{width:100%}.tab{flex:1}.panel:hover,.preview-card:hover{transform:none}}
@media(max-width:620px){.shell{padding:8px}.topbar{padding:13px}.brand h1{font-size:17px}.status{font-size:11px;padding:8px 10px}.hero{padding:20px;border-radius:20px}.hero h2{font-size:23px}.tabs{gap:5px}.tab{padding:12px 10px;font-size:12px}.panel,.preview-card{border-radius:19px;padding:14px}.primary,.download{font-size:13px}.comparison-area .preview-box{height:280px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Milestone 2.4 — separate Image Converter and Compressor modules */
.tool-nav{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 18px;padding:10px;border:1px solid rgba(150,180,255,.2);border-radius:20px;background:rgba(11,19,45,.58);backdrop-filter:blur(18px)}
.tool-nav-btn{flex:1;min-width:190px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.04);color:#dce8ff;padding:14px 18px;border-radius:14px;font-weight:800;cursor:pointer;transition:.22s ease}
.tool-nav-btn:hover{transform:translateY(-2px);border-color:rgba(102,227,255,.55);box-shadow:0 12px 30px rgba(51,125,255,.16)}
.tool-nav-btn.active{color:#071126;background:linear-gradient(135deg,#76ecff,#8ea2ff);box-shadow:0 12px 35px rgba(90,173,255,.32)}
.tool-page{display:none}.tool-page.active{display:block;animation:pageIn .28s ease both}@keyframes pageIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.single-tool-workspace{display:block}.tool-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:24px;border-radius:24px;border:1px solid rgba(255,255,255,.12);background:linear-gradient(135deg,rgba(42,89,198,.2),rgba(130,72,210,.14));box-shadow:0 20px 60px rgba(0,0,0,.18)}
.tool-intro h2{margin:6px 0 5px;font-size:clamp(24px,3vw,38px)}.tool-intro p{margin:0;color:#aebfe6}.mini-badge{white-space:nowrap;padding:13px 17px;border-radius:999px;background:rgba(78,230,168,.13);border:1px solid rgba(78,230,168,.35);color:#78efbd;font-weight:900}
.dual-layout{display:grid;grid-template-columns:minmax(300px,390px) 1fr;gap:22px;align-items:start}.compact-controls{position:sticky;top:16px}.converter-comparison{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.converter-comparison .vertical-summary{grid-column:1/-1}
.format-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.format-cards button{padding:13px 9px;border-radius:14px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#e9efff;font-weight:900;cursor:pointer;transition:.2s}.format-cards button small{display:block;font-size:10px;color:#8ea2c8;margin-top:4px}.format-cards button:hover,.format-cards button.active{border-color:#69ddff;background:rgba(85,191,255,.12);box-shadow:0 8px 24px rgba(58,153,255,.16)}
.soft-hidden{opacity:.45;pointer-events:none}.drop.dragging{border-color:#66e3ff!important;background:rgba(102,227,255,.09)!important}.vertical-summary{display:grid;grid-template-columns:repeat(5,1fr);width:100%;max-width:none}.converter-intro{background:linear-gradient(135deg,rgba(52,129,235,.24),rgba(113,76,227,.18))}.compressor-intro{background:linear-gradient(135deg,rgba(20,170,140,.18),rgba(63,91,214,.18))}
@media(max-width:980px){.dual-layout{grid-template-columns:1fr}.compact-controls{position:static}.converter-comparison{grid-template-columns:1fr}.vertical-summary{grid-template-columns:repeat(2,1fr)}.tool-intro{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.format-cards{grid-template-columns:1fr}.tool-nav-btn{min-width:100%}.vertical-summary{grid-template-columns:1fr}.tool-intro{padding:18px}}
.tool-nav-btn.pdf-nav{border-color:rgba(255,92,92,.28)}.tool-nav-btn.pdf-nav:hover,.tool-nav-btn.pdf-nav.active{background:linear-gradient(135deg,#ff5252,#ff8a3d);color:#fff;box-shadow:0 12px 30px rgba(255,82,82,.25)}
.pdf-intro{background:linear-gradient(135deg,rgba(120,18,30,.95),rgba(73,18,78,.92));border:1px solid rgba(255,122,122,.25)}.pdf-badge{background:rgba(255,255,255,.12);color:#ffd7d7}.pdf-step span{background:linear-gradient(135deg,#ff5252,#ff8a3d)}.pdf-primary{background:linear-gradient(135deg,#ff4d4d,#ff8a3d)}.pdf-drop{border-color:rgba(255,108,108,.5)}
.pdf-result-card{min-height:420px}.pdf-file-visual{height:210px;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:78px;background:linear-gradient(145deg,rgba(255,77,77,.08),rgba(255,138,61,.04));border:1px dashed rgba(255,100,100,.35)}.pdf-file-visual span{font-size:14px;margin-top:15px;max-width:80%;overflow-wrap:anywhere}.pdf-list{display:grid;gap:10px;max-height:340px;overflow:auto}.pdf-list-item{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.pdf-list-item>span{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:rgba(255,93,93,.18);color:#ffb6b6}.pdf-list-item small,.muted{opacity:.68}.pdf-output-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.page-output{padding:10px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08)}.page-output img{width:100%;height:190px;object-fit:contain;background:#fff;border-radius:10px}.page-output>div{display:flex;justify-content:space-between;padding:9px 2px}.page-output button{width:100%;padding:10px;border:0;border-radius:10px;background:linear-gradient(135deg,#45dda8,#5bd8ff);font-weight:800;cursor:pointer}
.target-field{border:1px solid rgba(83,220,255,.28);background:linear-gradient(135deg,rgba(70,120,255,.08),rgba(105,65,255,.08));padding:12px;border-radius:14px}.target-field small{display:block;margin-top:7px;color:#9fb2cc;font-size:12px}.target-field input{margin-top:7px}.details-grid>div:nth-child(2){border-color:rgba(255,180,70,.34)}

/* v2.5.4 — unit conversion, 1MB PDF fix and clear completion feedback */
.dimension-summary{grid-column:1/-1;margin-top:-2px;padding:11px 13px;border:1px solid rgba(102,227,255,.22);border-radius:13px;background:rgba(102,227,255,.07);color:#bfefff;font-size:12px;font-weight:750;letter-spacing:.01em}
.ready-note{display:flex;align-items:center;gap:12px;margin:14px 0 10px;padding:13px 15px;border:1px solid rgba(73,224,174,.42);border-radius:15px;background:linear-gradient(135deg,rgba(73,224,174,.14),rgba(91,216,255,.09));color:#dffff4;animation:readyPop .42s cubic-bezier(.2,.9,.25,1.25) both;box-shadow:0 12px 34px rgba(73,224,174,.12)}
.ready-note[hidden]{display:none!important}.ready-note>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#43dfa5,#61dfff);color:#06171a;font-size:20px;font-weight:1000;box-shadow:0 0 0 6px rgba(73,224,174,.08)}.ready-note b{display:block;color:#7af0c0}.ready-note small{display:block;margin-top:2px;color:#b5c8dc}
.ready-success{animation:readyButton 1.55s ease-in-out infinite!important;border-color:rgba(120,255,205,.8)!important}
@keyframes readyPop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
@keyframes readyButton{0%,100%{transform:translateY(0);box-shadow:0 12px 30px rgba(73,224,174,.22),inset 0 1px 0 rgba(255,255,255,.55)}50%{transform:translateY(-2px);box-shadow:0 19px 46px rgba(73,224,174,.42),0 0 0 6px rgba(73,224,174,.055),inset 0 1px 0 rgba(255,255,255,.7)}}


/* v2.5.5 — always show the complete original/final image */
.comparison-area .preview-box img,
.preview-box img.show{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  transform:none !important;
  padding:8px;
}
.preview-box:hover img.show{transform:none !important;filter:brightness(1.015)}
.comparison-area .preview-box{min-height:360px;height:clamp(360px,44vw,540px)}
@media(max-width:950px){.comparison-area .preview-box{height:420px}}
@media(max-width:620px){.comparison-area .preview-box{height:340px}}


/* v2.5.6 — responsive previews only; processing UI otherwise unchanged */
.comparison-area .preview-box{
  min-height:220px !important;
  height:clamp(240px,30vw,380px) !important;
}
.comparison-area .preview-box img,
.preview-box img.show{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:center !important;
  padding:6px !important;
}
@media(max-width:950px){
  .comparison-area .preview-box{height:clamp(240px,52vw,340px) !important;}
}
@media(max-width:620px){
  .comparison-area .preview-box{height:240px !important;min-height:200px !important;}
  .preview-card{padding:12px !important;}
  .details-grid{grid-template-columns:1fr 1fr;}
}

/* v2.6.0 — visual redesign only; all processing logic remains unchanged */
:root{--side-w:248px;--top-h:74px;--glass:rgba(8,18,38,.78);--glass-strong:rgba(7,16,34,.92)}
body{overflow-x:hidden;background:#050b17;position:relative}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-3;background:
radial-gradient(circle at 18% 10%,rgba(34,126,255,.20),transparent 26%),
radial-gradient(circle at 83% 16%,rgba(132,49,255,.22),transparent 30%),
linear-gradient(140deg,#020813 0%,#071225 46%,#050a17 100%)}
.liquid-bg{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-2;filter:blur(18px)}
.liquid-bg i{position:absolute;border-radius:44% 56% 63% 37%/44% 42% 58% 56%;opacity:.22;mix-blend-mode:screen;animation:liquidFlow 16s ease-in-out infinite alternate}
.liquid-bg i:nth-child(1){width:520px;height:270px;left:10%;top:18%;background:linear-gradient(120deg,#0ddfff,#394dff 55%,#9b34ff);box-shadow:0 0 90px #176dff}
.liquid-bg i:nth-child(2){width:420px;height:420px;right:-7%;top:30%;background:linear-gradient(140deg,#7130ff,#ff3dc8);animation-duration:21s;animation-delay:-7s}
.liquid-bg i:nth-child(3){width:600px;height:260px;left:32%;bottom:-10%;background:linear-gradient(120deg,#0ec7ca,#3256ff,#8d2cff);animation-duration:19s;animation-delay:-3s}
@keyframes liquidFlow{0%{transform:translate3d(-30px,-10px,0) rotate(-7deg) scale(.94);border-radius:44% 56% 63% 37%/44% 42% 58% 56%}50%{transform:translate3d(40px,28px,0) rotate(8deg) scale(1.08);border-radius:60% 40% 35% 65%/55% 61% 39% 45%}100%{transform:translate3d(-8px,55px,0) rotate(-2deg) scale(1.02)}}
.shell{max-width:none;margin:0;padding:calc(var(--top-h) + 22px) 22px 58px calc(var(--side-w) + 26px);min-height:100vh}
.topbar{position:fixed;z-index:50;left:0;right:0;top:0;height:var(--top-h);border-radius:0;padding:12px 26px;background:rgba(4,12,28,.91);border:0;border-bottom:1px solid rgba(124,162,230,.17);box-shadow:0 12px 35px rgba(0,0,0,.28);backdrop-filter:blur(24px)}
.topbar:hover{transform:none}.brand h1{font-size:20px;letter-spacing:.01em}.brand p{font-size:11px;margin-top:3px}.brand p b{color:#a78bfa}.brand-dot{opacity:.45;margin:0 4px}.yt-mini{color:#60d7ff}.logo{width:44px;height:44px;border-radius:13px;color:#fff;background:linear-gradient(145deg,#23c9ff,#5247ff 54%,#9d35f6);box-shadow:0 0 22px rgba(71,94,255,.46),inset 0 1px 0 rgba(255,255,255,.35)}
.top-actions{display:flex;align-items:center;gap:10px}.status{display:flex;align-items:center;gap:8px;padding:10px 18px;background:rgba(9,133,106,.15);border-color:rgba(47,227,181,.29);font-size:13px}.status-check{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#19c994;color:#04382d;font-size:11px}.theme-icon{width:38px;height:38px;border:1px solid transparent;background:transparent;color:#9fb0ca;border-radius:11px;cursor:pointer;font-size:18px}.theme-icon:hover,.theme-icon.active{background:rgba(111,139,255,.13);color:#fff;border-color:rgba(112,153,255,.22)}
.sidebar{position:fixed;z-index:40;left:0;top:var(--top-h);bottom:0;width:var(--side-w);padding:18px 14px 16px;background:linear-gradient(180deg,rgba(5,16,34,.96),rgba(4,13,29,.94));border-right:1px solid rgba(116,150,211,.16);display:flex;flex-direction:column;overflow:auto;backdrop-filter:blur(22px)}
.sidebar-title{font-size:11px;letter-spacing:.16em;color:#72839e;font-weight:900;padding:5px 7px 10px}.tool-nav{display:flex;flex-direction:column;gap:8px;flex-wrap:nowrap;margin:0;padding:0;border:0;border-radius:0;background:transparent;backdrop-filter:none}.tool-nav-btn{flex:none;min-width:0;width:100%;text-align:left;padding:13px 14px;border-radius:12px;background:transparent;border:1px solid transparent;color:#d5deed;font-size:13px;box-shadow:none}.tool-nav-btn:hover{transform:none;background:rgba(77,118,183,.10);border-color:rgba(109,151,226,.13);box-shadow:none}.tool-nav-btn.active{color:#fff;background:linear-gradient(105deg,rgba(25,131,206,.27),rgba(89,72,224,.28));border-color:#1a9ce6;box-shadow:inset 3px 0 0 #49c9ff,0 8px 24px rgba(30,89,189,.18)}.tool-nav-btn.pdf-nav{border-color:transparent}.tool-nav-btn.pdf-nav:hover,.tool-nav-btn.pdf-nav.active{background:linear-gradient(105deg,rgba(255,74,113,.16),rgba(128,60,255,.2));border-color:rgba(255,96,132,.46);box-shadow:inset 3px 0 0 #ff668c}
.local-card{margin-top:auto;display:flex;gap:11px;align-items:center;padding:14px;border-radius:14px;background:rgba(13,30,56,.72);border:1px solid rgba(108,151,215,.14)}.local-card>span{font-size:28px;color:#25e0b0}.local-card b{display:block;font-size:11px}.local-card small{display:block;margin-top:4px;color:#8fa0ba;font-size:10px}.sidebar-theme{margin-top:12px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;border-radius:13px;background:rgba(13,30,56,.54);border:1px solid rgba(108,151,215,.11);font-size:11px;font-weight:800}.sidebar-theme div{display:flex;gap:3px;padding:3px;background:rgba(0,0,0,.22);border-radius:10px}.sidebar-theme button{width:31px;height:27px;border:0;border-radius:8px;background:transparent;color:#7f90aa;cursor:pointer}.sidebar-theme button.active{background:linear-gradient(135deg,#246cff,#7438ff);color:#fff;box-shadow:0 5px 14px rgba(62,78,255,.35)}
.hero{margin-top:0;min-height:188px;padding:30px 34px;background:linear-gradient(110deg,rgba(15,46,86,.92),rgba(31,30,89,.82) 62%,rgba(70,23,113,.86));border-color:rgba(91,139,223,.22);box-shadow:0 26px 70px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.06);position:relative;overflow:hidden}.hero::after{content:"";position:absolute;right:4%;top:8%;width:270px;height:170px;border-radius:50%;background:radial-gradient(circle,rgba(82,181,255,.45),rgba(85,52,255,.2) 40%,transparent 70%);filter:blur(8px);animation:heroGlow 5s ease-in-out infinite alternate}@keyframes heroGlow{to{transform:scale(1.14) translateX(-18px);filter:blur(16px)}}.hero h2{font-size:clamp(28px,3vw,42px);line-height:1.18}.hero h2::first-line{color:#fff}.hero-badge{position:relative;z-index:2;border:1px solid rgba(112,152,255,.25);box-shadow:0 16px 45px rgba(44,49,180,.25)}
.tabs{margin:15px 0 14px}.panel,.preview-card,.before-after-card,.tool-intro{background:linear-gradient(145deg,rgba(9,23,45,.90),rgba(8,19,39,.82));border-color:rgba(116,151,211,.16);box-shadow:0 18px 52px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.035)}.panel:hover,.preview-card:hover{border-color:rgba(74,184,255,.28)}.drop{background:rgba(38,84,137,.08)}.field input,.field select{background:rgba(9,24,47,.92)}
footer{position:fixed;z-index:45;left:var(--side-w);right:0;bottom:0;height:42px;padding:0 22px;display:flex;align-items:center;justify-content:flex-start;gap:9px;text-align:left;background:rgba(4,12,27,.92);border-top:1px solid rgba(106,143,207,.14);backdrop-filter:blur(18px);font-size:11px}.footer-yt{color:#4bcaff;font-weight:800}.footer-sep{opacity:.32}
html[data-theme="light"]{--text:#15233b;--muted:#66758d;--line:rgba(54,80,125,.16);--glass:rgba(255,255,255,.78)}
html[data-theme="light"] body{background:#edf4ff;color:var(--text)}html[data-theme="light"] body::before{background:radial-gradient(circle at 16% 8%,rgba(67,170,255,.27),transparent 30%),radial-gradient(circle at 88% 14%,rgba(152,89,255,.20),transparent 30%),linear-gradient(140deg,#f7fbff,#eef4ff 48%,#f6f0ff)}html[data-theme="light"] .liquid-bg{opacity:.42;mix-blend-mode:multiply}html[data-theme="light"] .topbar,html[data-theme="light"] footer{background:rgba(247,251,255,.9);color:#17233a}html[data-theme="light"] .sidebar{background:linear-gradient(180deg,rgba(248,251,255,.96),rgba(237,244,255,.95));color:#17233a}html[data-theme="light"] .tool-nav-btn{color:#33445f}html[data-theme="light"] .tool-nav-btn.active{color:#0b2441;background:linear-gradient(105deg,rgba(56,184,255,.20),rgba(105,87,255,.16))}html[data-theme="light"] .panel,html[data-theme="light"] .preview-card,html[data-theme="light"] .before-after-card,html[data-theme="light"] .tool-intro{background:linear-gradient(145deg,rgba(255,255,255,.91),rgba(244,248,255,.84));color:#17233a}html[data-theme="light"] .field,html[data-theme="light"] .check{color:#45566f}html[data-theme="light"] .field input,html[data-theme="light"] .field select{background:#f7faff;color:#17233a}html[data-theme="light"] .local-card,html[data-theme="light"] .sidebar-theme{background:rgba(223,235,252,.72)}html[data-theme="light"] .preview-box{background:linear-gradient(45deg,#e6eef9 25%,#f5f8fd 25% 50%,#e6eef9 50% 75%,#f5f8fd 75%)}
@media(max-width:1050px){:root{--side-w:210px}.tool-nav-btn{font-size:12px;padding:12px 10px}.shell{padding-left:calc(var(--side-w) + 16px)}}
@media(max-width:820px){.sidebar{position:relative;top:auto;left:auto;bottom:auto;width:auto;margin:0 0 15px;border:1px solid rgba(116,150,211,.16);border-radius:18px}.sidebar-title,.local-card,.sidebar-theme{display:none}.tool-nav{display:grid;grid-template-columns:repeat(2,1fr)}.shell{padding:calc(var(--top-h) + 12px) 10px 58px}.topbar{padding:10px 14px}.brand p .brand-dot,.yt-mini{display:none}footer{left:0}.hero{padding:24px}.theme-icon{display:none}}
@media(max-width:540px){.tool-nav{grid-template-columns:1fr}.top-actions .status{padding:8px 10px}.brand h1{font-size:16px}.brand p{font-size:9px}.logo{width:39px;height:39px}.hero h2{font-size:24px}footer{font-size:9px;gap:5px;padding:0 10px}.footer-sep{display:none}}

/* v2.6.1 screenshot-matched premium dashboard refinements */
:root{--side-w:276px;--top-h:80px;--footer-h:46px;--dtj-text:#f5f8ff;--dtj-muted:#8f9fb8;--dtj-line:rgba(112,149,210,.16)}
body{font-family:Inter,"Noto Sans Devanagari","Segoe UI",Arial,sans-serif;background:#030915;overflow-x:hidden}
.shell{max-width:none;min-height:100vh;padding:calc(var(--top-h) + 8px) 24px calc(var(--footer-h) + 20px) calc(var(--side-w) + 28px)}
.topbar{height:var(--top-h);padding:0 23px 0 30px;background:linear-gradient(180deg,rgba(3,11,25,.97),rgba(4,13,29,.94));border-bottom:1px solid var(--dtj-line)}
.brand-copy{min-width:0}.brand h1{font-size:19px;color:#f7f9ff;line-height:1.1}.brand p{font-size:10.5px;margin-top:5px}.brand p b{color:#a978ff}.brand p span{opacity:.35;margin:0 5px}.brand p em{font-style:normal;color:#49c9f8;font-weight:800}
.logo{width:45px;height:45px;border-radius:13px;color:#fff;background:linear-gradient(145deg,#2bd4ff,#4f58ff 54%,#9d3bfa);box-shadow:0 0 22px rgba(67,89,255,.48),inset 0 1px 1px rgba(255,255,255,.42)}
.top-actions{display:flex;align-items:center;gap:11px}.status{display:flex;align-items:center;gap:9px;padding:10px 18px;font-size:12px}.status i{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#34dda8;color:#06372c;font-style:normal;font-size:10px}.icon-btn{width:38px;height:38px;border:1px solid transparent;border-radius:11px;background:transparent;color:#a5b4c9;font-size:17px;display:grid;place-items:center;cursor:pointer}.icon-btn:hover{color:#fff;background:rgba(91,119,184,.13);border-color:rgba(119,153,221,.18)}.icon-btn .sun-icon{display:none}.top-divider{width:1px;height:32px;background:rgba(147,170,208,.17);margin:0 5px}.window-dot{width:12px;height:2px;border-radius:4px;background:#8999af;opacity:.8;margin-left:5px}.window-dot.square{width:11px;height:11px;border:2px solid #8999af;background:transparent;border-radius:2px}.window-dot.close{width:12px;height:12px;background:linear-gradient(45deg,transparent 44%,#8999af 45% 55%,transparent 56%),linear-gradient(-45deg,transparent 44%,#8999af 45% 55%,transparent 56%)}
.sidebar{width:var(--side-w);top:var(--top-h);padding:19px 15px calc(var(--footer-h) + 16px);background:linear-gradient(180deg,rgba(4,16,34,.98),rgba(3,13,29,.97));border-right:1px solid var(--dtj-line)}
.dashboard-home{width:100%;height:47px;border-radius:10px;padding:0 15px;display:flex;align-items:center;gap:13px;color:#fff;background:linear-gradient(100deg,rgba(23,129,199,.30),rgba(65,70,192,.35));border:1px solid #1b9fe4;box-shadow:inset 3px 0 0 #49ccff,0 8px 24px rgba(25,89,178,.16);cursor:pointer;text-align:left}.dashboard-home b{font-size:13px}.home-icon{width:25px;height:25px;background:transparent!important;border:0!important;font-size:22px;color:#fff}
.sidebar-label{margin:25px 6px 12px;font-size:10px;letter-spacing:.16em;color:#71819b;font-weight:900}
.tool-nav{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;border:0;border-radius:0;background:none;backdrop-filter:none;flex-wrap:nowrap}
.tool-nav-btn,.tool-nav-btn.pdf-nav{flex:none;min-width:0;width:100%;min-height:58px;border:1px solid transparent;border-radius:12px;padding:8px;display:grid;grid-template-columns:39px minmax(0,1fr) 13px;align-items:center;gap:10px;text-align:left;background:transparent;color:#d8e0ed;box-shadow:none}
.tool-nav-btn:hover,.tool-nav-btn.pdf-nav:hover{transform:translateX(2px);background:rgba(54,88,143,.11);border-color:rgba(100,143,211,.12);box-shadow:none;color:#fff}.tool-nav-btn.active,.tool-nav-btn.pdf-nav.active{color:#fff;background:rgba(41,91,157,.13);border-color:rgba(70,153,231,.20);box-shadow:none}
.tool-nav-btn>span:nth-child(2){min-width:0}.tool-nav-btn b{display:block;font-size:12px;line-height:1.18;white-space:nowrap}.tool-nav-btn small{display:block;margin-top:4px;font-size:9.5px;color:#7f90aa;white-space:nowrap}.tool-nav-btn>i{font-style:normal;font-size:22px;color:#8494aa}
.side-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:18px;font-weight:900;color:#a8eaff;border:1px solid rgba(76,184,234,.15);background:linear-gradient(145deg,rgba(28,125,174,.38),rgba(17,61,104,.42));box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}.side-icon.violet{color:#d5b7ff;background:linear-gradient(145deg,rgba(124,61,190,.52),rgba(55,36,110,.52))}.side-icon.pink{color:#ffb3e9;background:linear-gradient(145deg,rgba(187,49,145,.50),rgba(88,28,92,.47))}.side-icon.red{color:#ffacc2;background:linear-gradient(145deg,rgba(184,37,87,.54),rgba(91,23,62,.48))}.side-icon.green{color:#a7f5bf;background:linear-gradient(145deg,rgba(33,151,71,.48),rgba(22,81,57,.48))}.side-icon.orange{color:#ffc299;background:linear-gradient(145deg,rgba(189,89,34,.54),rgba(95,46,30,.48))}
.sidebar-spacer{flex:1;min-height:25px}.local-card{padding:14px 13px}.local-card .shield{font-size:31px;color:#27e0ae}.local-card b{font-size:10.5px}.local-card small{font-size:8.5px}.theme-card{margin-top:11px;padding:9px 11px;border-radius:13px;display:flex;align-items:center;justify-content:space-between;background:rgba(9,27,50,.62);border:1px solid rgba(103,145,211,.11);font-size:10px;font-weight:800}.theme-switch{display:flex;gap:3px;padding:3px;border-radius:10px;background:rgba(0,0,0,.23)}.theme-switch button{width:31px;height:26px;border:0;border-radius:8px;background:transparent;color:#7889a2;cursor:pointer}.theme-switch button.active{color:#fff;background:linear-gradient(135deg,#2b72ff,#7440f8);box-shadow:0 4px 13px rgba(73,75,255,.36)}
.hero{min-height:207px;margin:0 0 15px;padding:25px 36px;border-radius:25px;background:linear-gradient(112deg,rgba(10,40,76,.96),rgba(19,35,78,.93) 57%,rgba(54,20,91,.94));border:1px solid rgba(103,145,225,.22);position:relative;overflow:hidden}.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 8%,rgba(48,150,255,.13),transparent 31%),linear-gradient(105deg,transparent 62%,rgba(121,46,235,.12));pointer-events:none}.hero-copy{position:relative;z-index:3;max-width:770px}.hero h2{font-size:clamp(27px,2.6vw,39px);line-height:1.14;margin:8px 0;color:#f6f8ff;letter-spacing:-.025em}.hero h2 strong{font-weight:850;background:linear-gradient(90deg,#30c9ff,#6f83ff 45%,#b44cff 95%);-webkit-background-clip:text;background-clip:text;color:transparent}.hero p{font-size:12px}.trust-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.trust-pills span{height:34px;padding:0 13px;border-radius:11px;display:flex;align-items:center;gap:8px;color:#74eac2;font-size:11px;background:rgba(19,41,75,.78);border:1px solid rgba(113,151,215,.13)}.trust-pills span:nth-child(2){color:#7fcfff}.trust-pills span:nth-child(3){color:#dda3ff}.trust-pills span:nth-child(4){color:#ffd36c}.trust-pills b{color:#c8d2e4;font-size:10.5px}
.hero-art{position:relative;width:340px;height:180px;flex:0 0 340px;z-index:2;perspective:700px}.hero-art::before{content:"";position:absolute;width:210px;height:135px;right:27px;top:20px;border-radius:50%;background:radial-gradient(circle,rgba(80,126,255,.30),rgba(96,46,222,.13) 52%,transparent 74%);filter:blur(9px);animation:artPulse 4.5s ease-in-out infinite alternate}@keyframes artPulse{to{transform:scale(1.12);filter:blur(14px)}}
.stack-card{position:absolute;width:142px;height:112px;border-radius:18px;right:56px;top:43px;border:1px solid rgba(174,153,255,.44);background:linear-gradient(145deg,rgba(55,120,255,.90),rgba(108,56,242,.87));box-shadow:0 18px 45px rgba(54,44,216,.30),inset 0 1px 1px rgba(255,255,255,.40)}.stack-card.back{right:28px;top:24px;opacity:.58;transform:rotate(4deg) scale(.94)}.stack-card.mid{right:42px;top:34px;opacity:.76;transform:rotate(2deg) scale(.97)}.stack-card.front{overflow:hidden;background:linear-gradient(145deg,#268fff,#6542ef 62%,#923fe7)}.stack-card.front .art-sun{position:absolute;right:27px;top:27px;width:17px;height:17px;border-radius:50%;background:#56dcff;box-shadow:0 0 16px rgba(83,218,255,.64)}.stack-card.front i,.stack-card.front b{position:absolute;bottom:20px;left:20px;width:67px;height:46px;background:linear-gradient(145deg,#67e0ff,#4a8cff);clip-path:polygon(0 100%,36% 36%,58% 65%,76% 42%,100% 100%)}.stack-card.front b{left:55px;width:62px;height:42px;opacity:.67;background:linear-gradient(145deg,#ba7cff,#6d65ff)}
.orbit{position:absolute;right:1px;top:34px;width:300px;height:123px;border:1px solid rgba(71,111,255,.28);border-radius:50%;transform:rotate(-9deg)}.orbit.o2{width:340px;height:146px;right:-15px;top:21px;border-color:rgba(143,73,255,.21);transform:rotate(5deg)}.spark{position:absolute;color:#63d5ff;text-shadow:0 0 13px currentColor;animation:sparkFloat 3s ease-in-out infinite}.spark.s1{right:11px;top:54px}.spark.s2{right:274px;top:30px;font-size:10px}.spark.s3{right:1px;bottom:31px;color:#9f63ff;font-size:9px}@keyframes sparkFloat{50%{transform:translateY(-6px) scale(1.18)}}
.dashboard-tool-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:15px}.dashboard-tool-card{min-width:0;min-height:195px;padding:20px 12px 14px;border-radius:17px;position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;color:#eef3fc;background:linear-gradient(145deg,rgba(10,27,50,.94),rgba(8,21,40,.90));border:1px solid rgba(112,149,210,.16);box-shadow:0 13px 34px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.03);cursor:pointer;transition:.25s ease}.dashboard-tool-card:hover{transform:translateY(-4px);border-color:rgba(79,175,255,.37)}.dashboard-tool-card.active{border-color:#2bb7ff;box-shadow:0 0 0 1px rgba(98,68,255,.72),0 15px 42px rgba(53,80,216,.21);background:linear-gradient(145deg,rgba(16,39,77,.98),rgba(21,25,61,.94))}.popular{position:absolute;right:8px;top:8px;padding:5px 9px;border-radius:999px;background:linear-gradient(135deg,#2ec8ff,#5f63f5);font-size:8px;font-weight:850}.tool-icon{width:63px;height:63px;border-radius:18px;margin:1px 0 13px;display:grid;place-items:center;font-size:25px;font-weight:900;color:#8de8ff;background:linear-gradient(145deg,rgba(31,134,200,.44),rgba(21,57,119,.54));border:1px solid rgba(65,193,255,.17);box-shadow:0 12px 25px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.10)}.tool-icon.violet{color:#cab3ff;background:linear-gradient(145deg,rgba(102,70,211,.56),rgba(48,42,121,.56))}.tool-icon.magenta{color:#ffc4f5;background:linear-gradient(145deg,rgba(169,43,175,.55),rgba(80,29,105,.56))}.tool-icon.red{color:#ff9fbc;background:linear-gradient(145deg,rgba(185,38,91,.60),rgba(89,30,72,.55));font-size:18px}.tool-icon.green{color:#b0f6c0;background:linear-gradient(145deg,rgba(32,155,72,.54),rgba(26,83,57,.55))}.tool-icon.orange{color:#ffc199;background:linear-gradient(145deg,rgba(194,82,41,.57),rgba(91,48,36,.55))}.dashboard-tool-card>b{font-size:15px;line-height:1.28;margin-bottom:9px}.dashboard-tool-card small{font-size:9.5px;line-height:1.58;color:#8999b0}
.tabs{margin:0 0 11px;display:flex;gap:8px}.tab{padding:10px 15px;border-radius:10px;font-size:11px;border:1px solid rgba(112,149,210,.16);background:rgba(10,28,52,.76);color:#b8c5d8;box-shadow:none}.tab.active{color:#fff;background:linear-gradient(135deg,#1d91e7,#6946ef);box-shadow:0 8px 21px rgba(55,88,223,.23)}
.or-view-photo #studioPage .tabs,.or-view-signature #studioPage .tabs{margin-bottom:12px}.or-view-photo #studioPage .tab,.or-view-signature #studioPage .tab{pointer-events:none;font-size:13px;font-weight:800;padding:12px 18px}
.workspace{grid-template-columns:minmax(335px,355px) minmax(0,1fr);gap:10px}.panel,.preview-card,.before-after-card,.tool-intro{background:linear-gradient(145deg,rgba(9,25,47,.96),rgba(7,20,39,.93));border-color:rgba(111,148,210,.16);box-shadow:0 15px 38px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.028)}.panel{padding:16px;border-radius:16px}.panel:hover,.preview-card:hover{transform:none}.step{gap:10px;margin:0 0 10px}.step span{width:24px;height:24px;border-radius:7px;font-size:11px;color:#fff}.step h3{font-size:11.5px}.step p{font-size:8.5px;margin-top:2px}.drop{min-height:101px;margin-bottom:14px;border-radius:12px}.drop::before{content:"☁";font-size:29px;color:#a9bdd8;line-height:1}.drop strong{font-size:11px}.drop small{font-size:9px}.preset-grid{gap:6px;margin-bottom:10px}.preset-grid button{padding:9px 5px;border-radius:9px;font-size:10px}.grid2{gap:7px}.field{gap:5px;margin-bottom:7px;font-size:9.5px}.field input,.field select{padding:9px;border-radius:9px;font-size:10px}.target-field{padding:10px;border-radius:11px}.target-field small{font-size:8px}.dimension-summary{padding:8px 10px;border-radius:9px;font-size:9px}.check{font-size:9.5px;margin:2px 0 9px}.signature-box{border-radius:11px;padding:9px}.primary,.download{padding:12px;border-radius:10px;font-size:11px}.message{font-size:9.5px;min-height:19px}
.comparison-area{grid-template-columns:minmax(0,1fr) 96px minmax(0,1.32fr);gap:10px}.preview-card{padding:13px;border-radius:16px}.card-title{margin-bottom:9px}.card-kicker{font-size:8px}.card-title h3{font-size:10.5px}.card-badge{font-size:8px;padding:5px 8px}.comparison-area .preview-box{height:159px!important;min-height:159px!important;border-radius:11px;background:linear-gradient(135deg,rgba(15,31,54,.92),rgba(12,25,45,.93));position:relative}.final-card .preview-box{background:linear-gradient(135deg,rgba(13,49,46,.67),rgba(8,36,33,.72))}.preview-box::before{content:"";position:absolute;inset:0;opacity:.16;background-image:linear-gradient(135deg,rgba(255,255,255,.07) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.07) 50%,rgba(255,255,255,.07) 75%,transparent 75%,transparent);background-size:22px 22px}.preview-box img{position:relative;z-index:2}.empty-preview{position:relative;z-index:1;font-size:9px}.details-grid{gap:6px;margin-top:8px}.details-grid>div{padding:8px;border-radius:8px}.details-grid span{font-size:7.5px}.details-grid b{font-size:9px;margin-top:4px}.before-after-card{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:10px 5px;border-radius:13px}.before-after-card>div:not(.arrow){padding:7px 2px}.before-after-card span{font-size:7px}.before-after-card b{font-size:9px}.before-after-card .arrow{font-size:20px}.ready-note{padding:9px;margin:9px 0 7px;border-radius:10px;font-size:9px}.ready-note>span{width:26px;height:26px;font-size:14px}.ready-note small{font-size:8px}
.tool-intro{padding:19px 22px;margin-bottom:11px;border-radius:17px}.tool-intro h2{font-size:clamp(22px,2.5vw,32px)}.tool-intro p{font-size:10px}.mini-badge{padding:10px 14px;font-size:10px}.dual-layout{grid-template-columns:minmax(310px,355px) 1fr;gap:10px}.compact-controls{position:static}.converter-comparison{grid-template-columns:repeat(2,minmax(0,1fr))}.converter-comparison .preview-box{height:245px!important}.format-cards{gap:6px}.format-cards button{padding:10px 6px;font-size:10px;border-radius:9px}.format-cards button small{font-size:7px}.pdf-result-card{min-height:390px}.pdf-file-visual{height:170px;border-radius:13px}.vertical-summary{grid-template-columns:repeat(5,1fr)}
footer{height:var(--footer-h);left:var(--side-w);padding:0 20px;font-size:9.5px}.footer-youtube{color:#45c7f7;font-weight:800}.footer-right{margin-left:auto;display:flex;align-items:center;gap:9px}.footer-right i{font-style:normal;opacity:.28}.footer-shield{color:#27dca9!important;font-size:18px}
.water-glow{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;filter:blur(24px);opacity:.30}.water-glow i{position:absolute;display:block;mix-blend-mode:screen}.water-one{width:620px;height:260px;left:11%;top:19%;border-radius:45% 55% 64% 36%/44% 38% 62% 56%;background:linear-gradient(110deg,rgba(0,212,255,.50),rgba(39,77,255,.42),rgba(140,41,255,.35));animation:waterMove1 18s ease-in-out infinite alternate}.water-two{width:470px;height:430px;right:-8%;top:27%;border-radius:57% 43% 38% 62%/53% 62% 38% 47%;background:linear-gradient(140deg,rgba(98,44,255,.45),rgba(222,48,223,.34));animation:waterMove2 23s ease-in-out infinite alternate}.water-three{width:710px;height:250px;left:25%;bottom:-12%;border-radius:40% 60% 55% 45%/56% 44% 56% 44%;background:linear-gradient(120deg,rgba(6,187,207,.38),rgba(45,87,255,.38),rgba(127,43,239,.38));animation:waterMove3 20s ease-in-out infinite alternate}.water-wave{width:120%;height:140px;left:-10%;top:51%;opacity:.25;background:linear-gradient(180deg,transparent,rgba(53,126,255,.34),transparent);border-radius:50%;animation:waterWave 11s ease-in-out infinite}@keyframes waterMove1{0%{transform:translate3d(-30px,-16px,0) rotate(-7deg) scale(.94)}100%{transform:translate3d(35px,54px,0) rotate(5deg) scale(1.07);border-radius:62% 38% 34% 66%/55% 62% 38% 45%}}@keyframes waterMove2{0%{transform:translate3d(25px,-30px,0) rotate(5deg) scale(.94)}100%{transform:translate3d(-58px,58px,0) rotate(-9deg) scale(1.11)}}@keyframes waterMove3{0%{transform:translate3d(-55px,5px,0) rotate(-3deg)}100%{transform:translate3d(76px,-45px,0) rotate(7deg) scale(1.08)}}@keyframes waterWave{0%,100%{transform:translateY(-12px) rotate(-2deg) scaleX(.93)}50%{transform:translateY(24px) rotate(2deg) scaleX(1.05)}}
html[data-theme="light"] .brand h1{color:#17233a}html[data-theme="light"] .brand p{color:#687891}html[data-theme="light"] .sidebar{background:linear-gradient(180deg,rgba(248,251,255,.97),rgba(237,245,255,.96))}html[data-theme="light"] .tool-nav-btn{color:#344761}html[data-theme="light"] .tool-nav-btn small{color:#73839a}html[data-theme="light"] .local-card,html[data-theme="light"] .theme-card{background:rgba(222,235,252,.76);color:#1c2c43}html[data-theme="light"] .local-card b{color:#1d2c44}html[data-theme="light"] .dashboard-tool-card{color:#17233a;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(242,247,255,.91));border-color:rgba(61,89,137,.15)}html[data-theme="light"] .dashboard-tool-card.active{background:linear-gradient(145deg,#f8fbff,#eef1ff)}html[data-theme="light"] .dashboard-tool-card small{color:#687992}html[data-theme="light"] .icon-btn .sun-icon{display:inline}html[data-theme="light"] .icon-btn .moon-icon{display:none}html[data-theme="light"] .water-glow{opacity:.18;mix-blend-mode:multiply}
@media(max-width:1390px){:root{--side-w:240px}.shell{padding-left:calc(var(--side-w) + 18px);padding-right:16px}.dashboard-tool-card{min-height:182px}.dashboard-tool-card>b{font-size:13px}.hero-art{width:290px;flex-basis:290px}.workspace{grid-template-columns:330px minmax(0,1fr)}.comparison-area{grid-template-columns:minmax(0,1fr) 82px minmax(0,1.15fr)}}
@media(max-width:1120px){.dashboard-tool-grid{grid-template-columns:repeat(3,1fr)}.dashboard-tool-card{min-height:170px}.hero-art{display:none}.workspace,.dual-layout{grid-template-columns:1fr}.comparison-area{grid-template-columns:1fr 86px 1fr}.converter-comparison{grid-template-columns:1fr 1fr}}
@media(max-width:850px){:root{--side-w:0px;--top-h:72px}.shell{padding:calc(var(--top-h) + 12px) 10px calc(var(--footer-h) + 16px)}.topbar{padding:0 13px}.sidebar{position:relative;top:auto;left:auto;bottom:auto;width:auto;padding:12px;margin-bottom:12px;border:1px solid var(--dtj-line);border-radius:16px}.dashboard-home,.sidebar-label,.sidebar-spacer,.local-card,.theme-card{display:none}.tool-nav{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.tool-nav-btn,.tool-nav-btn.pdf-nav{min-height:52px;grid-template-columns:33px minmax(0,1fr);padding:7px}.tool-nav-btn>i,.tool-nav-btn small{display:none}.side-icon{width:32px;height:32px}.hero{min-height:185px;padding:23px}.dashboard-tool-grid{grid-template-columns:repeat(3,1fr)}footer{left:0}.window-dot,.top-divider,.settings-btn{display:none}.comparison-area{grid-template-columns:1fr}.before-after-card{display:grid;grid-template-columns:repeat(5,1fr);align-items:center}.converter-comparison{grid-template-columns:1fr}}
@media(max-width:570px){.brand p span,.brand p em{display:none}.brand h1{font-size:15px}.logo{width:39px;height:39px}.status{padding:8px 10px}.status span{display:none}.tool-nav{grid-template-columns:repeat(2,1fr)}.hero{padding:20px 17px}.hero h2{font-size:23px}.trust-pills span:nth-child(3),.trust-pills span:nth-child(4){display:none}.dashboard-tool-grid{grid-template-columns:repeat(2,1fr)}.dashboard-tool-card{min-height:160px}.workspace{grid-template-columns:1fr}.before-after-card{grid-template-columns:1fr 25px 1fr}.before-after-card>div:nth-child(4),.before-after-card>div:nth-child(5){display:none}.details-grid{grid-template-columns:1fr 1fr}.footer-right{display:none}footer{justify-content:center}.tabs .tab{flex:1}}

/* v2.6.2 — complete light theme, clearer font, button effects and full-photo preview.
   UI-only update: image/PDF processing JavaScript is intentionally untouched. */
:root{
  --ui-font:"Segoe UI Variable Text","Nirmala UI","Segoe UI","Mangal",Arial,sans-serif;
  --ease-premium:cubic-bezier(.2,.78,.25,1);
}
html{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
body,button,input,select,textarea{
  font-family:var(--ui-font)!important;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body{font-weight:500;letter-spacing:.002em}
h1,h2,h3,b,strong{font-weight:750}

/* Make every control feel interactive without touching its click logic. */
button{
  -webkit-tap-highlight-color:transparent;
  transform-origin:center;
}
.dashboard-home,.tool-nav-btn,.dashboard-tool-card,.tab,.preset-grid button,
.format-cards button,.primary,.download,.page-output button,.icon-btn,
.theme-switch button,.sidebar-theme button{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition:transform .22s var(--ease-premium),box-shadow .25s var(--ease-premium),
             border-color .22s ease,background .28s ease,color .22s ease,filter .22s ease!important;
}
.dashboard-home::after,.tool-nav-btn::after,.dashboard-tool-card::after,.tab::after,
.preset-grid button::after,.format-cards button::after,.primary::after,.download::after,
.page-output button::after,.icon-btn::after,.theme-switch button::after,.sidebar-theme button::after{
  content:"";
  position:absolute;
  z-index:-1;
  top:-45%;
  left:-70%;
  width:45%;
  height:190%;
  pointer-events:none;
  opacity:0;
  transform:skewX(-22deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.44),transparent);
  transition:left .55s ease,opacity .2s ease;
}
.dashboard-home:hover::after,.tool-nav-btn:hover::after,.dashboard-tool-card:hover::after,
.tab:hover::after,.preset-grid button:hover::after,.format-cards button:hover::after,
.primary:hover::after,.download:not(:disabled):hover::after,.page-output button:hover::after,
.icon-btn:hover::after,.theme-switch button:hover::after,.sidebar-theme button:hover::after{
  left:130%;opacity:.85;
}
.dashboard-home:hover,.dashboard-tool-card:hover,.tab:hover,.preset-grid button:hover,
.format-cards button:hover,.primary:hover,.download:not(:disabled):hover,.page-output button:hover{
  transform:translateY(-3px)!important;
  filter:saturate(1.08) brightness(1.04);
}
.tool-nav-btn:hover{transform:translateX(4px)!important}
.icon-btn:hover,.theme-switch button:hover,.sidebar-theme button:hover{transform:translateY(-2px) scale(1.04)!important}
button:active:not(:disabled){transform:translateY(0) scale(.975)!important;transition-duration:.08s!important}
button:focus-visible{outline:3px solid rgba(57,184,255,.34);outline-offset:2px}
.download:disabled,.primary:disabled{filter:grayscale(.18);box-shadow:none!important}

/* Clearer typography in both themes. */
.brand h1{font-size:20px!important;letter-spacing:.005em}
.brand p{font-size:11px!important;line-height:1.35}
.dashboard-home b{font-size:13.5px!important}
.tool-nav-btn b{font-size:12.5px!important}
.tool-nav-btn small{font-size:10px!important;line-height:1.35}
.dashboard-tool-card>b{font-size:15px!important;line-height:1.32}
.dashboard-tool-card small{font-size:10.5px!important;line-height:1.48}
.step h3{font-size:12.5px!important}.step p{font-size:9.8px!important;line-height:1.35}
.field{font-size:10.5px!important}.field input,.field select{font-size:11px!important;font-weight:600}
.drop strong{font-size:12px!important}.drop small{font-size:10px!important}
.preset-grid button,.tab,.primary,.download{font-size:11.5px!important}
.card-title h3{font-size:12px!important}.card-kicker{font-size:8.5px!important}
.card-badge{font-size:9px!important}.details-grid span{font-size:9px!important}.details-grid b{font-size:10.5px!important}
.before-after-card span{font-size:8px!important}.before-after-card b{font-size:10px!important}
.empty-preview{font-size:10.5px!important;font-weight:650}
.tool-intro p{font-size:11px!important;line-height:1.55}
.format-cards button{font-size:11px!important}.format-cards button small{font-size:8.5px!important}

/* Always show the entire uploaded/output photo: no visual crop, zoom or stretch. */
.comparison-area .preview-box{
  height:230px!important;
  min-height:230px!important;
  overflow:hidden!important;
  padding:8px!important;
}
.converter-comparison .preview-box{height:275px!important;min-height:240px!important}
.preview-box img,
.comparison-area .preview-box img,
.preview-box img.show{
  position:relative!important;
  z-index:2!important;
  display:none;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:100%!important;
  padding:0!important;
  margin:auto!important;
  object-fit:contain!important;
  object-position:50% 50%!important;
  transform:none!important;
  filter:none!important;
  image-rendering:auto;
}
.preview-box img.show{display:block!important}
.preview-box:hover img.show{transform:none!important;filter:none!important}
.page-output img{object-fit:contain!important;object-position:center!important}

/* Complete high-contrast Light Mode — every major surface and label changes. */
html[data-theme="light"]{
  --text:#13213a;
  --muted:#52647e;
  --line:rgba(40,69,112,.19);
  --a:#087bc1;
  --b:#6846d8;
  --ok:#087f5b;
  --warn:#9a6200;
  --dtj-text:#13213a;
  --dtj-muted:#52647e;
  --dtj-line:rgba(40,69,112,.18);
}
html[data-theme="light"] body{
  color:#13213a!important;
  background:#edf4ff!important;
}
html[data-theme="light"] body::before{
  background:
    radial-gradient(circle at 14% 5%,rgba(52,173,255,.22),transparent 30%),
    radial-gradient(circle at 88% 12%,rgba(139,92,246,.16),transparent 31%),
    linear-gradient(142deg,#f9fcff 0%,#edf5ff 48%,#f8f4ff 100%)!important;
}
html[data-theme="light"] .water-glow{opacity:.14!important;mix-blend-mode:multiply!important;filter:blur(34px)}
html[data-theme="light"] .topbar{
  background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(246,250,255,.96))!important;
  color:#13213a!important;
  border-bottom-color:rgba(49,78,123,.16)!important;
  box-shadow:0 10px 32px rgba(42,72,116,.10)!important;
}
html[data-theme="light"] .brand h1{color:#101d34!important}
html[data-theme="light"] .brand p{color:#5d6f89!important}
html[data-theme="light"] .brand p b{color:#7147da!important}
html[data-theme="light"] .brand p em,html[data-theme="light"] .yt-mini{color:#087fc2!important}
html[data-theme="light"] .status{background:#e6faf4!important;border-color:#9de4cf!important;color:#087a59!important}
html[data-theme="light"] .status i{background:#17b886!important;color:#fff!important}
html[data-theme="light"] .icon-btn{color:#526580!important}
html[data-theme="light"] .icon-btn:hover{color:#172a49!important;background:#e7effd!important;border-color:#c6d7f0!important}
html[data-theme="light"] .window-dot{background:#70819a!important}
html[data-theme="light"] .window-dot.square{background:transparent!important;border-color:#70819a!important}
html[data-theme="light"] .window-dot.close{background:linear-gradient(45deg,transparent 44%,#70819a 45% 55%,transparent 56%),linear-gradient(-45deg,transparent 44%,#70819a 45% 55%,transparent 56%)!important}

html[data-theme="light"] .sidebar{
  color:#17263f!important;
  background:linear-gradient(180deg,rgba(250,253,255,.99),rgba(237,245,255,.98))!important;
  border-right-color:#d5e1f2!important;
  box-shadow:10px 0 32px rgba(55,85,126,.07)!important;
}
html[data-theme="light"] .sidebar-label{color:#63748d!important}
html[data-theme="light"] .dashboard-home{
  color:#103052!important;
  background:linear-gradient(105deg,#dff4ff,#e9e7ff)!important;
  border-color:#4abcf4!important;
  box-shadow:inset 3px 0 0 #1ea7ec,0 8px 20px rgba(61,116,190,.12)!important;
}
html[data-theme="light"] .home-icon{color:#14517d!important}
html[data-theme="light"] .tool-nav-btn,html[data-theme="light"] .tool-nav-btn.pdf-nav{color:#263a58!important}
html[data-theme="light"] .tool-nav-btn small{color:#687b95!important}
html[data-theme="light"] .tool-nav-btn>i{color:#71839c!important}
html[data-theme="light"] .tool-nav-btn:hover,html[data-theme="light"] .tool-nav-btn.pdf-nav:hover{
  color:#132944!important;background:#eaf3ff!important;border-color:#c8daf1!important;
}
html[data-theme="light"] .tool-nav-btn.active,html[data-theme="light"] .tool-nav-btn.pdf-nav.active{
  color:#102b4c!important;background:linear-gradient(105deg,#dff3ff,#eceaff)!important;
  border-color:#75bdeb!important;box-shadow:inset 3px 0 0 #239fe7!important;
}
html[data-theme="light"] .local-card,html[data-theme="light"] .theme-card,html[data-theme="light"] .sidebar-theme{
  color:#1a2c47!important;background:#e6f0fd!important;border-color:#cbdbee!important;
}
html[data-theme="light"] .local-card b{color:#142641!important}
html[data-theme="light"] .local-card small{color:#62748e!important}
html[data-theme="light"] .theme-switch{background:#d5e2f5!important}
html[data-theme="light"] .theme-switch button,html[data-theme="light"] .sidebar-theme button{color:#536781!important}
html[data-theme="light"] .theme-switch button.active,html[data-theme="light"] .sidebar-theme button.active{color:#fff!important}

html[data-theme="light"] .hero{
  background:linear-gradient(112deg,#e6f4ff 0%,#e9efff 57%,#f1e9ff 100%)!important;
  border-color:#c5d8f2!important;
  box-shadow:0 18px 44px rgba(50,82,126,.12),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] .hero::before{background:radial-gradient(circle at 15% 8%,rgba(27,151,235,.16),transparent 31%),linear-gradient(105deg,transparent 62%,rgba(123,70,224,.10))!important}
html[data-theme="light"] .hero::after{opacity:.34}
html[data-theme="light"] .hero h2{color:#10213e!important;text-shadow:none!important}
html[data-theme="light"] .hero h2::first-line{color:#10213e!important}
html[data-theme="light"] .hero h2 strong{background:linear-gradient(90deg,#0588c9,#466bd8 46%,#8a3ed2 94%);-webkit-background-clip:text;background-clip:text;color:transparent!important}
html[data-theme="light"] .hero p{color:#556a86!important}
html[data-theme="light"] .eyebrow{color:#087dbb!important}
html[data-theme="light"] .trust-pills span{
  background:rgba(255,255,255,.68)!important;border-color:#cbdaf0!important;color:#087b59!important;
  box-shadow:0 6px 15px rgba(55,86,128,.06)!important;
}
html[data-theme="light"] .trust-pills span:nth-child(2){color:#087bb8!important}
html[data-theme="light"] .trust-pills span:nth-child(3){color:#7640bd!important}
html[data-theme="light"] .trust-pills span:nth-child(4){color:#966000!important}
html[data-theme="light"] .trust-pills b{color:#30435f!important}
html[data-theme="light"] .orbit{border-color:rgba(76,103,221,.25)!important}

html[data-theme="light"] .dashboard-tool-card{
  color:#17263f!important;
  background:linear-gradient(145deg,#fff,#f4f8fe)!important;
  border-color:#d0dceb!important;
  box-shadow:0 12px 28px rgba(52,78,116,.11),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] .dashboard-tool-card:hover{border-color:#7dbce9!important;box-shadow:0 17px 34px rgba(47,90,145,.16),0 0 0 1px rgba(58,157,223,.12)!important}
html[data-theme="light"] .dashboard-tool-card.active{
  background:linear-gradient(145deg,#eef8ff,#f2efff)!important;
  border-color:#3f9edf!important;box-shadow:0 0 0 1px rgba(105,72,219,.32),0 14px 34px rgba(61,89,173,.15)!important;
}
html[data-theme="light"] .dashboard-tool-card small{color:#5d708b!important}

html[data-theme="light"] .panel,html[data-theme="light"] .preview-card,
html[data-theme="light"] .before-after-card,html[data-theme="light"] .tool-intro{
  color:#162640!important;
  background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,248,254,.96))!important;
  border-color:#d2deed!important;
  box-shadow:0 13px 34px rgba(50,78,116,.10),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] .panel:hover,html[data-theme="light"] .preview-card:hover{border-color:#9bc7e8!important}
html[data-theme="light"] .tool-intro.converter-intro{background:linear-gradient(135deg,#e6f5ff,#f0ebff)!important}
html[data-theme="light"] .tool-intro.compressor-intro{background:linear-gradient(135deg,#e8fbf5,#edf1ff)!important}
html[data-theme="light"] .tool-intro.pdf-intro{background:linear-gradient(135deg,#fff0f2,#f8edff)!important;border-color:#efc8d3!important}
html[data-theme="light"] .tool-intro h2,html[data-theme="light"] .card-title h3,html[data-theme="light"] .step h3{color:#13213a!important}
html[data-theme="light"] .tool-intro p,html[data-theme="light"] .step p,html[data-theme="light"] .muted{color:#5c708b!important;opacity:1!important}
html[data-theme="light"] .mini-badge{background:#e5f8f1!important;border-color:#a9dfcc!important;color:#08795a!important}
html[data-theme="light"] .pdf-badge{background:#fff!important;color:#9a3152!important;border-color:#ecc1ce!important}

html[data-theme="light"] .tab{
  color:#3e526f!important;background:#f4f7fc!important;border-color:#d1deed!important;
}
html[data-theme="light"] .tab:hover{color:#173d67!important;background:#e8f3ff!important;border-color:#94c5e7!important}
html[data-theme="light"] .tab.active{color:#fff!important;background:linear-gradient(135deg,#168bd1,#6b4be0)!important;border-color:transparent!important}
html[data-theme="light"] .drop{
  color:#243854!important;background:#f0f6fd!important;border-color:#8bbfe0!important;
}
html[data-theme="light"] .drop:hover{background:#e9f4ff!important;border-color:#3da8e6!important;box-shadow:0 9px 24px rgba(55,111,170,.11)!important}
html[data-theme="light"] .drop::before{color:#5e91bd!important}
html[data-theme="light"] .drop small{color:#60738e!important}
html[data-theme="light"] .field,html[data-theme="light"] .check{color:#334963!important}
html[data-theme="light"] .field input,html[data-theme="light"] .field select{
  color:#14243e!important;background:#fff!important;border-color:#cad8e9!important;box-shadow:inset 0 1px 2px rgba(38,66,104,.04)!important;
}
html[data-theme="light"] .field input::placeholder{color:#8291a6!important}
html[data-theme="light"] .field input:focus,html[data-theme="light"] .field select:focus{border-color:#3d9ed7!important;box-shadow:0 0 0 3px rgba(31,145,207,.12)!important}
html[data-theme="light"] .target-field,html[data-theme="light"] .signature-box,html[data-theme="light"] .dimension-summary{
  color:#23405e!important;background:linear-gradient(135deg,#edf6ff,#f1efff)!important;border-color:#bcd6ed!important;
}
html[data-theme="light"] .target-field small{color:#607791!important}
html[data-theme="light"] .preset-grid button,html[data-theme="light"] .format-cards button{
  color:#253b58!important;background:#f6f8fc!important;border-color:#cdd9e8!important;
}
html[data-theme="light"] .preset-grid button:hover,html[data-theme="light"] .preset-grid button.active,
html[data-theme="light"] .format-cards button:hover,html[data-theme="light"] .format-cards button.active{
  color:#123b62!important;background:#e5f4ff!important;border-color:#53aee4!important;box-shadow:0 9px 22px rgba(46,115,172,.13)!important;
}
html[data-theme="light"] .format-cards button small{color:#657a95!important}
html[data-theme="light"] .primary{color:#fff!important;background:linear-gradient(135deg,#178ed4,#704ce4)!important;box-shadow:0 10px 24px rgba(65,91,203,.20)!important}
html[data-theme="light"] .download{color:#092f35!important;background:linear-gradient(135deg,#4ce0af,#5fcff4)!important;box-shadow:0 10px 24px rgba(38,177,158,.17)!important}
html[data-theme="light"] .pdf-primary{color:#fff!important;background:linear-gradient(135deg,#e94a59,#ef7b42)!important}

html[data-theme="light"] .preview-box,html[data-theme="light"] .final-card .preview-box{
  background:linear-gradient(135deg,#eaf1f9,#f7f9fd)!important;border-color:#cad8e8!important;
}
html[data-theme="light"] .preview-box::before{opacity:.34!important;background-image:linear-gradient(135deg,rgba(72,101,143,.08) 25%,transparent 25%,transparent 50%,rgba(72,101,143,.08) 50%,rgba(72,101,143,.08) 75%,transparent 75%,transparent)!important}
html[data-theme="light"] .empty-preview{color:#61738b!important}
html[data-theme="light"] .card-kicker{color:#5b6f8b!important}
html[data-theme="light"] .card-badge.blue{color:#087bb9!important;background:#e6f6ff!important;border-color:#a9d9ef!important}
html[data-theme="light"] .card-badge.green{color:#08795a!important;background:#e7f9f2!important;border-color:#a8dfcc!important}
html[data-theme="light"] .details-grid>div{
  color:#182b47!important;background:#f5f8fc!important;border-color:#d5e0ec!important;
}
html[data-theme="light"] .details-grid span{color:#61738c!important}
html[data-theme="light"] .details-grid b{color:#182b47!important}
html[data-theme="light"] .before-after-card{background:linear-gradient(180deg,#eef8ff,#eefaf6)!important}
html[data-theme="light"] .before-after-card span{color:#62758e!important}
html[data-theme="light"] .before-after-card b{color:#1b3451!important}
html[data-theme="light"] .before-after-card .arrow{color:#078dc7!important}
html[data-theme="light"] .ready-note{color:#124c40!important;background:linear-gradient(135deg,#e3f9f0,#e9f7ff)!important;border-color:#9fdbc5!important}
html[data-theme="light"] .ready-note b{color:#087959!important}
html[data-theme="light"] .ready-note small{color:#526e83!important}

html[data-theme="light"] .pdf-file-visual,html[data-theme="light"] .pdf-list-item,
html[data-theme="light"] .page-output{color:#203653!important;background:#f7f9fd!important;border-color:#d5dfeb!important}
html[data-theme="light"] .page-output>div{color:#203653!important}
html[data-theme="light"] footer{
  color:#51637c!important;background:rgba(249,252,255,.97)!important;border-top-color:#d3deec!important;box-shadow:0 -7px 24px rgba(45,74,114,.07)!important;
}
html[data-theme="light"] footer b{color:#253b58!important}
html[data-theme="light"] .footer-youtube{color:#0786c7!important}
html[data-theme="light"] .footer-shield{color:#0a9a70!important}

/* Smooth but calm full-layout theme transition. */
body,.topbar,.sidebar,.hero,.dashboard-tool-card,.panel,.preview-card,.before-after-card,
.tool-intro,.tab,.drop,.field input,.field select,.details-grid>div,footer,.local-card,.theme-card{
  transition:background .32s ease,color .25s ease,border-color .3s ease,box-shadow .3s ease!important;
}

@media(max-width:1390px){
  .comparison-area .preview-box{height:215px!important;min-height:215px!important}
}
@media(max-width:950px){
  .comparison-area .preview-box,.converter-comparison .preview-box{height:320px!important;min-height:240px!important}
}
@media(max-width:620px){
  .comparison-area .preview-box,.converter-comparison .preview-box{height:260px!important;min-height:220px!important}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}
}
/* v2.6.2 mobile preview height kept compact while full image remains visible via object-fit:contain. */
@media(max-width:620px){
  .comparison-area .preview-box,.converter-comparison .preview-box{height:240px!important;min-height:220px!important}
}
/* Full-photo rendering correction: the image element fills the preview frame,
   while object-fit:contain keeps every edge of the actual photo visible. */
.preview-box img,
.comparison-area .preview-box img,
.preview-box img.show{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  padding:0!important;
  margin:0!important;
  transform:none!important;
}
/* Absolute contain canvas prevents intrinsic portrait dimensions from overflowing the fixed preview frame. */
.preview-box{position:relative!important}
.preview-box img,
.comparison-area .preview-box img,
.preview-box img.show{
  position:absolute!important;
  inset:8px!important;
  width:calc(100% - 16px)!important;
  height:calc(100% - 16px)!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
}
.preview-box img:not(.show){display:none!important}
.preview-box img.show{display:block!important}


/* v2.6.3 — Liquid icon, clickable-water and processing-feedback layer.
   UI only: image/PDF processing engines are intentionally untouched. */
.tool-icon,.side-icon{
  isolation:isolate;
}
.tool-icon svg,.side-icon svg{
  width:62%;height:62%;display:block;overflow:visible;
  fill:none;stroke:currentColor;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 4px 9px rgba(0,0,0,.22));
}
.side-icon svg{width:64%;height:64%;stroke-width:2.5}
.tool-icon svg .accent,.side-icon svg .accent{stroke:#fff;stroke-width:2.7}
.tool-icon svg text,.side-icon svg text{
  fill:currentColor;stroke:none;font:800 7px/1 "Segoe UI",Arial,sans-serif;letter-spacing:-.3px;
}
.dashboard-tool-card:hover .tool-icon svg{
  animation:iconFloat .9s cubic-bezier(.22,.85,.28,1) both;
}
.dashboard-tool-card:active .tool-icon svg{transform:scale(.92) rotate(-2deg)}
@keyframes iconFloat{0%{transform:translateY(0) scale(1)}45%{transform:translateY(-5px) scale(1.07)}100%{transform:translateY(0) scale(1)}}

button,.drop,.dashboard-tool-card,.tool-nav-btn,.dashboard-home{
  position:relative;overflow:hidden;isolation:isolate;
  -webkit-tap-highlight-color:transparent;
}
button>*:not(.water-ripple),.drop>*:not(.water-ripple),.dashboard-tool-card>*:not(.water-ripple){position:relative;z-index:2}
.water-ripple{
  position:absolute!important;z-index:1!important;pointer-events:none;border-radius:50%;
  transform:scale(0);opacity:.72;
  background:radial-gradient(circle,rgba(255,255,255,.85) 0%,rgba(93,221,255,.45) 22%,rgba(99,102,241,.24) 48%,transparent 72%);
  box-shadow:0 0 22px rgba(74,210,255,.32);
  animation:waterRipple .78s cubic-bezier(.12,.68,.25,1) forwards;
}
@keyframes waterRipple{0%{transform:scale(0);opacity:.72}65%{opacity:.25}100%{transform:scale(1);opacity:0}}

.dashboard-tool-card::before,.primary::before,.download::before,.preset-grid button::before,.tab::before{
  content:"";position:absolute;z-index:0;inset:-70% -35%;pointer-events:none;
  background:linear-gradient(112deg,transparent 34%,rgba(255,255,255,.06) 42%,rgba(255,255,255,.48) 49%,rgba(123,225,255,.17) 56%,transparent 66%);
  transform:translateX(-72%) rotate(3deg);transition:transform .72s cubic-bezier(.2,.75,.25,1);
}
.dashboard-tool-card:hover::before,.primary:hover::before,.download:not(:disabled):hover::before,.preset-grid button:hover::before,.tab:hover::before{
  transform:translateX(72%) rotate(3deg);
}
.dashboard-tool-card{
  cursor:pointer;transform:translateZ(0);
  transition:transform .26s cubic-bezier(.2,.8,.2,1),border-color .25s ease,box-shadow .3s ease,background .3s ease!important;
}
.dashboard-tool-card:hover{transform:translateY(-7px) scale(1.012)!important}
.dashboard-tool-card:active{transform:translateY(-2px) scale(.985)!important}
.dashboard-tool-card:focus-visible,.primary:focus-visible,.download:focus-visible,.preset-grid button:focus-visible,.tab:focus-visible,.tool-nav-btn:focus-visible{
  outline:3px solid rgba(79,211,255,.38);outline-offset:3px;
}

.primary,.download,.preset-grid button,.tab,.tool-nav-btn,.dashboard-home{
  transition:transform .16s ease,filter .2s ease,box-shadow .25s ease,border-color .25s ease!important;
}
.primary:hover,.download:not(:disabled):hover{transform:translateY(-2px);filter:saturate(1.12) brightness(1.05)}
.primary:active,.download:not(:disabled):active,.preset-grid button:active,.tab:active,.tool-nav-btn:active,.dashboard-home:active{transform:scale(.975)}

.preview-card{position:relative;overflow:hidden}
.preview-card.processing-gloss{
  border-color:rgba(79,219,255,.74)!important;
  box-shadow:0 0 0 1px rgba(79,219,255,.18),0 18px 55px rgba(43,151,255,.24),inset 0 0 35px rgba(69,196,255,.06)!important;
}
.preview-card.processing-gloss::before{
  content:"";position:absolute;z-index:7;inset:-55% -40%;pointer-events:none;
  background:
    radial-gradient(ellipse at 45% 48%,rgba(125,231,255,.28),transparent 28%),
    linear-gradient(110deg,transparent 36%,rgba(255,255,255,.12) 43%,rgba(91,224,255,.38) 50%,rgba(151,104,255,.18) 57%,transparent 65%);
  animation:processingGloss 1.45s linear infinite;
}
.preview-card.processing-gloss .preview-box{
  box-shadow:inset 0 0 30px rgba(67,214,255,.12),0 0 28px rgba(71,188,255,.12);
}
@keyframes processingGloss{from{transform:translateX(-45%) rotate(2deg)}to{transform:translateX(45%) rotate(2deg)}}

.ui-process-status{
  position:absolute;z-index:15;left:50%;top:50%;transform:translate(-50%,-50%);
  min-width:245px;display:flex;align-items:center;justify-content:center;gap:14px;
  padding:15px 18px;border-radius:20px;pointer-events:none;
  color:#f7fbff;background:linear-gradient(135deg,rgba(5,20,38,.92),rgba(19,22,56,.90));
  border:1px solid rgba(106,224,255,.46);box-shadow:0 22px 60px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.13);
  backdrop-filter:blur(15px);animation:statusPop .3s cubic-bezier(.2,.82,.27,1.2) both;
}
.ui-process-status>span:last-child{display:flex;flex-direction:column;gap:3px}
.ui-process-status b{font-size:14px;color:#fff}.ui-process-status small{font-size:11px;color:#a9bed5}
@keyframes statusPop{from{opacity:0;transform:translate(-50%,-45%) scale(.9)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.liquid-loader{
  position:relative;width:48px;height:48px;flex:0 0 48px;overflow:hidden;border-radius:50%;
  border:2px solid rgba(109,224,255,.75);background:linear-gradient(180deg,rgba(61,102,255,.17),rgba(80,229,255,.08));
  box-shadow:0 0 24px rgba(66,212,255,.34),inset 0 0 18px rgba(69,183,255,.16);
}
.liquid-loader i{position:absolute;left:-12%;width:124%;height:58%;bottom:-8%;border-radius:43% 48% 45% 42%;background:linear-gradient(135deg,#35d9ff,#6a76ff 58%,#a65cff);animation:liquidWave 1.15s linear infinite}
.liquid-loader i:nth-child(2){bottom:-2%;opacity:.48;animation-duration:1.65s;animation-direction:reverse}
.liquid-loader i:nth-child(3){bottom:-13%;opacity:.34;animation-duration:2.05s}
@keyframes liquidWave{to{transform:rotate(360deg)}}
.is-processing{cursor:wait!important;box-shadow:0 0 0 1px rgba(111,225,255,.32),0 12px 36px rgba(65,138,255,.30)!important}
.is-processing::after{
  content:"";position:absolute;z-index:1;left:-40%;top:0;width:38%;height:100%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-18deg);
  animation:buttonWorking 1.1s ease-in-out infinite;
}
@keyframes buttonWorking{to{left:115%}}

.preview-card.processing-complete{animation:completeCard 1.05s ease both;border-color:rgba(72,230,166,.86)!important}
.ui-process-status.complete{background:linear-gradient(135deg,rgba(4,57,47,.95),rgba(8,76,85,.92));border-color:rgba(82,238,176,.65)}
.complete-check{
  width:48px;height:48px;display:grid;place-items:center;border-radius:50%;font-size:27px;font-weight:900;color:#053529;
  background:linear-gradient(135deg,#5ff0b3,#7de8ff);box-shadow:0 0 28px rgba(86,239,180,.45);animation:checkPop .55s cubic-bezier(.16,.9,.34,1.35) both;
}
@keyframes checkPop{0%{transform:scale(.2) rotate(-20deg)}100%{transform:scale(1) rotate(0)}}
@keyframes completeCard{0%,100%{box-shadow:0 18px 55px rgba(54,212,158,.16)}40%{box-shadow:0 0 0 3px rgba(72,230,166,.20),0 20px 70px rgba(54,212,158,.35)}}
.process-complete{animation:completeButton .85s ease both}
@keyframes completeButton{50%{filter:brightness(1.18);box-shadow:0 0 0 5px rgba(78,230,168,.15),0 14px 34px rgba(78,230,168,.30)}}
.ui-process-status.error{background:linear-gradient(135deg,rgba(79,20,34,.94),rgba(71,30,63,.92));border-color:rgba(255,112,134,.6)}
.status-alert{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;font-size:25px;font-weight:900;color:#fff;background:linear-gradient(135deg,#ff6f81,#ff9a5d)}

html[data-theme="light"] .tool-icon svg .accent,html[data-theme="light"] .side-icon svg .accent{stroke:#fff}
html[data-theme="light"] .water-ripple{background:radial-gradient(circle,rgba(255,255,255,.95) 0%,rgba(38,187,239,.42) 26%,rgba(99,102,241,.22) 50%,transparent 72%)}
html[data-theme="light"] .preview-card.processing-gloss{
  border-color:#35aee8!important;box-shadow:0 0 0 2px rgba(53,174,232,.12),0 18px 45px rgba(37,117,190,.20),inset 0 0 30px rgba(53,174,232,.06)!important;
}
html[data-theme="light"] .ui-process-status{
  color:#17304d;background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(236,246,255,.96));
  border-color:#8bccec;box-shadow:0 20px 55px rgba(47,84,126,.24),inset 0 1px 0 #fff;
}
html[data-theme="light"] .ui-process-status b{color:#15304d}html[data-theme="light"] .ui-process-status small{color:#57718c}
html[data-theme="light"] .ui-process-status.complete{background:linear-gradient(135deg,#ecfff7,#eafbff);border-color:#76d7b5}
html[data-theme="light"] .ui-process-status.error{background:linear-gradient(135deg,#fff0f2,#fff6ed);border-color:#f3a3ae}

@media(max-width:700px){.ui-process-status{min-width:210px;padding:12px 14px}.liquid-loader,.complete-check{width:42px;height:42px;flex-basis:42px}}
@media(prefers-reduced-motion:reduce){.water-ripple,.preview-card.processing-gloss::before,.liquid-loader i,.is-processing::after{animation:none!important}.ui-process-status{animation:none!important}}

/* =========================================================
   v2.6.4 — Horizontal Preview / Output compact layout
   UI-only overrides. Processing scripts are untouched.
   ========================================================= */
.quick-process-bar{
  position:sticky;
  bottom:-1px;
  z-index:30;
  margin-top:10px;
  padding:9px 8px 5px;
  border-radius:13px;
  background:linear-gradient(180deg,rgba(7,20,39,.16),rgba(7,20,39,.98) 28%);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.quick-process-bar .primary{width:100%;margin:0;box-shadow:0 10px 28px rgba(58,88,255,.24)}
.quick-process-bar .message{margin:5px 2px 0;min-height:13px}

@media (min-width:901px){
  /* Controls, original preview and final output stay in one horizontal workspace. */
  .workspace{
    grid-template-columns:minmax(300px,330px) minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  .dual-layout{
    grid-template-columns:minmax(290px,330px) minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  .workspace>.controls,
  .dual-layout>.controls{
    max-height:545px;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-width:thin;
    scrollbar-color:rgba(87,151,255,.65) rgba(8,24,44,.35);
  }
  .workspace>.controls::-webkit-scrollbar,
  .dual-layout>.controls::-webkit-scrollbar{width:7px}
  .workspace>.controls::-webkit-scrollbar-track,
  .dual-layout>.controls::-webkit-scrollbar-track{background:rgba(8,24,44,.35);border-radius:99px}
  .workspace>.controls::-webkit-scrollbar-thumb,
  .dual-layout>.controls::-webkit-scrollbar-thumb{background:linear-gradient(#30c8ff,#7668ff);border-radius:99px}

  .comparison-area{
    min-width:0;
    grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  /* Keep Original -> size summary -> Output in the same row.  An older
     max-width rule made the summary span every grid column, which pushed the
     final preview underneath on WordPress content-width layouts. */
  .comparison-area>.before-after-card{
    grid-column:auto!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-self:stretch!important;
  }
  .converter-comparison{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .compressor-comparison{
    grid-template-columns:minmax(0,1fr) 76px minmax(0,1fr)!important;
  }
  .compressor-comparison .vertical-summary{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    min-width:0;
  }
  .comparison-area>.preview-card,
  .dual-layout>.preview-card{min-width:0;width:100%}
  .comparison-area .preview-box{height:190px!important;min-height:190px!important}
  .converter-comparison .preview-box{height:255px!important;min-height:255px!important}
  .compressor-comparison .preview-box{height:230px!important;min-height:230px!important}
  .pdf-result-card{min-height:0!important;max-height:545px;overflow:auto}
}

@media (min-width:901px) and (max-width:1180px){
  .workspace{grid-template-columns:minmax(270px,300px) minmax(0,1fr)!important}
  .dual-layout{grid-template-columns:minmax(260px,300px) minmax(0,1fr)!important}
  .comparison-area{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr)!important}
  .compressor-comparison{grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr)!important}
  .comparison-area .details-grid{grid-template-columns:1fr 1fr!important}
}

/* Dedicated Image/Signature pages still have enough room for the professional
   three-column comparison at compact WordPress iframe widths. */
@media (min-width:760px) and (max-width:900px){
  html.or-view-photo .comparison-area,
  html.or-view-signature .comparison-area{
    grid-template-columns:minmax(0,1fr) 62px minmax(0,1fr)!important;
    align-items:stretch!important;
  }
  html.or-view-photo .comparison-area>.before-after-card,
  html.or-view-signature .comparison-area>.before-after-card{
    grid-column:auto!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-self:stretch!important;
  }
}

html[data-theme="light"] .quick-process-bar{
  background:linear-gradient(180deg,rgba(246,251,255,.20),rgba(246,251,255,.98) 28%);
  box-shadow:0 -9px 22px rgba(65,103,148,.08);
}
html[data-theme="light"] .workspace>.controls,
html[data-theme="light"] .dual-layout>.controls{
  scrollbar-color:#55a9df #e4eef8;
}

/* Bring the selected tool workspace directly below the fixed top bar. */
.tool-page{scroll-margin-top:calc(var(--top-h) + 12px)}

/* ===== v2.6.5 PDF-to-Image upload confirmation (UI only) ===== */
#pdftoimagePage .pdf-drop.file-selected{
  border-color:rgba(71,229,168,.88)!important;
  background:
    linear-gradient(135deg,rgba(42,210,154,.15),rgba(45,198,255,.08)),
    var(--panel,rgba(8,29,53,.9));
  box-shadow:0 0 0 1px rgba(71,229,168,.22),0 12px 34px rgba(20,217,155,.13),inset 0 1px 0 rgba(255,255,255,.08);
  animation:pdfUploadReadyPulse 1.8s ease-in-out infinite;
}
#pdftoimagePage .pdf-drop.file-selected strong{color:#75f3c2!important}
#pdftoimagePage .pdf-drop.file-selected small{color:var(--text-muted,#b8c8de)!important;opacity:1}
.pdf-upload-confirmation{
  position:relative;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  gap:11px;
  margin-top:10px;
  padding:11px 13px;
  border:1px solid rgba(71,229,168,.42);
  border-radius:13px;
  color:var(--text,#f5f8ff);
  background:linear-gradient(135deg,rgba(35,190,137,.16),rgba(35,169,231,.09));
  box-shadow:0 10px 28px rgba(0,0,0,.13),inset 0 1px 0 rgba(255,255,255,.06);
  overflow:hidden;
}
.pdf-upload-confirmation[hidden]{display:none!important}
.pdf-upload-confirmation::after{
  content:"";
  position:absolute;
  inset:-35% -60%;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.2) 50%,transparent 60%);
  transform:translateX(-55%);
  pointer-events:none;
}
.pdf-upload-confirmation.is-visible::after{animation:pdfUploadShine 1.05s ease-out 1}
.pdf-upload-check{
  width:38px;height:38px;border-radius:12px;
  display:grid;place-items:center;
  font-size:22px;font-weight:950;color:#032d22;
  background:linear-gradient(135deg,#60f5bd,#42dff5);
  box-shadow:0 8px 22px rgba(54,230,177,.28);
}
.pdf-upload-details{display:grid;min-width:0;gap:2px}
.pdf-upload-details>b{font-size:12px;color:#78f4c4;letter-spacing:.01em}
.pdf-upload-details small{display:block;min-width:0;font-size:10px;color:var(--text-muted,#bac8dc)}
.pdf-upload-name{font-weight:800;color:var(--text,#f5f8ff)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pdf-upload-meta{opacity:.82}
@keyframes pdfUploadReadyPulse{0%,100%{filter:saturate(1);box-shadow:0 0 0 1px rgba(71,229,168,.18),0 10px 28px rgba(20,217,155,.10)}50%{filter:saturate(1.12);box-shadow:0 0 0 3px rgba(71,229,168,.08),0 14px 34px rgba(20,217,155,.18)}}
@keyframes pdfUploadShine{0%{transform:translateX(-55%)}100%{transform:translateX(55%)}}
html[data-theme="light"] #pdftoimagePage .pdf-drop.file-selected{
  background:linear-gradient(135deg,rgba(50,210,156,.15),rgba(62,172,255,.10)),#f8fffc!important;
  border-color:#22b983!important;
  box-shadow:0 0 0 2px rgba(34,185,131,.10),0 12px 28px rgba(28,136,103,.12)!important;
}
html[data-theme="light"] #pdftoimagePage .pdf-drop.file-selected strong{color:#087e59!important}
html[data-theme="light"] #pdftoimagePage .pdf-drop.file-selected small{color:#426276!important}
html[data-theme="light"] .pdf-upload-confirmation{
  color:#13243f;
  border-color:rgba(18,159,112,.35);
  background:linear-gradient(135deg,#ebfff7,#eefaff);
  box-shadow:0 10px 24px rgba(41,96,122,.10),inset 0 1px 0 #fff;
}
html[data-theme="light"] .pdf-upload-details>b{color:#087e59}
html[data-theme="light"] .pdf-upload-name{color:#172943!important}
html[data-theme="light"] .pdf-upload-details small{color:#4e6679}
@media(max-width:720px){.pdf-upload-confirmation{grid-template-columns:38px minmax(0,1fr);padding:10px}.pdf-upload-check{width:34px;height:34px}}


/* v2.6.6 UI-only: remove non-working decorative window controls and add guide bot / helper chips.
   No image/PDF processing logic is changed. */
.top-info-chip{height:38px;padding:0 14px;border-radius:999px;display:flex;align-items:center;gap:8px;background:linear-gradient(180deg,rgba(16,31,59,.96),rgba(10,20,39,.88));border:1px solid rgba(112,153,221,.17);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 10px 24px rgba(0,0,0,.18);font-size:11px;color:#95a7c2;white-space:nowrap}.top-info-chip b{font-size:11px;color:#f4f8ff;font-weight:800}.top-info-chip.compact b{color:#79f0cf}
.hero{display:grid;grid-template-columns:minmax(0,1fr) 300px 320px;gap:18px;align-items:center}
.hero-guide{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:12px;min-height:170px}
.guide-speech{position:relative;max-width:210px;padding:16px 16px 14px 18px;border-radius:20px;background:linear-gradient(160deg,rgba(15,34,66,.95),rgba(29,26,77,.88));border:1px solid rgba(118,154,229,.22);box-shadow:0 16px 40px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.08);animation:guideFloat 4.5s ease-in-out infinite}
.guide-speech::after{content:"";position:absolute;right:-10px;bottom:22px;width:20px;height:20px;background:linear-gradient(160deg,rgba(23,31,71,.96),rgba(20,42,77,.92));border-right:1px solid rgba(118,154,229,.22);border-bottom:1px solid rgba(118,154,229,.22);transform:rotate(-45deg)}
.guide-tag{display:inline-flex;align-items:center;gap:7px;height:24px;padding:0 10px;border-radius:999px;background:rgba(83,198,255,.12);border:1px solid rgba(83,198,255,.25);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#78ddff;font-weight:800;margin-bottom:8px}.guide-tag::before{content:"✦";font-size:11px;color:#ffd878}
.guide-speech p{font-size:13px;line-height:1.45;color:#eef6ff;min-height:88px}
.guide-bot{position:relative;width:112px;height:134px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;animation:guideBounce 3.8s ease-in-out infinite}
.guide-halo{position:absolute;top:4px;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle,rgba(124,207,255,.44),rgba(122,97,255,.12) 58%,transparent 72%);filter:blur(4px);animation:haloPulse 3.8s ease-in-out infinite}
.guide-head{position:relative;width:84px;height:78px;border-radius:30px;background:linear-gradient(160deg,#6adfff,#6c7dff 54%,#b05cff);box-shadow:0 16px 30px rgba(35,74,187,.35),inset 0 2px 0 rgba(255,255,255,.42);display:flex;justify-content:center;align-items:center}
.guide-head::before{content:"";position:absolute;inset:9px;border-radius:23px;background:linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.06));opacity:.9}
.guide-head::after{content:"";position:absolute;top:-10px;left:50%;transform:translateX(-50%);width:14px;height:14px;border-radius:50%;background:#67f0d8;box-shadow:0 0 0 5px rgba(103,240,216,.12),0 0 16px rgba(103,240,216,.66)}
.guide-head .eye{position:absolute;top:31px;width:10px;height:16px;border-radius:999px;background:#05233e;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
.guide-head .eye.left{left:25px}.guide-head .eye.right{right:25px}.guide-head .eye::after{content:"";position:absolute;top:3px;left:2px;width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.9)}
.guide-head .mouth{position:absolute;bottom:20px;width:22px;height:10px;border-radius:0 0 22px 22px;border:3px solid #072742;border-top:0}
.guide-body{position:relative;margin-top:-6px;width:72px;height:46px;border-radius:22px 22px 18px 18px;background:linear-gradient(160deg,#3046d9,#683ef1 55%,#22ccff);box-shadow:0 18px 30px rgba(24,41,124,.26),inset 0 1px 0 rgba(255,255,255,.25)}
.guide-body::before,.guide-body::after{content:"";position:absolute;top:10px;width:18px;height:8px;border-radius:999px;background:linear-gradient(90deg,#86e7ff,#7e83ff)}
.guide-body::before{left:-14px;transform:rotate(24deg)}.guide-body::after{right:-14px;transform:rotate(-24deg)}
.guide-body .guide-core{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:20px;border-radius:50%;background:radial-gradient(circle,#b5fdff 10%,#66eaff 50%,#735bff 100%);box-shadow:0 0 22px rgba(111,226,255,.7)}
.guide-shadow{width:62px;height:12px;border-radius:50%;background:radial-gradient(circle,rgba(17,30,64,.44),rgba(17,30,64,0));margin-top:6px;animation:shadowPulse 3.8s ease-in-out infinite}
@keyframes guideBounce{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes guideFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes shadowPulse{0%,100%{transform:scale(.96);opacity:.45}50%{transform:scale(1.08);opacity:.65}}
@keyframes haloPulse{0%,100%{transform:scale(.95);opacity:.72}50%{transform:scale(1.1);opacity:1}}
.guide-speech.is-changing{animation:guidePulseSwap .45s ease}
@keyframes guidePulseSwap{0%{transform:translateY(0) scale(1);opacity:1}50%{transform:translateY(-5px) scale(1.02);opacity:.75}100%{transform:translateY(0) scale(1);opacity:1}}

html[data-theme="light"] .top-info-chip{background:linear-gradient(180deg,#ffffff,#eef4ff);border-color:#ccdaf1;box-shadow:inset 0 1px 0 rgba(255,255,255,.88),0 10px 20px rgba(130,154,191,.16);color:#62748f}
html[data-theme="light"] .top-info-chip b{color:#173052}
html[data-theme="light"] .top-info-chip.compact b{color:#078c66}
html[data-theme="light"] .guide-speech{background:linear-gradient(160deg,rgba(255,255,255,.95),rgba(243,247,255,.94));border-color:#cad8ef;box-shadow:0 18px 36px rgba(120,145,188,.18),inset 0 1px 0 rgba(255,255,255,.9)}
html[data-theme="light"] .guide-speech::after{background:linear-gradient(160deg,#f6faff,#f2f6ff);border-right:1px solid #cad8ef;border-bottom:1px solid #cad8ef}
html[data-theme="light"] .guide-speech p{color:#24405f}
html[data-theme="light"] .guide-tag{background:rgba(56,164,242,.11);border-color:rgba(56,164,242,.18);color:#167cb0}

@media(max-width:1290px){.hero{grid-template-columns:minmax(0,1fr) 260px 280px}.guide-speech{max-width:190px}.hero-art{width:280px;flex-basis:280px}}
@media(max-width:1120px){.hero{grid-template-columns:1fr}.hero-guide{justify-content:flex-start;min-height:auto}.guide-speech p{min-height:auto}.hero-art{display:none}}
@media(max-width:850px){.top-info-chip{display:none}.hero-guide{margin-top:10px}.guide-speech{max-width:none;flex:1}.guide-bot{width:96px;height:120px}}
@media(max-width:570px){.hero-guide{flex-direction:column;align-items:flex-start}.guide-speech{order:2}.guide-speech::after{left:26px;right:auto;bottom:-10px;transform:rotate(45deg)}.guide-bot{order:1}}

/* v2.6.7 UI-only: flying helper, type/erase speech, wink and welcome screen. */
.hero-guide{animation:assistantFlight 8.5s ease-in-out infinite;transform-origin:center;will-change:transform}
.hero-guide::before{content:"";position:absolute;right:72px;bottom:18px;width:86px;height:12px;border-radius:50%;background:linear-gradient(90deg,transparent,rgba(74,210,255,.38),rgba(141,91,255,.22),transparent);filter:blur(5px);opacity:.7;animation:flightTrail 2.4s ease-in-out infinite;pointer-events:none}
@keyframes assistantFlight{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}20%{transform:translate3d(-10px,-9px,0) rotate(-1.2deg)}45%{transform:translate3d(7px,-15px,0) rotate(1deg)}70%{transform:translate3d(13px,-4px,0) rotate(.7deg)}86%{transform:translate3d(-5px,5px,0) rotate(-.7deg)}}
@keyframes flightTrail{0%,100%{transform:translateX(8px) scaleX(.72);opacity:.25}50%{transform:translateX(-9px) scaleX(1.15);opacity:.76}}
.guide-speech{overflow:visible}
.guide-speech p{position:relative}
.guide-speech.is-typing p::after{content:"";display:inline-block;width:2px;height:1.1em;margin-left:4px;vertical-align:-2px;border-radius:3px;background:#72e5ff;box-shadow:0 0 10px rgba(114,229,255,.7);animation:typeCursor .7s steps(1,end) infinite}
.guide-speech.is-speaking{border-color:rgba(105,219,255,.4);box-shadow:0 18px 42px rgba(0,0,0,.28),0 0 24px rgba(82,189,255,.12),inset 0 1px 0 rgba(255,255,255,.09)}
@keyframes typeCursor{0%,48%{opacity:1}49%,100%{opacity:0}}
.guide-bot::before,.guide-bot::after{content:"";position:absolute;z-index:-1;top:73px;width:31px;height:18px;border-radius:75% 18% 75% 18%;background:linear-gradient(145deg,rgba(117,231,255,.92),rgba(117,112,255,.56));box-shadow:0 0 14px rgba(91,198,255,.4);animation:wingFlap .7s ease-in-out infinite alternate}
.guide-bot::before{left:-2px;transform-origin:right center;transform:rotate(22deg)}
.guide-bot::after{right:-2px;transform-origin:left center;transform:scaleX(-1) rotate(22deg)}
@keyframes wingFlap{from{filter:brightness(.95);margin-top:0}to{filter:brightness(1.25);margin-top:-8px}}
.guide-head.is-winking .eye.left{height:3px;top:38px;border-radius:999px;transform:rotate(-8deg);background:#05233e;box-shadow:none}
.guide-head.is-winking .eye.left::after{display:none}
.guide-head.is-winking .mouth{width:25px;height:12px;border-color:#07304f;transform:rotate(-2deg)}
.guide-head.is-winking{animation:happyWink .62s ease}
@keyframes happyWink{0%,100%{transform:rotate(0) scale(1)}35%{transform:rotate(-5deg) scale(1.04)}70%{transform:rotate(3deg) scale(1.02)}}

.welcome-overlay{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at 50% 42%,rgba(48,101,186,.18),rgba(1,8,21,.76));backdrop-filter:blur(14px);opacity:0;visibility:hidden;transition:opacity .48s ease,visibility .48s ease}
.welcome-overlay.is-visible{opacity:1;visibility:visible}
.welcome-overlay.is-closing{opacity:0;visibility:hidden;pointer-events:none}
.welcome-card{position:relative;width:min(580px,94vw);padding:32px 34px 26px;border-radius:30px;text-align:center;overflow:hidden;background:linear-gradient(150deg,rgba(9,26,53,.98),rgba(22,28,75,.97) 56%,rgba(62,21,104,.95));border:1px solid rgba(127,172,246,.26);box-shadow:0 36px 100px rgba(0,0,0,.48),inset 0 1px 0 rgba(255,255,255,.09);transform:translateY(22px) scale(.94);transition:transform .6s cubic-bezier(.2,.9,.22,1.12)}
.welcome-overlay.is-visible .welcome-card{transform:translateY(0) scale(1)}
.welcome-card::before{content:"";position:absolute;inset:-50%;background:conic-gradient(from 20deg,transparent,rgba(74,208,255,.12),transparent 28%,rgba(157,74,255,.13),transparent 55%);animation:welcomeAura 9s linear infinite;pointer-events:none}
@keyframes welcomeAura{to{transform:rotate(360deg)}}
.welcome-close{position:absolute;z-index:5;right:14px;top:13px;width:36px;height:36px;border-radius:50%;border:1px solid rgba(151,177,225,.2);background:rgba(5,15,35,.42);color:#c4d1e4;font-size:24px;line-height:1;cursor:pointer;transition:.25s ease}
.welcome-close:hover{transform:rotate(90deg) scale(1.05);color:#fff;background:rgba(255,255,255,.1)}
.welcome-stars{position:absolute;inset:0;pointer-events:none}.welcome-stars i{position:absolute;color:#8be8ff;font-style:normal;text-shadow:0 0 14px currentColor;animation:starTwinkle 1.8s ease-in-out infinite}.welcome-stars i:nth-child(1){left:12%;top:18%;font-size:18px}.welcome-stars i:nth-child(2){right:15%;top:25%;font-size:12px;animation-delay:.4s;color:#c793ff}.welcome-stars i:nth-child(3){right:22%;bottom:23%;font-size:16px;animation-delay:.9s;color:#ffe28c}@keyframes starTwinkle{0%,100%{opacity:.3;transform:scale(.7) rotate(0)}50%{opacity:1;transform:scale(1.18) rotate(25deg)}}
.welcome-bot{position:relative;z-index:2;width:116px;height:126px;margin:0 auto 8px;animation:welcomeFly 2.7s ease-in-out infinite}
@keyframes welcomeFly{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-11px) rotate(2deg)}}
.welcome-antenna{position:absolute;z-index:2;top:0;left:50%;width:4px;height:19px;transform:translateX(-50%);border-radius:9px;background:#86dcff}.welcome-antenna::before{content:"";position:absolute;left:50%;top:-6px;width:14px;height:14px;transform:translateX(-50%);border-radius:50%;background:#65f0d5;box-shadow:0 0 0 5px rgba(101,240,213,.12),0 0 18px rgba(101,240,213,.7)}
.welcome-face{position:absolute;top:15px;left:50%;width:94px;height:78px;transform:translateX(-50%);border-radius:34px;background:linear-gradient(155deg,#5de6ff,#6a7bff 53%,#b857f4);box-shadow:0 20px 34px rgba(22,56,170,.35),inset 0 2px 0 rgba(255,255,255,.42)}
.welcome-face::before{content:"";position:absolute;inset:9px;border-radius:27px;background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.04))}
.w-eye{position:absolute;z-index:2;top:31px;width:11px;height:17px;border-radius:999px;background:#06243f}.w-eye.left{left:27px}.w-eye.right{right:27px}.w-eye::after{content:"";position:absolute;left:2px;top:3px;width:4px;height:4px;border-radius:50%;background:#fff}.welcome-face b{position:absolute;z-index:2;left:50%;bottom:17px;width:26px;height:12px;transform:translateX(-50%);border:3px solid #062942;border-top:0;border-radius:0 0 20px 20px}
.welcome-body{position:absolute;left:50%;bottom:5px;width:76px;height:45px;transform:translateX(-50%);border-radius:23px 23px 18px 18px;background:linear-gradient(150deg,#2b49d5,#6a3df0 55%,#27c8ff);box-shadow:0 16px 30px rgba(25,42,129,.32),inset 0 1px 0 rgba(255,255,255,.25)}.welcome-body span{position:absolute;left:50%;top:50%;width:21px;height:21px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#c9ffff 5%,#64eaff 50%,#745cff);box-shadow:0 0 23px rgba(99,231,255,.72)}
.welcome-kicker,.welcome-card h2,.welcome-card p,.welcome-brand,.welcome-progress{position:relative;z-index:2}.welcome-kicker{display:inline-block;margin-bottom:8px;color:#71e4ff;font-size:12px;font-weight:900;letter-spacing:.18em}.welcome-card h2{font-size:clamp(24px,4vw,34px);color:#fff;line-height:1.18;margin-bottom:10px}.welcome-card p{max-width:490px;margin:0 auto;color:#c7d6e9;font-size:14px;line-height:1.6}.welcome-brand{margin-top:18px;color:#93a7c2;font-size:12px}.welcome-brand b{color:#c690ff}.welcome-brand span{margin:0 6px;color:#657995}.welcome-progress{height:4px;margin-top:23px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.08)}.welcome-progress i{display:block;width:100%;height:100%;transform-origin:left;background:linear-gradient(90deg,#45d9ff,#7d6cff,#ba4dff);animation:welcomeProgress 5.2s linear forwards}@keyframes welcomeProgress{from{transform:scaleX(1)}to{transform:scaleX(0)}}
html[data-theme="light"] .welcome-overlay{background:radial-gradient(circle at 50% 42%,rgba(95,164,246,.22),rgba(224,234,249,.72))}
html[data-theme="light"] .welcome-card{background:linear-gradient(150deg,rgba(255,255,255,.98),rgba(241,247,255,.98) 58%,rgba(246,238,255,.97));border-color:#ccdaf0;box-shadow:0 36px 100px rgba(92,117,158,.3),inset 0 1px 0 #fff}
html[data-theme="light"] .welcome-card h2{color:#173052}html[data-theme="light"] .welcome-card p{color:#536a87}html[data-theme="light"] .welcome-brand{color:#667b96}html[data-theme="light"] .welcome-close{background:#eef4ff;border-color:#ccd9ed;color:#506582}html[data-theme="light"] .welcome-progress{background:#dce7f6}

@media(prefers-reduced-motion:reduce){.hero-guide,.guide-bot,.guide-speech,.guide-bot::before,.guide-bot::after,.welcome-card::before,.welcome-bot,.welcome-stars i{animation:none!important}.welcome-progress i{animation-duration:.01ms!important}}
@media(max-width:1120px){.hero-guide{animation:assistantFlightCompact 7.5s ease-in-out infinite}@keyframes assistantFlightCompact{0%,100%{transform:translate(0,0)}50%{transform:translate(7px,-8px)}}}
@media(max-width:570px){.welcome-card{padding:27px 19px 22px}.welcome-bot{transform:scale(.88);margin-bottom:-3px}.welcome-card p{font-size:13px}}

/* =========================================================
   v2.6.8 — Tool Love Couple (UI/animation only)
   Processing engine files and data-handling functions are untouched.
   ========================================================= */
.love-guide{position:relative;min-height:188px;display:grid;grid-template-columns:minmax(150px,1fr) 152px;grid-template-rows:1fr auto;gap:8px 10px;align-items:center;animation:loveGuideFlight 8.8s ease-in-out infinite;transform-origin:center;will-change:transform}
.love-guide::before{content:"";position:absolute;right:8px;bottom:30px;width:150px;height:16px;border-radius:50%;background:linear-gradient(90deg,transparent,rgba(71,216,255,.34),rgba(172,78,255,.30),transparent);filter:blur(7px);animation:loveFlightTrail 2.2s ease-in-out infinite;pointer-events:none}
@keyframes loveGuideFlight{0%,100%{transform:translate(0,0) rotate(-.4deg)}25%{transform:translate(7px,-8px) rotate(.4deg)}52%{transform:translate(-4px,-13px) rotate(-.3deg)}76%{transform:translate(-8px,-5px) rotate(.35deg)}}
@keyframes loveFlightTrail{0%,100%{opacity:.32;transform:scaleX(.76)}50%{opacity:.9;transform:scaleX(1.12)}}
.love-speech{max-width:none!important;min-height:130px;align-self:center;padding:15px 15px 14px!important;overflow:visible!important}
.love-speech::before{content:attr(data-speaker);display:inline-flex;align-items:center;height:23px;padding:0 9px;border-radius:999px;margin:0 0 8px 7px;background:linear-gradient(135deg,rgba(255,92,177,.19),rgba(132,92,255,.17));border:1px solid rgba(255,119,199,.25);color:#ffc5e6;font-size:10px;font-weight:900;letter-spacing:.02em;box-shadow:0 6px 18px rgba(118,37,127,.16)}
.love-speech[data-speaker^="Boy"]::before{background:linear-gradient(135deg,rgba(55,178,255,.18),rgba(74,102,255,.16));border-color:rgba(79,190,255,.25);color:#b9eaff}
.love-speech[data-speaker^="Together"]::before{background:linear-gradient(135deg,rgba(255,188,77,.18),rgba(255,88,152,.16));border-color:rgba(255,195,92,.26);color:#ffe3a7}
.love-speech p{min-height:68px!important;font-size:12.5px!important;line-height:1.48!important;font-weight:690;letter-spacing:.005em}
.love-speech .typing-caret{display:inline-block;width:2px;height:14px;margin-left:3px;border-radius:3px;background:#78e9ff;box-shadow:0 0 9px rgba(97,227,255,.8);vertical-align:-2px;animation:loveCaret .72s steps(1) infinite}
.love-speech:not(.is-typing) .typing-caret{opacity:.25}
@keyframes loveCaret{0%,48%{opacity:1}49%,100%{opacity:0}}
.flying-couple{position:relative;width:152px;height:158px;justify-self:end;align-self:center;filter:drop-shadow(0 17px 20px rgba(4,11,38,.34));animation:coupleFloat 3.5s ease-in-out infinite}
@keyframes coupleFloat{0%,100%{transform:translateY(1px) rotate(.2deg)}50%{transform:translateY(-8px) rotate(-.25deg)}}
.love-orbit{position:absolute;left:4px;top:18px;width:145px;height:105px;border-radius:50%;border:1px solid rgba(102,205,255,.22);transform:rotate(-11deg);box-shadow:0 0 0 9px rgba(112,88,255,.025),0 0 32px rgba(94,100,255,.17);animation:loveOrbitSpin 9s linear infinite}
.love-orbit::after{content:"";position:absolute;left:12px;top:12px;width:6px;height:6px;border-radius:50%;background:#73ecff;box-shadow:0 0 13px #60dfff}
@keyframes loveOrbitSpin{to{transform:rotate(349deg)}}
.person{position:absolute;top:31px;width:61px;height:113px;transform-origin:center 78px}
.girl-character{left:10px;animation:girlHappy 3.2s ease-in-out infinite}
.boy-character{right:7px;animation:boyProposal 3.2s ease-in-out infinite .12s}
@keyframes girlHappy{0%,100%{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(2deg) translateY(-4px)}}
@keyframes boyProposal{0%,100%{transform:rotate(3deg) translateY(1px)}50%{transform:rotate(-2deg) translateY(-4px)}}
.person .head{position:absolute;left:11px;top:12px;width:42px;height:42px;border-radius:49% 49% 46% 46%;background:linear-gradient(145deg,#ffd9c6,#f4ad91);border:1px solid rgba(255,255,255,.24);box-shadow:inset 0 2px 3px rgba(255,255,255,.25),0 7px 13px rgba(18,8,30,.18);z-index:4}
.person .head .eye{position:absolute;top:17px;width:5px;height:7px;border-radius:99px;background:#19213c;transition:height .16s,transform .16s}
.person .head .eye.left{left:10px}.person .head .eye.right{right:10px}
.person .head .eye::after{content:"";position:absolute;left:1px;top:1px;width:2px;height:2px;border-radius:50%;background:#fff}
.person .head.is-winking .eye.right,.person .head.is-winking-right .eye.right{height:2px;top:20px;transform:rotate(-10deg)}
.person .head.is-winking-left .eye.left{height:2px;top:20px;transform:rotate(10deg)}
.person .head .smile{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:13px;height:6px;border:2px solid #8f3756;border-top:0;border-radius:0 0 15px 15px}
.person .head .blush{position:absolute;top:25px;width:7px;height:3px;border-radius:50%;background:rgba(244,81,124,.23)}.person .head .blush.l{left:4px}.person .head .blush.r{right:4px}
.person .hair.back{position:absolute;z-index:2;left:6px;top:5px;width:50px;height:52px;border-radius:52% 52% 43% 43%;background:linear-gradient(145deg,#382642,#151724);box-shadow:0 8px 13px rgba(11,7,26,.25)}
.person .hair.front{position:absolute;z-index:5;left:9px;top:7px;width:45px;height:19px;border-radius:50% 60% 32% 28%;background:linear-gradient(155deg,#4a304e,#151722);clip-path:polygon(0 0,100% 0,93% 75%,72% 48%,54% 90%,35% 48%,10% 78%)}
.girl-character .hair.back{left:3px;top:4px;width:56px;height:67px;border-radius:48% 48% 42% 42%;background:linear-gradient(145deg,#4d244c,#201522)}
.girl-character .hair.front{background:linear-gradient(145deg,#5e2d58,#201522)}
.person .neck{position:absolute;z-index:2;left:26px;top:48px;width:12px;height:12px;background:#efaa8d;border-radius:4px}
.person .body{position:absolute;z-index:3;left:10px;top:56px;width:44px;height:41px;border-radius:14px 14px 10px 10px;box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 8px 14px rgba(10,15,44,.18)}
.girl-character .body{background:linear-gradient(145deg,#ff5da9,#aa55ef 72%,#6d5cff)}
.boy-character .body{background:linear-gradient(145deg,#38bbff,#4d62ee 68%,#753ee8)}
.person .body .arm{position:absolute;top:11px;width:31px;height:10px;border-radius:999px;background:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.15)}
.girl-character .body .arm{right:-20px;transform:rotate(18deg)}
.boy-character .body .arm{left:-20px;transform:rotate(-18deg)}
.person .leg{position:absolute;z-index:1;top:91px;width:13px;height:27px;border-radius:8px;background:#263251}.person .leg.l{left:16px;transform:rotate(6deg)}.person .leg.r{right:14px;transform:rotate(-6deg)}
.girl-character .leg{background:#3c2f67}.boy-character .leg{background:#263a69}
.proposal-gift{position:absolute;z-index:8;left:64px;top:77px;width:28px;height:39px;display:grid;place-items:center;animation:giftOffer 2.4s ease-in-out infinite}
.proposal-gift .gift-box{position:absolute;bottom:0;font-size:19px;filter:drop-shadow(0 6px 5px rgba(0,0,0,.22))}.proposal-gift .gift-rose{position:absolute;top:-3px;left:8px;font-size:17px;transform:rotate(-14deg);animation:roseWave 1.7s ease-in-out infinite}.proposal-gift i{position:absolute;top:9px;left:17px;width:5px;height:5px;border-radius:50%;background:#fff4a1;box-shadow:0 0 10px #ffe06b}
@keyframes giftOffer{0%,100%{transform:translateY(1px) scale(.96)}50%{transform:translateY(-4px) scale(1.05)}}
@keyframes roseWave{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(5deg)}}
.love-heart{position:absolute;z-index:9;color:#ff5c9f;text-shadow:0 0 12px rgba(255,85,163,.72);font-size:11px;animation:heartRise 2.7s ease-in-out infinite}.love-heart.h1{left:72px;top:22px}.love-heart.h2{left:90px;top:7px;animation-delay:.8s;font-size:8px}.love-heart.h3{left:54px;top:1px;animation-delay:1.5s;font-size:7px}
@keyframes heartRise{0%{opacity:0;transform:translateY(15px) scale(.65)}35%{opacity:1}100%{opacity:0;transform:translateY(-19px) scale(1.15)}}
.couple-shadow{position:absolute;left:22px;bottom:5px;width:110px;height:12px;border-radius:50%;background:radial-gradient(circle,rgba(25,17,64,.44),transparent 70%);animation:coupleShadow 3.5s ease-in-out infinite}@keyframes coupleShadow{0%,100%{transform:scale(.92);opacity:.48}50%{transform:scale(1.07);opacity:.26}}
.love-promo-text{grid-column:1/-1;justify-self:center;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.25;padding:7px 12px;border-radius:12px;background:linear-gradient(90deg,rgba(255,75,157,.10),rgba(80,190,255,.10));border:1px solid rgba(171,131,242,.15);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
.love-promo-text b{font-size:11px;color:#ffc2df}.love-promo-text small{margin-top:3px;font-size:8.5px;color:#aebed3}

/* Welcome couple */
.love-welcome-card{max-width:610px!important;padding-top:30px!important}
.welcome-couple{position:relative;width:180px;height:115px;margin:0 auto 8px;display:flex;align-items:flex-end;justify-content:center;gap:34px;animation:welcomeCoupleFloat 3s ease-in-out infinite}
@keyframes welcomeCoupleFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.mini-person{position:relative;width:54px;height:100px;filter:drop-shadow(0 12px 12px rgba(0,0,0,.20))}.mini-person .mini-face{position:absolute;z-index:3;left:8px;top:8px;width:39px;height:39px;border-radius:49%;background:linear-gradient(145deg,#ffd8c4,#f1a487);box-shadow:inset 0 2px 2px rgba(255,255,255,.3)}.mini-person .mini-face i{position:absolute;top:16px;width:5px;height:6px;border-radius:99px;background:#1d2440}.mini-person .mini-face i:first-child{left:9px}.mini-person .mini-face i:nth-child(2){right:9px}.mini-person .mini-face b{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:12px;height:6px;border:2px solid #913d57;border-top:0;border-radius:0 0 10px 10px}.mini-person .mini-hair{position:absolute;z-index:2;left:4px;top:3px;width:47px;height:50px;border-radius:50%;background:linear-gradient(145deg,#4f294a,#161622)}.mini-girl .mini-hair{height:62px}.mini-person .mini-body{position:absolute;z-index:2;left:7px;top:51px;width:42px;height:42px;border-radius:14px 14px 9px 9px}.mini-girl .mini-body{background:linear-gradient(145deg,#ff5da5,#a754ec)}.mini-boy .mini-body{background:linear-gradient(145deg,#39bfff,#4d59e7)}.mini-rose{position:absolute;z-index:5;left:-18px;top:56px;font-size:24px;animation:welcomeRose 1.5s ease-in-out infinite}@keyframes welcomeRose{0%,100%{transform:rotate(-14deg) translateY(0)}50%{transform:rotate(5deg) translateY(-4px)}}.welcome-heart{position:absolute;left:50%;top:18px;transform:translateX(-50%);font-size:24px;color:#ff5a9f;text-shadow:0 0 17px rgba(255,85,162,.72);animation:welcomeHeart 1.4s ease-in-out infinite}@keyframes welcomeHeart{0%,100%{transform:translateX(-50%) scale(.9)}50%{transform:translateX(-50%) scale(1.16)}}
.welcome-love-line{margin:12px auto 0;width:max-content;max-width:100%;padding:8px 14px;border-radius:999px;background:linear-gradient(90deg,rgba(255,86,164,.13),rgba(76,187,255,.13));border:1px solid rgba(186,115,225,.20);color:#ffcce5;font-size:12px;font-weight:800}

html[data-theme="light"] .love-speech::before{color:#8b2e65;background:linear-gradient(135deg,#ffe8f3,#f2eaff);border-color:#f0c5dc}
html[data-theme="light"] .love-speech[data-speaker^="Boy"]::before{color:#176491;background:linear-gradient(135deg,#e7f8ff,#e9edff);border-color:#c3e5f5}
html[data-theme="light"] .love-speech[data-speaker^="Together"]::before{color:#875c0e;background:linear-gradient(135deg,#fff7dc,#ffeaf3);border-color:#f3dca4}
html[data-theme="light"] .love-promo-text{background:linear-gradient(90deg,rgba(255,91,166,.08),rgba(53,170,236,.08));border-color:#d7dff0}
html[data-theme="light"] .love-promo-text b{color:#a32f6e}html[data-theme="light"] .love-promo-text small{color:#5f728d}
html[data-theme="light"] .welcome-love-line{color:#8d2f66;background:linear-gradient(90deg,#fff0f7,#edf8ff);border-color:#e7cadd}

@media(max-width:1390px){.love-guide{grid-template-columns:minmax(135px,1fr) 140px}.flying-couple{width:140px;transform:scale(.92);transform-origin:center}.love-speech p{font-size:11.7px!important}.love-promo-text small{display:none}}
@media(max-width:1120px){.love-guide{grid-template-columns:minmax(0,1fr) 160px;max-width:600px}.flying-couple{justify-self:center}.love-promo-text{justify-self:start;max-width:560px}}
@media(max-width:700px){.love-guide{grid-template-columns:1fr;animation:none}.flying-couple{grid-row:1;justify-self:center}.love-speech{grid-row:2}.love-promo-text{grid-row:3;justify-self:stretch}.love-speech::after{left:42px!important;right:auto!important;top:-10px!important;bottom:auto!important;transform:rotate(225deg)!important}.welcome-couple{transform:scale(.9);margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.love-guide,.flying-couple,.girl-character,.boy-character,.love-orbit,.love-heart,.proposal-gift,.proposal-gift .gift-rose,.welcome-couple,.welcome-heart,.mini-rose{animation:none!important}}
.flying-couple.proposal-active .proposal-gift{animation:proposalPop .9s ease-in-out infinite alternate;filter:drop-shadow(0 0 14px rgba(255,100,174,.52))}
.flying-couple.proposal-active .boy-character{animation:proposalBow 1.15s ease-in-out infinite alternate}
.flying-couple.proposal-active .love-heart{animation-duration:1.35s}
@keyframes proposalPop{from{transform:translateY(2px) scale(.94) rotate(-4deg)}to{transform:translateY(-8px) scale(1.13) rotate(4deg)}}
@keyframes proposalBow{from{transform:rotate(4deg) translateY(1px)}to{transform:rotate(-8deg) translate(-3px,5px)}}

/* v2.6.9 UI-only: 3D billboard-style promo couple. Processing engine untouched. */
.billboard-love-show{position:relative;perspective:1200px;padding:22px 18px 20px;border-radius:34px;background:linear-gradient(155deg,rgba(7,18,40,.92),rgba(11,24,52,.86) 55%,rgba(35,12,63,.84));border:1px solid rgba(116,157,233,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 34px 70px rgba(0,0,0,.27),0 0 0 1px rgba(94,145,232,.06);overflow:hidden;isolation:isolate;transform-style:preserve-3d}
.billboard-love-show::before{content:"";position:absolute;inset:12px;border-radius:28px;border:1px solid rgba(150,188,255,.15);pointer-events:none;box-shadow:0 0 0 1px rgba(255,255,255,.03) inset,0 0 36px rgba(89,122,255,.14)}
.billboard-love-show::after{content:"";position:absolute;left:-8%;right:-8%;top:-14%;height:58%;background:radial-gradient(circle at 20% 30%,rgba(89,203,255,.20),transparent 24%),radial-gradient(circle at 82% 35%,rgba(255,82,176,.14),transparent 22%),linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent);transform:translateZ(0);pointer-events:none;animation:billboardSweep 8s ease-in-out infinite}
@keyframes billboardSweep{0%,100%{transform:translateX(-8%) translateY(0)}50%{transform:translateX(8%) translateY(2px)}}
.billboard-love-show .guide-speech{position:relative;z-index:3;background:linear-gradient(160deg,rgba(12,26,58,.96),rgba(27,17,63,.93))!important;border:1px solid rgba(122,157,238,.18)!important;box-shadow:0 22px 34px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.08);transform:translateZ(45px) rotateY(-7deg)}
.billboard-love-show .guide-speech::after{right:-12px!important;bottom:25px!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.22))}
.billboard-love-show .guide-speech p{font-size:13px!important;line-height:1.52!important}
.billboard-love-show .guide-tag{background:linear-gradient(135deg,rgba(80,197,255,.20),rgba(169,90,255,.16))!important;border-color:rgba(92,203,255,.28)!important;color:#98ebff!important;box-shadow:0 8px 18px rgba(48,112,228,.18)}
.billboard-love-show .flying-couple{width:192px;height:194px;transform-style:preserve-3d;animation:billboardCoupleFloat 3.8s ease-in-out infinite, billboardAdDrift 10s ease-in-out infinite;filter:drop-shadow(0 28px 28px rgba(4,11,38,.36))}
@keyframes billboardCoupleFloat{0%,100%{transform:translateY(0) rotateZ(-1.2deg) rotateY(-7deg)}50%{transform:translateY(-11px) rotateZ(1.4deg) rotateY(7deg)}}
@keyframes billboardAdDrift{0%,100%{translate:0 0}50%{translate:10px -3px}}
.billboard-love-show .girl-character,.billboard-love-show .boy-character{transform:scale(1.18) translateZ(40px);transform-style:preserve-3d}
.billboard-love-show .person .head{box-shadow:0 12px 24px rgba(0,0,0,.18),inset 0 2px 3px rgba(255,255,255,.25)!important}
.billboard-love-show .person .head::after{content:"";position:absolute;left:14px;top:8px;width:18px;height:10px;border-radius:50%;background:rgba(255,255,255,.28);filter:blur(1px)}
.billboard-love-show .girl-character{translate:-7px 0}.billboard-love-show .boy-character{translate:8px 0}
.billboard-love-show .girl-character .body,.billboard-love-show .boy-character .body{box-shadow:0 16px 22px rgba(0,0,0,.22),inset 0 1px 0 rgba(255,255,255,.28)!important}
.billboard-love-show .proposal-gift{transform:translateZ(64px) scale(1.15);filter:drop-shadow(0 0 16px rgba(255,92,177,.35))}
.billboard-love-show .proposal-gift .gift-box,.billboard-love-show .proposal-gift .gift-rose{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.05));backdrop-filter:blur(6px)}
.billboard-love-show .love-heart{font-size:20px;text-shadow:0 0 15px rgba(255,85,162,.82),0 0 26px rgba(255,85,162,.45)}
.billboard-love-show .love-orbit{inset:6px!important;border-width:2px!important;box-shadow:0 0 20px rgba(103,229,255,.20)}
.billboard-love-show .couple-shadow{bottom:6px!important;width:146px!important;height:20px!important;filter:blur(8px)!important;opacity:.8}
.billboard-love-show .love-promo-text{position:relative;z-index:3;align-self:end;padding:11px 14px 10px;border-radius:18px;background:linear-gradient(155deg,rgba(14,32,64,.84),rgba(29,19,70,.82));border:1px solid rgba(121,152,221,.18);box-shadow:0 16px 30px rgba(0,0,0,.18);transform:translateZ(32px)}
.billboard-love-show .love-promo-text b{font-size:15px;letter-spacing:.01em;background:linear-gradient(90deg,#ffe9f4,#a6e8ff 52%,#ffb5d7 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.billboard-love-show .love-promo-text small{font-size:11px;color:#cfdaf1}
.billboard-ribbon{position:absolute;left:18px;right:18px;bottom:10px;z-index:2;height:38px;border-radius:999px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(90deg,rgba(32,188,255,.16),rgba(165,84,255,.15),rgba(255,99,163,.16));border:1px solid rgba(118,157,231,.18);box-shadow:0 12px 20px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.10);font-size:10px;font-weight:900;color:#edf6ff;letter-spacing:.08em;text-transform:uppercase}
.billboard-ribbon span:last-child{color:#ffdd92}
.billboard-floor{position:absolute;z-index:1;left:20px;right:20px;bottom:-10px;height:72px;background:radial-gradient(ellipse at center,rgba(51,166,255,.28),rgba(37,107,255,.08) 40%,rgba(255,90,179,.08) 66%,transparent 76%);filter:blur(14px);transform:translateZ(-10px)}

/* more visible wink effect */
.person .head.is-winking-right .eye.right,.person .head.is-winking-left .eye.left{height:3px!important;top:24px!important;border-radius:99px!important;box-shadow:0 0 0 0 transparent!important}
.person .head.is-winking-right::before,.person .head.is-winking-left::before{content:"😉";position:absolute;top:-18px;right:-12px;font-size:18px;filter:drop-shadow(0 0 10px rgba(255,237,138,.45));animation:winkPop .65s ease}
@keyframes winkPop{0%{transform:scale(.5) rotate(-20deg);opacity:0}45%{transform:scale(1.15) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}

/* 3D welcome billboard */
.love-welcome-card{background:linear-gradient(160deg,rgba(11,24,51,.98),rgba(22,17,58,.96) 54%,rgba(49,16,69,.95))!important;border:1px solid rgba(127,165,235,.20)!important;box-shadow:0 30px 70px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.03) inset;transform-style:preserve-3d;overflow:hidden}
.love-welcome-card::before{content:"";position:absolute;inset:12px;border-radius:26px;border:1px solid rgba(255,255,255,.08);pointer-events:none}
.love-welcome-card::after{content:"";position:absolute;left:-15%;right:-15%;top:-10%;height:48%;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.10) 50%,transparent 70%);animation:welcomeSweep3d 7s ease-in-out infinite}
@keyframes welcomeSweep3d{0%,100%{transform:translateX(-24%)}50%{transform:translateX(24%)}}
.welcome-kicker{position:relative;z-index:2;text-shadow:0 0 16px rgba(140,214,255,.26)}
.welcome-love-line{position:relative;z-index:2;background:linear-gradient(90deg,rgba(49,180,255,.12),rgba(255,92,168,.12));border:1px solid rgba(122,158,230,.18);box-shadow:0 12px 24px rgba(0,0,0,.15)}
.welcome-progress i{background:linear-gradient(90deg,#4be4ff,#6c80ff 42%,#ff66b2)!important}

html[data-theme="light"] .billboard-love-show{background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(241,247,255,.94) 55%,rgba(248,241,255,.95));border-color:#d1ddf3;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 28px 54px rgba(149,166,197,.18)}
html[data-theme="light"] .billboard-love-show::before{border-color:#d4e0f4;box-shadow:0 0 0 1px rgba(255,255,255,.45) inset,0 0 24px rgba(99,142,229,.10)}
html[data-theme="light"] .billboard-love-show .guide-speech{background:linear-gradient(165deg,#ffffff,#f4f8ff)!important;border-color:#d5e0f4!important;box-shadow:0 18px 28px rgba(142,164,196,.16),inset 0 1px 0 rgba(255,255,255,.95)}
html[data-theme="light"] .billboard-love-show .guide-speech p{color:#27415f!important}
html[data-theme="light"] .billboard-love-show .love-promo-text{background:linear-gradient(160deg,#ffffff,#f4f8ff);border-color:#d3dff2;box-shadow:0 16px 24px rgba(142,164,196,.15)}
html[data-theme="light"] .billboard-love-show .love-promo-text small{color:#5f7391}
html[data-theme="light"] .billboard-ribbon{background:linear-gradient(90deg,rgba(18,167,239,.10),rgba(164,89,255,.10),rgba(255,95,167,.12));border-color:#d0def4;color:#1f3455}
html[data-theme="light"] .billboard-ribbon span:last-child{color:#965d00}
html[data-theme="light"] .billboard-floor{opacity:.65}
html[data-theme="light"] .love-welcome-card{background:linear-gradient(160deg,#ffffff,#f3f8ff 54%,#fbf2ff)!important;border-color:#d2def3!important;box-shadow:0 26px 60px rgba(143,165,199,.18),0 0 0 1px rgba(255,255,255,.75) inset}

@media(max-width:1390px){.billboard-love-show .flying-couple{width:174px;height:176px}.billboard-love-show .girl-character,.billboard-love-show .boy-character{transform:scale(1.1) translateZ(32px)}.billboard-ribbon{font-size:9px}}
@media(max-width:1120px){.billboard-love-show{padding-bottom:56px}.billboard-ribbon{left:14px;right:14px;bottom:10px}.billboard-love-show .flying-couple{justify-self:center}}
@media(max-width:700px){.billboard-love-show{padding:18px 14px 56px}.billboard-love-show .guide-speech{transform:none}.billboard-love-show .flying-couple{width:168px;height:170px}.billboard-ribbon{height:auto;gap:4px;flex-direction:column;padding:8px 12px;border-radius:16px;text-align:center;line-height:1.3}}

/* v2.7.0 final overrides for current arrival-couple markup */
.billboard-love-show{overflow:visible!important}
.billboard-love-show .arrival-couple{position:relative;width:218px;height:198px;justify-self:end;align-self:center;z-index:3;filter:drop-shadow(0 24px 28px rgba(4,11,38,.34));transform-style:preserve-3d}
.billboard-love-show .arrival-couple .love-orbit{left:16px;top:10px;width:185px;height:128px;border-color:rgba(94,215,255,.24);box-shadow:0 0 24px rgba(78,110,255,.16)}
.billboard-love-show .arrival-couple .love-heart{font-size:12px;z-index:7}
.billboard-love-show .arrival-couple .arrival-note{position:absolute;left:14px;top:0;z-index:8;padding:4px 10px;border-radius:999px;background:linear-gradient(90deg,rgba(255,90,163,.16),rgba(75,194,255,.16));border:1px solid rgba(125,159,225,.20);font-size:10px;font-weight:800;color:#ffe7f2;letter-spacing:.02em;box-shadow:0 10px 18px rgba(0,0,0,.14);opacity:.0;transform:translateY(8px);transition:all .45s ease}
.billboard-love-show .arrival-couple.entering .arrival-note,.billboard-love-show .arrival-couple.seated .arrival-note{opacity:1;transform:translateY(0)}

.billboard-love-show .love-sofa{position:absolute;left:14px;right:14px;bottom:16px;height:68px;z-index:1;transform:translateZ(8px)}
.billboard-love-show .love-sofa .sofa-back{position:absolute;left:10px;right:10px;bottom:30px;height:22px;border-radius:18px 18px 10px 10px;background:linear-gradient(145deg,#8b5eff,#33c6ff);box-shadow:0 14px 24px rgba(13,19,73,.24),inset 0 1px 0 rgba(255,255,255,.24)}
.billboard-love-show .love-sofa .sofa-seat{position:absolute;left:0;right:0;bottom:8px;height:28px;border-radius:18px;background:linear-gradient(145deg,#223864,#3b569d 55%,#7347ec);box-shadow:0 16px 26px rgba(9,14,45,.28),inset 0 1px 0 rgba(255,255,255,.10)}
.billboard-love-show .love-sofa .sofa-arm{position:absolute;bottom:16px;width:18px;height:30px;border-radius:14px;background:linear-gradient(180deg,#507df2,#2baef6)}
.billboard-love-show .love-sofa .sofa-arm.left{left:-1px}.billboard-love-show .love-sofa .sofa-arm.right{right:-1px}
.billboard-love-show .love-sofa .sofa-leg{position:absolute;bottom:-2px;width:10px;height:18px;border-radius:8px;background:linear-gradient(180deg,#98a8d9,#4d679c)}
.billboard-love-show .love-sofa .sofa-leg.left{left:22px}.billboard-love-show .love-sofa .sofa-leg.right{right:22px}
.billboard-love-show .coffee-table{position:absolute;left:78px;bottom:0;width:58px;height:34px;z-index:2;transform:translateZ(12px)}
.billboard-love-show .coffee-table .table-top{position:absolute;left:0;right:0;top:2px;height:10px;border-radius:50%;background:linear-gradient(145deg,#ffb4d2,#99e4ff)}
.billboard-love-show .coffee-table .table-leg{position:absolute;left:26px;top:10px;width:6px;height:22px;border-radius:6px;background:linear-gradient(180deg,#aeb7d7,#687ba8)}
.billboard-love-show .coffee-table .coffee-cup{position:absolute;left:19px;top:-10px;font-size:14px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.2));animation:cupSteam 2.2s ease-in-out infinite}
@keyframes cupSteam{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}

.billboard-love-show .arrival-couple .person{position:absolute;top:26px;width:76px;height:132px;transform-origin:center 88px;z-index:4;transition:transform .35s ease,opacity .35s ease}
.billboard-love-show .arrival-couple .girl-character{left:8px}
.billboard-love-show .arrival-couple .boy-character{right:8px}
.billboard-love-show .arrival-couple .person .head{position:absolute;left:12px;top:8px;width:50px;height:50px;border-radius:48% 48% 44% 44%;background:linear-gradient(160deg,#ffe1d3,#f0b095 58%,#e3a082);border:1px solid rgba(255,255,255,.24);box-shadow:0 14px 22px rgba(0,0,0,.20),inset 0 2px 4px rgba(255,255,255,.35);z-index:4}
.billboard-love-show .arrival-couple .person .ear{position:absolute;top:22px;width:6px;height:10px;border-radius:99px;background:#f1b191}.billboard-love-show .arrival-couple .person .ear.left{left:-3px}.billboard-love-show .arrival-couple .person .ear.right{right:-3px}
.billboard-love-show .arrival-couple .person .brow{position:absolute;top:15px;width:9px;height:2px;border-radius:3px;background:#5b3458}.billboard-love-show .arrival-couple .person .brow.left{left:10px;transform:rotate(-10deg)}.billboard-love-show .arrival-couple .person .brow.right{right:10px;transform:rotate(10deg)}
.billboard-love-show .arrival-couple .person .eye{position:absolute;top:22px;width:6px;height:8px;border-radius:99px;background:#17213d;transition:all .2s ease}.billboard-love-show .arrival-couple .person .eye.left{left:11px}.billboard-love-show .arrival-couple .person .eye.right{right:11px}
.billboard-love-show .arrival-couple .person .nose{position:absolute;left:50%;top:26px;transform:translateX(-50%);width:4px;height:8px;border-radius:4px;background:rgba(209,134,111,.55)}
.billboard-love-show .arrival-couple .person .smile{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);width:16px;height:7px;border:2px solid #963c5b;border-top:0;border-radius:0 0 16px 16px}
.billboard-love-show .arrival-couple .person .blush{position:absolute;top:28px;width:8px;height:4px;border-radius:50%;background:rgba(248,91,135,.26)}.billboard-love-show .arrival-couple .person .blush.l{left:4px}.billboard-love-show .arrival-couple .person .blush.r{right:4px}
.billboard-love-show .arrival-couple .person .hair.back{position:absolute;left:6px;top:2px;width:60px;height:60px;border-radius:50% 50% 42% 42%;background:linear-gradient(145deg,#463150,#191724);z-index:2}.billboard-love-show .arrival-couple .girl-character .hair.back{left:2px;width:67px;height:78px;background:linear-gradient(145deg,#6a3061,#231626)}
.billboard-love-show .arrival-couple .person .hair.front{position:absolute;left:12px;top:5px;width:50px;height:17px;background:linear-gradient(155deg,#5b3a5a,#1a1826);clip-path:polygon(0 0,100% 0,96% 82%,72% 42%,56% 93%,35% 50%,8% 84%);z-index:5}.billboard-love-show .arrival-couple .girl-character .hair.front{background:linear-gradient(145deg,#7c386d,#2b182d)}
.billboard-love-show .arrival-couple .person .neck{position:absolute;left:31px;top:54px;width:14px;height:13px;background:#efaa8d;border-radius:4px;z-index:2}
.billboard-love-show .arrival-couple .person .body{position:absolute;left:10px;top:61px;width:56px;height:44px;border-radius:18px 18px 12px 12px;box-shadow:0 16px 22px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.24);z-index:3}
.billboard-love-show .arrival-couple .girl-character .body{background:linear-gradient(145deg,#ff6fae,#cc57f0 56%,#7a6aff)}
.billboard-love-show .arrival-couple .boy-character .body{background:linear-gradient(145deg,#46cbff,#4f75f0 56%,#8252f0)}
.billboard-love-show .arrival-couple .person .collar{position:absolute;left:50%;top:3px;transform:translateX(-50%);width:16px;height:10px;border-radius:0 0 10px 10px;background:rgba(255,255,255,.24)}
.billboard-love-show .arrival-couple .person .arm{position:absolute;top:14px;width:32px;height:11px;border-radius:999px;background:inherit}.billboard-love-show .arrival-couple .person .arm.left{left:-16px;transform:rotate(-10deg)}.billboard-love-show .arrival-couple .person .arm.right{right:-16px;transform:rotate(10deg)}
.billboard-love-show .arrival-couple .person .leg{position:absolute;top:99px;width:13px;height:28px;border-radius:9px;background:#3f4878;z-index:1}.billboard-love-show .arrival-couple .girl-character .leg{background:#5a4087}.billboard-love-show .arrival-couple .boy-character .leg{background:#334a7f}.billboard-love-show .arrival-couple .person .leg.l{left:18px}.billboard-love-show .arrival-couple .person .leg.r{right:18px}
.billboard-love-show .arrival-couple .person .shoe{position:absolute;top:121px;width:18px;height:7px;border-radius:10px;background:#121a30;z-index:1}.billboard-love-show .arrival-couple .person .shoe.l{left:13px}.billboard-love-show .arrival-couple .person .shoe.r{right:13px}
.billboard-love-show .arrival-couple .character-name{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);white-space:nowrap;padding:3px 9px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:.02em;color:#f7fbff;background:linear-gradient(90deg,rgba(255,97,168,.16),rgba(77,193,255,.16));border:1px solid rgba(127,163,233,.18);box-shadow:0 8px 14px rgba(0,0,0,.14)}

.billboard-love-show .arrival-couple .proposal-gift{position:absolute;left:93px;top:68px;width:34px;height:44px;display:grid;place-items:center;z-index:6;animation:giftOffer 2.4s ease-in-out infinite}.billboard-love-show .arrival-couple .proposal-gift .gift-box{position:absolute;bottom:0;font-size:22px}.billboard-love-show .arrival-couple .proposal-gift .gift-rose{position:absolute;top:-3px;left:10px;font-size:19px;transform:rotate(-14deg);animation:roseWave 1.7s ease-in-out infinite}
.billboard-love-show .arrival-couple .couple-shadow{position:absolute;left:35px;bottom:10px;width:148px;height:16px;border-radius:50%;background:radial-gradient(circle,rgba(25,17,64,.44),transparent 70%);z-index:0}

/* side arrival animation */
.billboard-love-show .arrival-couple.entering .girl-character{animation:girlArriveIn 1.8s cubic-bezier(.2,.9,.18,1.02) forwards}
.billboard-love-show .arrival-couple.entering .boy-character{animation:boyArriveIn 1.8s cubic-bezier(.2,.9,.18,1.02) forwards}
.billboard-love-show .arrival-couple.entering .proposal-gift,.billboard-love-show .arrival-couple.entering .coffee-table{opacity:0}
@keyframes girlArriveIn{0%{transform:translateX(-112px) translateY(6px) scale(.86) rotate(-16deg);opacity:0}45%{opacity:1}78%{transform:translateX(10px) translateY(2px) scale(1.02) rotate(5deg)}100%{transform:translateX(0) translateY(0) scale(1) rotate(0);opacity:1}}
@keyframes boyArriveIn{0%{transform:translateX(112px) translateY(6px) scale(.86) rotate(16deg);opacity:0}45%{opacity:1}78%{transform:translateX(-10px) translateY(2px) scale(1.02) rotate(-5deg)}100%{transform:translateX(0) translateY(0) scale(1) rotate(0);opacity:1}}

/* seated pose and conversation */
.billboard-love-show .arrival-couple.seated .girl-character,.billboard-love-show .arrival-couple.seated .boy-character{top:29px}
.billboard-love-show .arrival-couple.seated .person .body{top:66px}
.billboard-love-show .arrival-couple.seated .person .leg.l{transform:rotate(56deg) translate(7px,-1px);height:22px}.billboard-love-show .arrival-couple.seated .person .leg.r{transform:rotate(-56deg) translate(-7px,-1px);height:22px}
.billboard-love-show .arrival-couple.seated .person .shoe.l{transform:translate(6px,-1px)}.billboard-love-show .arrival-couple.seated .person .shoe.r{transform:translate(-6px,-1px)}
.billboard-love-show .arrival-couple.seated .girl-character .arm.right{transform:rotate(-6deg)}.billboard-love-show .arrival-couple.seated .girl-character .arm.left{opacity:0}.billboard-love-show .arrival-couple.seated .boy-character .arm.left{transform:rotate(6deg)}.billboard-love-show .arrival-couple.seated .boy-character .arm.right{opacity:0}
.billboard-love-show .arrival-couple.seated .love-sofa{animation:seatGlow 3.3s ease-in-out infinite}
.billboard-love-show .arrival-couple.chatting .girl-character{animation:girlTalkMove 1.2s ease-in-out infinite}.billboard-love-show .arrival-couple.chatting .boy-character{animation:boyTalkMove 1.2s ease-in-out infinite .18s}
@keyframes girlTalkMove{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-2px) rotate(2.4deg)}}
@keyframes boyTalkMove{0%,100%{transform:translateY(0) rotate(2deg)}50%{transform:translateY(-2px) rotate(-2.4deg)}}
.billboard-love-show .love-speech.is-speaking{animation:bubbleTalkNow 1.1s ease-in-out infinite alternate}@keyframes bubbleTalkNow{from{transform:translateZ(45px) rotateY(-7deg) translateY(0)}to{transform:translateZ(45px) rotateY(-7deg) translateY(-3px)}}

/* wink stronger */
.billboard-love-show .arrival-couple .head.is-winking-right .eye.right,.billboard-love-show .arrival-couple .head.is-winking-left .eye.left{height:3px;top:24px;border-radius:99px}
.billboard-love-show .arrival-couple .head.is-winking-right::before,.billboard-love-show .arrival-couple .head.is-winking-left::before{content:"😉";position:absolute;top:-16px;right:-11px;font-size:17px;filter:drop-shadow(0 0 10px rgba(255,237,138,.45));animation:winkPop2 .65s ease}.billboard-love-show .arrival-couple .head.is-winking-left::before{content:"😘"}
@keyframes winkPop2{0%{transform:scale(.5) rotate(-20deg);opacity:0}45%{transform:scale(1.15) rotate(8deg);opacity:1}100%{transform:scale(1) rotate(0);opacity:1}}

/* proposal phase */
.billboard-love-show .arrival-couple.proposal-active .proposal-gift{animation:proposalGiftUp 1s ease-in-out infinite alternate;opacity:1;filter:drop-shadow(0 0 18px rgba(255,95,168,.46))}@keyframes proposalGiftUp{from{transform:translateY(2px) scale(.96) rotate(-5deg)}to{transform:translateY(-9px) scale(1.15) rotate(5deg)}}
.billboard-love-show .arrival-couple.proposal-active .boy-character{animation:proposalLeanNow 1.1s ease-in-out infinite alternate}@keyframes proposalLeanNow{from{transform:translateX(0) rotate(2deg)}to{transform:translateX(-8px) rotate(-10deg)}}

html[data-theme="light"] .billboard-love-show .arrival-note{color:#8b2e65;background:linear-gradient(90deg,#fff0f7,#edf8ff);border-color:#dfd9ef}
html[data-theme="light"] .billboard-love-show .love-sofa .sofa-back{background:linear-gradient(145deg,#9ca8ff,#59c9ff)}
html[data-theme="light"] .billboard-love-show .love-sofa .sofa-seat{background:linear-gradient(145deg,#dde8ff,#b7cdfb 55%,#d7c7ff);box-shadow:0 16px 22px rgba(144,162,196,.18),inset 0 1px 0 rgba(255,255,255,.85)}
html[data-theme="light"] .billboard-love-show .character-name{color:#27415f}
@media(max-width:1120px){.billboard-love-show .arrival-couple{width:198px;height:190px}.billboard-love-show .arrival-couple .proposal-gift{left:84px}.billboard-love-show .coffee-table{left:72px}}
@media(max-width:700px){.billboard-love-show .arrival-couple{width:176px;height:178px}.billboard-love-show .arrival-couple .person{width:66px;height:120px}.billboard-love-show .arrival-couple .person .head{width:45px;height:45px}.billboard-love-show .arrival-couple .person .body{width:49px}.billboard-love-show .arrival-couple .proposal-gift{left:74px;top:62px}.billboard-love-show .coffee-table{display:none}.billboard-love-show .arrival-note{font-size:9px}}

/* =========================================================
   v2.7.0 — Arrival → Sit → Talk Young-Adult Character Scene
   UI/animation only. Image/PDF processing engine is untouched.
   ========================================================= */
@media(min-width:1121px){
  .hero{grid-template-columns:minmax(0,1fr) minmax(450px,570px)!important}
  .hero-art{display:none!important}
}
.billboard-love-show{grid-template-columns:minmax(170px,1fr) 270px!important;min-height:270px;padding:24px 22px 56px!important;overflow:hidden!important}
.billboard-love-show .love-speech{transform:translateZ(42px) rotateY(-4deg)!important;min-height:154px!important}
.billboard-love-show .love-speech[data-speaker^="PDFu Kumar"]::before{background:linear-gradient(135deg,rgba(55,178,255,.18),rgba(74,102,255,.16));border-color:rgba(79,190,255,.25);color:#b9eaff}
.billboard-love-show .love-speech[data-speaker^="Resize Rani"]::before{background:linear-gradient(135deg,rgba(255,92,177,.19),rgba(132,92,255,.17));border-color:rgba(255,119,199,.25);color:#ffc5e6}
.billboard-love-show .love-speech[data-speaker^="दोनों"]::before,.billboard-love-show .love-speech[data-speaker^="Show"]::before{background:linear-gradient(135deg,rgba(255,188,77,.18),rgba(255,88,152,.16));border-color:rgba(255,195,92,.26);color:#ffe3a7}

.arrival-couple{position:relative!important;width:270px!important;height:218px!important;justify-self:end!important;align-self:center!important;animation:none!important;transform:none!important;filter:drop-shadow(0 27px 30px rgba(3,10,33,.38))!important;overflow:visible;perspective:900px;transform-style:preserve-3d}
.arrival-couple .love-orbit{left:23px!important;top:11px!important;width:225px!important;height:166px!important;opacity:.7}
.arrival-couple .couple-shadow{left:37px!important;bottom:8px!important;width:200px!important;height:22px!important}

/* sofa and table appear only after the characters arrive */
.love-sofa{position:absolute;z-index:1;left:25px;top:91px;width:220px;height:99px;opacity:0;transform:translateY(24px) scale(.84) rotateX(10deg);transform-origin:center bottom;transition:opacity .55s ease,transform .75s cubic-bezier(.18,.89,.32,1.28)}
.love-sofa .sofa-back{position:absolute;left:16px;top:0;width:188px;height:65px;border-radius:34px 34px 18px 18px;background:linear-gradient(155deg,#4c4ce3,#7e41e8 55%,#d14cae);border:1px solid rgba(255,255,255,.22);box-shadow:inset 0 3px 0 rgba(255,255,255,.18),0 20px 26px rgba(16,9,52,.30)}
.love-sofa .sofa-back::before{content:"";position:absolute;inset:12px 16px 13px;border-radius:22px;background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.02));border:1px solid rgba(255,255,255,.10)}
.love-sofa .sofa-seat{position:absolute;left:13px;top:52px;width:194px;height:35px;border-radius:12px 12px 22px 22px;background:linear-gradient(180deg,#8b5cf5,#513dc9);box-shadow:inset 0 3px 0 rgba(255,255,255,.15),0 13px 18px rgba(7,8,37,.28)}
.love-sofa .sofa-seat::after{content:"";position:absolute;left:96px;top:5px;width:1px;height:23px;background:rgba(255,255,255,.15)}
.love-sofa .sofa-arm{position:absolute;z-index:3;top:45px;width:30px;height:44px;border-radius:14px 14px 18px 18px;background:linear-gradient(155deg,#6c55ee,#452cae);box-shadow:inset 0 2px 0 rgba(255,255,255,.15)}
.love-sofa .sofa-arm.left{left:0}.love-sofa .sofa-arm.right{right:0}
.love-sofa .sofa-leg{position:absolute;top:84px;width:12px;height:17px;border-radius:3px;background:linear-gradient(180deg,#d59a68,#68442d)}
.love-sofa .sofa-leg.left{left:35px}.love-sofa .sofa-leg.right{right:35px}
.coffee-table{position:absolute;z-index:12;left:104px;bottom:7px;width:67px;height:48px;opacity:0;transform:translateY(26px) scale(.75);transition:opacity .55s ease .25s,transform .72s cubic-bezier(.18,.89,.32,1.28) .25s}
.coffee-table .table-top{position:absolute;left:0;top:4px;width:67px;height:15px;border-radius:50%;background:linear-gradient(180deg,#89e8ff,#4086e3);border:1px solid rgba(255,255,255,.25);box-shadow:0 8px 13px rgba(0,0,0,.22),inset 0 2px 0 rgba(255,255,255,.32)}
.coffee-table .table-leg{position:absolute;left:29px;top:15px;width:9px;height:28px;border-radius:6px;background:linear-gradient(180deg,#386fa8,#1d3157)}
.coffee-table .coffee-cup{position:absolute;z-index:2;left:24px;top:-10px;font-size:19px;filter:drop-shadow(0 6px 5px rgba(0,0,0,.24));animation:coffeeSteam 2.6s ease-in-out infinite}
@keyframes coffeeSteam{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}

/* refined, less puppet-like young-adult avatars */
.arrival-couple .person{top:32px!important;width:78px!important;height:163px!important;animation:none!important;transform-style:preserve-3d;opacity:0;will-change:transform,opacity}
.arrival-couple .girl-character{left:34px!important;right:auto!important;transform:translateX(-430px) rotate(-10deg) scale(.96)}
.arrival-couple .boy-character{right:32px!important;left:auto!important;transform:translateX(430px) rotate(10deg) scale(.96)}
.arrival-couple .person .head{left:14px!important;top:5px!important;width:51px!important;height:58px!important;border-radius:48% 48% 45% 45%!important;background:linear-gradient(145deg,#ffe1ce,#f1ad90 72%,#d98267)!important;box-shadow:inset 4px 4px 6px rgba(255,255,255,.23),inset -5px -5px 8px rgba(151,71,55,.10),0 12px 20px rgba(14,7,29,.23)!important}
.arrival-couple .person .head::after{content:""!important;position:absolute!important;left:12px!important;top:7px!important;width:18px!important;height:11px!important;border-radius:50%!important;background:rgba(255,255,255,.30)!important;filter:blur(1px)!important}
.arrival-couple .person .head .ear{position:absolute;z-index:-1;top:22px;width:9px;height:14px;border-radius:50%;background:#edaa8f;box-shadow:inset 1px 0 2px rgba(142,65,55,.16)}
.arrival-couple .person .head .ear.left{left:-5px}.arrival-couple .person .head .ear.right{right:-5px}
.arrival-couple .person .head .brow{position:absolute;z-index:5;top:18px;width:12px;height:3px;border-radius:99px;background:#3b2533;transition:transform .18s}
.arrival-couple .person .head .brow.left{left:9px;transform:rotate(-5deg)}.arrival-couple .person .head .brow.right{right:9px;transform:rotate(5deg)}
.arrival-couple .person .head .eye{top:25px!important;width:6px!important;height:8px!important;background:#17213b!important;box-shadow:0 1px 0 rgba(255,255,255,.08)}
.arrival-couple .person .head .eye.left{left:12px!important}.arrival-couple .person .head .eye.right{right:12px!important}
.arrival-couple .person .head .nose{position:absolute;z-index:5;left:50%;top:30px;width:5px;height:8px;border-radius:55% 55% 65% 45%;border-right:1.5px solid rgba(142,68,56,.38);border-bottom:1.5px solid rgba(142,68,56,.22);transform:translateX(-50%) rotate(8deg)}
.arrival-couple .person .head .smile{bottom:9px!important;width:16px!important;height:8px!important;border-width:2px!important;background:rgba(255,105,137,.08)}
.arrival-couple .person .head .blush{top:38px!important;width:9px!important;height:4px!important;background:rgba(247,90,126,.20)!important}
.arrival-couple .person .hair.back{left:5px!important;top:-1px!important;width:68px!important;height:72px!important;border-radius:48% 52% 42% 42%!important;box-shadow:0 11px 18px rgba(9,5,22,.28)!important}
.arrival-couple .girl-character .hair.back{background:linear-gradient(145deg,#5e244b,#251222 65%,#130d16)!important;height:92px!important;clip-path:polygon(8% 0,92% 0,100% 70%,91% 100%,72% 82%,50% 100%,28% 84%,8% 100%,0 66%)}
.arrival-couple .boy-character .hair.back{background:linear-gradient(145deg,#263750,#111722)!important;height:63px!important;clip-path:polygon(3% 20%,18% 2%,36% 11%,53% 0,69% 12%,88% 7%,100% 29%,93% 83%,6% 84%)}
.arrival-couple .person .hair.front{left:9px!important;top:0!important;width:59px!important;height:25px!important}
.arrival-couple .girl-character .hair.front{background:linear-gradient(145deg,#71305c,#281424)!important;clip-path:polygon(0 0,100% 0,95% 60%,75% 42%,59% 92%,39% 43%,13% 75%)}
.arrival-couple .boy-character .hair.front{background:linear-gradient(145deg,#344b68,#10151d)!important;clip-path:polygon(0 30%,13% 0,31% 19%,47% 0,61% 20%,80% 4%,100% 34%,91% 83%,11% 83%)}
.arrival-couple .person .neck{left:32px!important;top:58px!important;width:15px!important;height:15px!important;background:linear-gradient(90deg,#e7a184,#f2b79a)!important}
.arrival-couple .person .body{left:10px!important;top:67px!important;width:60px!important;height:57px!important;border-radius:20px 20px 15px 15px!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.22),0 14px 20px rgba(8,13,43,.23)!important}
.arrival-couple .girl-character .body{background:linear-gradient(145deg,#ff73b7,#ae52ef 65%,#6f55df)!important}
.arrival-couple .boy-character .body{background:linear-gradient(145deg,#43c2ff,#4969ed 65%,#6437d5)!important}
.arrival-couple .person .body .collar{position:absolute;left:21px;top:0;width:18px;height:11px;background:linear-gradient(135deg,rgba(255,255,255,.75),rgba(230,239,255,.25));clip-path:polygon(0 0,50% 100%,100% 0,72% 0,50% 54%,28% 0)}
.arrival-couple .person .body .arm{position:absolute!important;top:12px!important;width:39px!important;height:12px!important;border-radius:999px!important;background:inherit!important;box-shadow:inset 0 2px 0 rgba(255,255,255,.12)!important;transform-origin:8px center}
.arrival-couple .girl-character .body .arm.left{left:-28px;transform:rotate(18deg)}
.arrival-couple .girl-character .body .arm.right{right:-27px;transform:rotate(-22deg)}
.arrival-couple .boy-character .body .arm.left{left:-27px;transform:rotate(22deg)}
.arrival-couple .boy-character .body .arm.right{right:-28px;transform:rotate(-18deg)}
.arrival-couple .person .leg{top:116px!important;width:17px!important;height:39px!important;border-radius:10px!important;background:linear-gradient(180deg,#34466d,#202c4c)!important;transform-origin:top center}
.arrival-couple .girl-character .leg{background:linear-gradient(180deg,#51407e,#332858)!important}
.arrival-couple .person .leg.l{left:20px!important}.arrival-couple .person .leg.r{right:19px!important}
.arrival-couple .person .shoe{position:absolute;z-index:6;top:148px;width:24px;height:10px;border-radius:12px 15px 8px 8px;background:linear-gradient(180deg,#f7fbff,#a9bad0);box-shadow:0 5px 8px rgba(0,0,0,.20)}
.arrival-couple .girl-character .shoe{background:linear-gradient(180deg,#fff1fa,#d992c1)}
.arrival-couple .person .shoe.l{left:14px}.arrival-couple .person .shoe.r{right:12px}
.character-name{position:absolute;z-index:18;top:165px;left:50%;transform:translateX(-50%);min-width:96px;padding:5px 8px;border-radius:999px;text-align:center;font-size:9px;font-weight:900;white-space:nowrap;color:#fff;background:linear-gradient(135deg,rgba(17,31,65,.96),rgba(45,28,87,.94));border:1px solid rgba(255,255,255,.18);box-shadow:0 9px 14px rgba(0,0,0,.20);opacity:0;transition:opacity .45s ease .2s,transform .45s ease .2s}
.girl-name{color:#ffd3e9}.boy-name{color:#c8edff}

.arrival-note{position:absolute;z-index:30;left:50%;bottom:-7px;transform:translateX(-50%);width:max-content;max-width:260px;padding:6px 10px;border-radius:999px;background:rgba(5,14,34,.88);border:1px solid rgba(108,162,235,.22);color:#dbeaff;font-size:9px;font-weight:850;text-align:center;box-shadow:0 10px 16px rgba(0,0,0,.20);opacity:0;transition:opacity .35s,transform .35s}
.arrival-note.is-hidden{opacity:0!important;transform:translate(-50%,10px)!important}

/* Enter from opposite sides */
.arrival-couple.scene-enter .girl-character{animation:resizeRaniEnter 2.55s cubic-bezier(.16,.86,.28,1.02) forwards!important}
.arrival-couple.scene-enter .boy-character{animation:pdfuKumarEnter 2.55s cubic-bezier(.16,.86,.28,1.02) forwards!important}
.arrival-couple.scene-enter .arrival-note{opacity:1;transform:translateX(-50%)}
.arrival-couple.scene-enter .love-sofa{animation:sofaArrival .78s cubic-bezier(.18,.89,.32,1.28) 1.72s forwards}
.arrival-couple.scene-enter .coffee-table{animation:tableArrival .7s cubic-bezier(.18,.89,.32,1.28) 2.0s forwards}
@keyframes resizeRaniEnter{0%{opacity:0;transform:translateX(-430px) translateY(-12px) rotate(-12deg) scale(.9)}58%{opacity:1;transform:translateX(8px) translateY(-5px) rotate(3deg) scale(1.08)}78%{transform:translateX(-5px) translateY(0) rotate(-2deg) scale(1.05)}100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1.05)}}
@keyframes pdfuKumarEnter{0%{opacity:0;transform:translateX(430px) translateY(-12px) rotate(12deg) scale(.9)}58%{opacity:1;transform:translateX(-8px) translateY(-5px) rotate(-3deg) scale(1.08)}78%{transform:translateX(5px) translateY(0) rotate(2deg) scale(1.05)}100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1.05)}}
@keyframes sofaArrival{0%{opacity:0;transform:translateY(28px) scale(.80) rotateX(10deg)}100%{opacity:1;transform:translateY(0) scale(1) rotateX(0)}}
@keyframes tableArrival{0%{opacity:0;transform:translateY(28px) scale(.72)}100%{opacity:1;transform:translateY(0) scale(1)}}

/* Sit down, then continue subtle human motion */
.arrival-couple.scene-seated .love-sofa{opacity:1;transform:translateY(0) scale(1) rotateX(0)}
.arrival-couple.scene-seated .coffee-table{opacity:1;transform:translateY(0) scale(1)}
.arrival-couple.scene-seated .girl-character{opacity:1;animation:resizeRaniSit 1s cubic-bezier(.18,.89,.32,1.24) forwards, seatedGirlMotion 4.4s ease-in-out 1.05s infinite!important}
.arrival-couple.scene-seated .boy-character{opacity:1;animation:pdfuKumarSit 1s cubic-bezier(.18,.89,.32,1.24) forwards, seatedBoyMotion 4.4s ease-in-out 1.18s infinite!important}
.arrival-couple.scene-seated .character-name{opacity:1;transform:translateX(-50%) translateY(0)}
.arrival-couple.scene-seated .girl-character .leg.l{transform:rotate(69deg) translate(3px,-2px)!important}.arrival-couple.scene-seated .girl-character .leg.r{transform:rotate(76deg) translate(3px,-2px)!important}
.arrival-couple.scene-seated .boy-character .leg.l{transform:rotate(72deg) translate(3px,-2px)!important}.arrival-couple.scene-seated .boy-character .leg.r{transform:rotate(66deg) translate(3px,-2px)!important}
.arrival-couple.scene-seated .person .shoe{top:139px!important}.arrival-couple.scene-seated .person .shoe.l{left:35px!important}.arrival-couple.scene-seated .person .shoe.r{right:-6px!important}
@keyframes resizeRaniSit{0%{transform:translateY(0) scale(1.05)}55%{transform:translateY(20px) scale(1.03)}82%{transform:translateY(14px) scale(1.04)}100%{transform:translateY(16px) scale(1.04)}}
@keyframes pdfuKumarSit{0%{transform:translateY(0) scale(1.05)}55%{transform:translateY(20px) scale(1.03)}82%{transform:translateY(14px) scale(1.04)}100%{transform:translateY(16px) scale(1.04)}}
@keyframes seatedGirlMotion{0%,100%{translate:0 16px;rotate:-.6deg}50%{translate:0 13px;rotate:.8deg}}
@keyframes seatedBoyMotion{0%,100%{translate:0 16px;rotate:.7deg}50%{translate:0 13px;rotate:-.8deg}}

/* talking/nodding reactions */
.billboard-love-show:has(.love-speech.girl-speaking.is-speaking) .girl-character .head{animation:raniTalkNod .58s ease-in-out infinite alternate}
.billboard-love-show:has(.love-speech.boy-speaking.is-speaking) .boy-character .head{animation:pdfuTalkNod .58s ease-in-out infinite alternate}
.billboard-love-show:has(.love-speech.together-speaking.is-speaking) .girl-character .head,.billboard-love-show:has(.love-speech.together-speaking.is-speaking) .boy-character .head{animation:togetherTalk .62s ease-in-out infinite alternate}
.billboard-love-show:has(.love-speech.girl-speaking.is-speaking) .girl-character .smile,.billboard-love-show:has(.love-speech.boy-speaking.is-speaking) .boy-character .smile,.billboard-love-show:has(.love-speech.together-speaking.is-speaking) .person .smile{animation:talkMouth .32s ease-in-out infinite alternate}
@keyframes raniTalkNod{from{transform:rotate(-2deg) translateY(0)}to{transform:rotate(2deg) translateY(-2px)}}
@keyframes pdfuTalkNod{from{transform:rotate(2deg) translateY(0)}to{transform:rotate(-2deg) translateY(-2px)}}
@keyframes togetherTalk{from{transform:translateY(0)}to{transform:translateY(-2px)}}
@keyframes talkMouth{from{height:5px;width:14px}to{height:10px;width:17px}}

/* visible wink + name reactions */
.arrival-couple .person .head.is-winking-right .eye.right,.arrival-couple .person .head.is-winking-left .eye.left{height:3px!important;top:29px!important;transform:rotate(-8deg)!important}
.arrival-couple .person .head.is-winking-right .brow.right{transform:translateY(2px) rotate(9deg)}
.arrival-couple .person .head.is-winking-left .brow.left{transform:translateY(2px) rotate(-9deg)}
.arrival-couple .person .head.is-winking-right::before,.arrival-couple .person .head.is-winking-left::before{top:-15px!important;right:-15px!important;font-size:20px!important}

/* proposal while seated */
.arrival-couple.scene-seated .proposal-gift{left:121px!important;top:91px!important;opacity:.12;transform:scale(.72);transition:opacity .35s,transform .35s}
.arrival-couple.scene-seated.proposal-active .proposal-gift{opacity:1;transform:translateY(-9px) scale(1.2)!important;animation:seatedProposalPop .88s ease-in-out infinite alternate!important}
.arrival-couple.scene-seated.proposal-active .boy-character{animation:proposalSeatedBow 1.1s ease-in-out infinite alternate!important}
@keyframes seatedProposalPop{from{transform:translateY(2px) scale(.94) rotate(-5deg)}to{transform:translateY(-12px) scale(1.2) rotate(5deg)}}
@keyframes proposalSeatedBow{from{translate:0 16px;rotate:0}to{translate:-6px 20px;rotate:-6deg}}

html[data-theme="light"] .arrival-note{background:rgba(255,255,255,.92);border-color:#d1dff3;color:#294361;box-shadow:0 10px 16px rgba(130,151,184,.16)}
html[data-theme="light"] .character-name{background:linear-gradient(135deg,#ffffff,#edf3ff);border-color:#cedbf0;box-shadow:0 9px 14px rgba(130,151,184,.16)}
html[data-theme="light"] .girl-name{color:#9d306c}html[data-theme="light"] .boy-name{color:#17628f}
html[data-theme="light"] .love-sofa .sofa-back{box-shadow:inset 0 3px 0 rgba(255,255,255,.26),0 18px 25px rgba(100,91,176,.18)}

@media(max-width:1390px){
  .billboard-love-show{grid-template-columns:minmax(150px,1fr) 240px!important}
  .arrival-couple{width:242px!important;transform:scale(.91)!important;transform-origin:center right!important}
}
@media(max-width:1120px){
  .billboard-love-show{grid-template-columns:minmax(0,1fr) 270px!important;max-width:700px!important}
  .arrival-couple{width:270px!important;transform:none!important;justify-self:center!important}
}
@media(max-width:700px){
  .billboard-love-show{grid-template-columns:1fr!important;padding-bottom:70px!important}
  .arrival-couple{grid-row:1!important;width:270px!important;justify-self:center!important}
  .billboard-love-show .love-speech{grid-row:2!important;transform:none!important}
  .arrival-note{bottom:-3px}
}
@media(prefers-reduced-motion:reduce){
  .arrival-couple .person,.love-sofa,.coffee-table{opacity:1!important;transform:none!important;animation:none!important}
  .arrival-note{display:none!important}
}

/* =========================================================
   v2.7.1 — Compact Luna ❤️ Leo standing proposal scene
   UI/animation only. Real image/PDF processing is untouched.
   ========================================================= */
@media(min-width:1121px){
  .hero{grid-template-columns:minmax(0,1fr) 390px!important;min-height:207px!important;align-items:center!important}
  .hero-art{display:none!important}
}
.compact-love-stage{position:relative!important;width:100%!important;max-width:390px!important;min-height:178px!important;height:178px!important;grid-template-columns:164px 190px!important;grid-template-rows:128px 28px!important;gap:7px 10px!important;padding:12px 12px 34px!important;border-radius:22px!important;overflow:hidden!important;animation:none!important;align-self:center!important}
.compact-love-stage::before{inset:7px!important;border-radius:17px!important}
.compact-love-stage::after{height:42%!important;opacity:.7}
.compact-love-stage .guide-speech{width:164px!important;max-width:164px!important;min-height:116px!important;height:116px!important;padding:11px 11px 9px!important;border-radius:16px!important;transform:none!important;align-self:start!important;overflow:hidden!important}
.compact-love-stage .guide-speech::after{right:-8px!important;bottom:24px!important;width:16px!important;height:16px!important}
.compact-love-stage .guide-tag{height:20px!important;padding:0 7px!important;margin-bottom:5px!important;font-size:8.5px!important;letter-spacing:.02em!important}
.compact-love-stage .love-speech::before{height:19px!important;padding:0 7px!important;margin:0 0 5px 2px!important;font-size:8px!important}
.compact-love-stage .love-speech p{min-height:55px!important;max-height:55px!important;overflow:hidden!important;font-size:10.4px!important;line-height:1.42!important;font-weight:720!important}
.compact-love-stage .typing-caret{height:11px!important}

.compact-love-stage .realistic-couple{position:relative!important;width:190px!important;height:132px!important;justify-self:end!important;align-self:start!important;animation:none!important;transform:none!important;filter:drop-shadow(0 18px 18px rgba(3,10,33,.30))!important;overflow:visible!important;perspective:800px!important}
.compact-love-stage .realistic-couple .love-orbit{left:10px!important;top:5px!important;width:168px!important;height:105px!important;opacity:.56!important;border-color:rgba(83,209,255,.22)!important}
.compact-love-stage .realistic-couple .love-heart{font-size:10px!important;z-index:18!important}
.compact-love-stage .realistic-couple .h1{left:80px!important;top:8px!important}.compact-love-stage .realistic-couple .h2{left:96px!important;top:23px!important}.compact-love-stage .realistic-couple .h3{left:71px!important;top:31px!important}
.compact-love-stage .realistic-couple .couple-shadow{left:24px!important;bottom:1px!important;width:145px!important;height:12px!important;opacity:.65!important}

/* old furniture must never occupy space in compact standing scene */
.compact-love-stage .love-sofa,.compact-love-stage .coffee-table{display:none!important}

/* semi-realistic young-adult proportions: smaller head, taller body, shaded skin */
.compact-love-stage .realistic-couple .person{position:absolute!important;top:7px!important;width:64px!important;height:121px!important;opacity:0!important;animation:none!important;transform:none!important;transform-origin:center 78px!important;transition:none!important;z-index:8!important}
.compact-love-stage .realistic-couple .luna-character{left:11px!important}.compact-love-stage .realistic-couple .leo-character{right:11px!important}
.compact-love-stage .realistic-couple .person .head{left:14px!important;top:2px!important;width:37px!important;height:45px!important;border-radius:46% 46% 43% 43%!important;background:radial-gradient(circle at 33% 24%,#fff4ea 0 8%,transparent 9%),linear-gradient(155deg,#f8d1bc,#dda084 62%,#bf775f)!important;border:1px solid rgba(255,255,255,.30)!important;box-shadow:0 8px 13px rgba(0,0,0,.18),inset 0 2px 3px rgba(255,255,255,.38),inset -4px -5px 8px rgba(151,77,54,.10)!important;z-index:6!important}
.compact-love-stage .realistic-couple .person .head::after{content:"";position:absolute;left:7px;top:5px;width:11px;height:6px;border-radius:50%;background:rgba(255,255,255,.24);filter:blur(.4px)}
.compact-love-stage .realistic-couple .person .ear{top:19px!important;width:4px!important;height:8px!important;background:#dea082!important}.compact-love-stage .realistic-couple .person .ear.left{left:-2px!important}.compact-love-stage .realistic-couple .person .ear.right{right:-2px!important}
.compact-love-stage .realistic-couple .person .brow{top:13px!important;width:8px!important;height:1.6px!important;background:#4b2f36!important}.compact-love-stage .realistic-couple .person .brow.left{left:7px!important}.compact-love-stage .realistic-couple .person .brow.right{right:7px!important}
.compact-love-stage .realistic-couple .person .eye{top:18px!important;width:4.5px!important;height:6px!important;background:radial-gradient(circle at 60% 35%,#fff 0 15%,#27304c 18% 72%,#0f1728 75%)!important;box-shadow:0 0 0 1px rgba(76,40,47,.10)!important}.compact-love-stage .realistic-couple .person .eye.left{left:8px!important}.compact-love-stage .realistic-couple .person .eye.right{right:8px!important}
.compact-love-stage .realistic-couple .person .nose{top:22px!important;width:3px!important;height:7px!important;background:linear-gradient(180deg,rgba(178,105,82,.18),rgba(168,86,67,.48))!important}
.compact-love-stage .realistic-couple .person .smile{bottom:7px!important;width:12px!important;height:5px!important;border-width:1.7px!important;border-color:#9c3d55!important}
.compact-love-stage .realistic-couple .person .blush{top:26px!important;width:6px!important;height:3px!important;background:rgba(238,91,127,.18)!important}
.compact-love-stage .realistic-couple .person .hair.back{left:9px!important;top:-2px!important;width:47px!important;height:51px!important;border-radius:50% 50% 42% 42%!important;background:linear-gradient(150deg,#332631,#100f16 68%,#05070b)!important;box-shadow:inset 3px 2px 5px rgba(255,255,255,.07)!important}.compact-love-stage .realistic-couple .luna-character .hair.back{left:7px!important;width:51px!important;height:62px!important;background:linear-gradient(150deg,#513245,#181018 70%,#09070a)!important}
.compact-love-stage .realistic-couple .person .hair.front{left:13px!important;top:0!important;width:39px!important;height:14px!important;background:linear-gradient(155deg,#3d2c38,#111018)!important;clip-path:polygon(0 0,100% 0,96% 72%,75% 40%,57% 86%,37% 43%,8% 78%)!important}.compact-love-stage .realistic-couple .luna-character .hair.front{background:linear-gradient(150deg,#60394f,#1c111a)!important}
.compact-love-stage .realistic-couple .person .neck{left:28px!important;top:42px!important;width:9px!important;height:9px!important;background:linear-gradient(180deg,#dea082,#c78469)!important}
.compact-love-stage .realistic-couple .person .body{left:14px!important;top:49px!important;width:37px!important;height:43px!important;border-radius:11px 11px 8px 8px!important;box-shadow:0 10px 13px rgba(0,0,0,.17),inset 0 1px 0 rgba(255,255,255,.25)!important}
.compact-love-stage .realistic-couple .luna-character .body{background:linear-gradient(145deg,#dc5c91,#9b4fd2 58%,#535ed8)!important}.compact-love-stage .realistic-couple .leo-character .body{background:linear-gradient(145deg,#29a9d7,#356fc8 58%,#5647c5)!important}
.compact-love-stage .realistic-couple .person .collar{left:11px!important;top:0!important;width:15px!important;height:8px!important;background:rgba(255,255,255,.72)!important;clip-path:polygon(0 0,50% 100%,100% 0,68% 0,50% 50%,32% 0)!important}
.compact-love-stage .realistic-couple .person .body .arm{top:9px!important;width:27px!important;height:8px!important;border-radius:999px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.13)!important;transform-origin:6px center!important}
.compact-love-stage .realistic-couple .luna-character .body .arm.left{left:-20px!important;transform:rotate(17deg)!important}.compact-love-stage .realistic-couple .luna-character .body .arm.right{right:-20px!important;transform:rotate(-18deg)!important}.compact-love-stage .realistic-couple .leo-character .body .arm.left{left:-20px!important;transform:rotate(18deg)!important}.compact-love-stage .realistic-couple .leo-character .body .arm.right{right:-20px!important;transform:rotate(-17deg)!important}
.compact-love-stage .realistic-couple .person .leg{top:88px!important;width:10px!important;height:27px!important;border-radius:7px!important;background:linear-gradient(180deg,#33425f,#1c263d)!important}.compact-love-stage .realistic-couple .luna-character .leg{background:linear-gradient(180deg,#493a66,#2a2440)!important}.compact-love-stage .realistic-couple .person .leg.l{left:20px!important}.compact-love-stage .realistic-couple .person .leg.r{right:19px!important}
.compact-love-stage .realistic-couple .person .shoe{top:112px!important;width:15px!important;height:6px!important;border-radius:8px 10px 5px 5px!important;background:linear-gradient(180deg,#f6f8ff,#9ba9bd)!important}.compact-love-stage .realistic-couple .luna-character .shoe{background:linear-gradient(180deg,#ffe9f4,#c97da9)!important}.compact-love-stage .realistic-couple .person .shoe.l{left:16px!important}.compact-love-stage .realistic-couple .person .shoe.r{right:15px!important}
.compact-love-stage .character-name{top:119px!important;min-width:64px!important;padding:3px 6px!important;font-size:7.5px!important;opacity:0!important;background:linear-gradient(135deg,rgba(15,29,57,.94),rgba(42,25,75,.92))!important}

/* side entry, then standing conversation */
.compact-love-stage .realistic-couple.scene-waiting .luna-character{transform:translateX(-155px) scale(.9)!important}.compact-love-stage .realistic-couple.scene-waiting .leo-character{transform:translateX(155px) scale(.9)!important}
.compact-love-stage .realistic-couple.scene-enter .luna-character{animation:lunaCompactEnter 1.95s cubic-bezier(.16,.86,.28,1.02) forwards!important}.compact-love-stage .realistic-couple.scene-enter .leo-character{animation:leoCompactEnter 1.95s cubic-bezier(.16,.86,.28,1.02) forwards!important}
@keyframes lunaCompactEnter{0%{opacity:0;transform:translateX(-155px) translateY(4px) rotate(-7deg) scale(.88)}65%{opacity:1;transform:translateX(5px) translateY(-3px) rotate(2deg) scale(1.02)}100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}}
@keyframes leoCompactEnter{0%{opacity:0;transform:translateX(155px) translateY(4px) rotate(7deg) scale(.88)}65%{opacity:1;transform:translateX(-5px) translateY(-3px) rotate(-2deg) scale(1.02)}100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}}
.compact-love-stage .realistic-couple.scene-arrived .person{opacity:1!important;transform:translateX(0) translateY(0) scale(1)!important}.compact-love-stage .realistic-couple.scene-arrived .character-name{opacity:1!important;transform:translateX(-50%) translateY(0)!important}
.compact-love-stage .realistic-couple.chatting.scene-arrived .luna-character{animation:lunaStandingTalk 3.4s ease-in-out infinite!important}.compact-love-stage .realistic-couple.chatting.scene-arrived .leo-character{animation:leoStandingTalk 3.4s ease-in-out .2s infinite!important}
@keyframes lunaStandingTalk{0%,100%{transform:translateY(0) rotate(-.6deg)}50%{transform:translateY(-2px) rotate(.7deg)}}
@keyframes leoStandingTalk{0%,100%{transform:translateY(0) rotate(.6deg)}50%{transform:translateY(-2px) rotate(-.7deg)}}

/* Luna proposes and gives PDF Smart Tools Pro to Leo */
.compact-love-stage .luna-gift{position:absolute!important;z-index:22!important;left:73px!important;top:47px!important;width:54px!important;height:40px!important;opacity:0!important;transform:translateX(-11px) translateY(8px) scale(.72)!important;transition:opacity .28s ease,transform .32s ease!important}
.compact-love-stage .luna-gift .gift-box{position:absolute;left:0;bottom:0;font-size:18px!important;filter:drop-shadow(0 5px 6px rgba(0,0,0,.22))}.compact-love-stage .luna-gift .gift-rose{position:absolute;right:-3px;top:-8px;font-size:15px!important}.compact-love-stage .luna-gift .gift-card{position:absolute;left:15px;top:1px;width:43px;height:28px;padding:4px 3px;border-radius:7px;background:linear-gradient(145deg,#1fc7ff,#6655ef 58%,#b046e9);border:1px solid rgba(255,255,255,.35);box-shadow:0 7px 12px rgba(43,50,157,.30),inset 0 1px 0 rgba(255,255,255,.36);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;line-height:1}.compact-love-stage .luna-gift .gift-card b{font-size:6.8px}.compact-love-stage .luna-gift .gift-card small{font-size:5.8px;color:#eaf8ff;margin-top:2px}
.compact-love-stage .realistic-couple.proposal-active .luna-gift{opacity:1!important;animation:lunaGiftOffer .9s ease-in-out infinite alternate!important}.compact-love-stage .realistic-couple.proposal-active .luna-character{animation:lunaProposalLean 1s ease-in-out infinite alternate!important}.compact-love-stage .realistic-couple.proposal-active .leo-character{animation:leoHappyLean 1s ease-in-out infinite alternate!important}.compact-love-stage .realistic-couple.proposal-active .luna-character .body .arm.right{transform:rotate(-3deg) translateX(8px)!important}.compact-love-stage .realistic-couple.proposal-active .leo-character .body .arm.left{transform:rotate(4deg) translateX(-5px)!important}
@keyframes lunaGiftOffer{from{transform:translateX(-7px) translateY(4px) scale(.88) rotate(-4deg)}to{transform:translateX(3px) translateY(-5px) scale(1.05) rotate(4deg)}}
@keyframes lunaProposalLean{from{transform:translateX(0) rotate(0)}to{transform:translateX(4px) rotate(2.5deg)}}
@keyframes leoHappyLean{from{transform:translateX(0) rotate(0)}to{transform:translateX(-3px) rotate(-2deg)}}

.compact-love-stage .arrival-note{left:50%!important;bottom:0!important;max-width:180px!important;padding:4px 7px!important;font-size:7.5px!important;opacity:0!important}.compact-love-stage .realistic-couple.scene-enter .arrival-note,.compact-love-stage .realistic-couple.scene-arrived .arrival-note{opacity:1!important;transform:translateX(-50%)!important}.compact-love-stage .arrival-note.is-hidden{opacity:0!important;transform:translate(-50%,7px)!important}
.compact-love-stage .love-promo-text{grid-column:1/3!important;grid-row:2!important;width:100%!important;height:27px!important;padding:5px 9px!important;border-radius:11px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;transform:none!important}.compact-love-stage .love-promo-text b{font-size:10px!important}.compact-love-stage .love-promo-text small{font-size:7.2px!important}
.compact-love-stage .billboard-ribbon{left:10px!important;right:10px!important;bottom:5px!important;height:20px!important;padding:0 8px!important;font-size:6.5px!important;border-radius:999px!important}.compact-love-stage .billboard-floor{height:34px!important;bottom:-7px!important}

/* visible wink but not oversized */
.compact-love-stage .realistic-couple .person .head.is-winking-right .eye.right,.compact-love-stage .realistic-couple .person .head.is-winking-left .eye.left{height:2px!important;top:20px!important;transform:rotate(-7deg)!important}.compact-love-stage .realistic-couple .person .head.is-winking-right::before,.compact-love-stage .realistic-couple .person .head.is-winking-left::before{top:-10px!important;right:-9px!important;font-size:12px!important}

html[data-theme="light"] .compact-love-stage .luna-gift .gift-card{box-shadow:0 7px 12px rgba(90,104,188,.23),inset 0 1px 0 rgba(255,255,255,.55)}

@media(max-width:1390px) and (min-width:1121px){
  .hero{grid-template-columns:minmax(0,1fr) 360px!important}
  .compact-love-stage{max-width:360px!important;grid-template-columns:150px 176px!important}
  .compact-love-stage .guide-speech{width:150px!important;max-width:150px!important}
  .compact-love-stage .realistic-couple{width:176px!important;transform:scale(.94)!important;transform-origin:center right!important}
}
@media(max-width:1120px){
  .hero{grid-template-columns:minmax(0,1fr) 350px!important;min-height:194px!important;padding:20px!important}
  .hero-art{display:none!important}
  .compact-love-stage{max-width:350px!important;grid-template-columns:145px 171px!important;height:172px!important;min-height:172px!important}
  .compact-love-stage .guide-speech{width:145px!important;max-width:145px!important}
  .compact-love-stage .realistic-couple{width:171px!important;transform:scale(.91)!important;transform-origin:center right!important}
}
@media(max-width:850px){
  .hero{grid-template-columns:1fr!important;padding:18px!important}
  .compact-love-stage{max-width:100%!important;width:100%!important;height:166px!important;min-height:166px!important;grid-template-columns:minmax(135px,1fr) 176px!important;margin-top:10px!important}
  .compact-love-stage .guide-speech{width:100%!important;max-width:none!important;height:109px!important;min-height:109px!important}
  .compact-love-stage .realistic-couple{width:176px!important;transform:scale(.9)!important;transform-origin:center right!important}
}
@media(max-width:570px){
  .compact-love-stage{height:156px!important;min-height:156px!important;grid-template-columns:minmax(115px,1fr) 145px!important;padding:9px 8px 31px!important}
  .compact-love-stage .guide-speech{height:101px!important;min-height:101px!important;padding:8px!important}
  .compact-love-stage .love-speech p{font-size:9px!important;max-height:49px!important;min-height:49px!important}
  .compact-love-stage .realistic-couple{width:163px!important;transform:scale(.78)!important;transform-origin:center right!important}
  .compact-love-stage .love-promo-text small{display:none!important}
  .compact-love-stage .billboard-ribbon span:last-child{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .compact-love-stage .realistic-couple .person{opacity:1!important;transform:none!important;animation:none!important}
  .compact-love-stage .arrival-note{display:none!important}
}
@media(min-width:571px) and (max-width:850px){
  .hero{grid-template-columns:minmax(0,1fr) 330px!important;gap:12px!important;min-height:188px!important;padding:17px!important}
  .hero h2{font-size:22px!important}.hero p{font-size:10px!important}.trust-pills{gap:5px!important;margin-top:10px!important}.trust-pills span{height:27px!important;padding:0 8px!important;font-size:9px!important}
  .compact-love-stage{max-width:330px!important;width:330px!important;height:164px!important;min-height:164px!important;grid-template-columns:137px 160px!important;margin-top:0!important;padding:9px 8px 31px!important}
  .compact-love-stage .guide-speech{width:137px!important;max-width:137px!important;height:103px!important;min-height:103px!important;padding:8px!important}
  .compact-love-stage .love-speech p{font-size:9px!important;min-height:48px!important;max-height:48px!important}
  .compact-love-stage .realistic-couple{width:160px!important;transform:scale(.84)!important;transform-origin:center right!important}
}

/* =========================================================
   v2.7.2 — Original clean vector characters inspired by the
   supplied pose references. No stock/watermarked image used.
   UI animation only; processing engine remains untouched.
   ========================================================= */
.compact-love-stage .vector-couple{position:relative!important;width:190px!important;height:132px!important;overflow:visible!important;perspective:800px!important}
.compact-love-stage .vector-couple .vector-person{position:absolute;top:2px;width:82px;height:126px;opacity:0;z-index:9;transform-origin:center bottom;will-change:transform,opacity;filter:drop-shadow(0 10px 10px rgba(4,10,30,.20))}
.compact-love-stage .vector-couple .luna-character{left:4px!important;right:auto!important}.compact-love-stage .vector-couple .leo-character{right:2px!important;left:auto!important}
.compact-love-stage .vector-avatar{display:block;width:100%;height:119px;overflow:visible}
.compact-love-stage .vector-couple .character-name{position:absolute!important;left:50%!important;top:115px!important;transform:translateX(-50%) translateY(5px)!important;min-width:56px!important;padding:3px 6px!important;font-size:7.2px!important;opacity:0!important;white-space:nowrap!important;z-index:20!important}
.compact-love-stage .vector-couple .couple-shadow{left:22px!important;bottom:2px!important;width:150px!important;height:10px!important;opacity:.55!important}
.compact-love-stage .vector-couple .love-orbit{left:8px!important;top:6px!important;width:174px!important;height:105px!important;opacity:.48!important}
.compact-love-stage .vector-couple .love-heart{z-index:24!important;font-size:9px!important}.compact-love-stage .vector-couple .h1{left:89px!important;top:18px!important}.compact-love-stage .vector-couple .h2{left:102px!important;top:31px!important}.compact-love-stage .vector-couple .h3{left:77px!important;top:38px!important}

/* side entry */
.compact-love-stage .vector-couple.scene-waiting .luna-character{transform:translateX(-170px) translateY(5px) rotate(-5deg) scale(.94)!important}
.compact-love-stage .vector-couple.scene-waiting .leo-character{transform:translateX(170px) translateY(5px) rotate(5deg) scale(.94)!important}
.compact-love-stage .vector-couple.scene-enter .luna-character{animation:lunaVectorEnter 1.95s cubic-bezier(.16,.86,.28,1.02) forwards!important}
.compact-love-stage .vector-couple.scene-enter .leo-character{animation:leoVectorEnter 1.95s cubic-bezier(.16,.86,.28,1.02) forwards!important}
@keyframes lunaVectorEnter{0%{opacity:0;transform:translateX(-170px) translateY(6px) rotate(-6deg) scale(.92)}62%{opacity:1;transform:translateX(6px) translateY(-3px) rotate(2deg) scale(1.02)}100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}}
@keyframes leoVectorEnter{0%{opacity:0;transform:translateX(170px) translateY(6px) rotate(6deg) scale(.92)}62%{opacity:1;transform:translateX(-6px) translateY(-3px) rotate(-2deg) scale(1.02)}100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}}
.compact-love-stage .vector-couple.scene-arrived .vector-person{opacity:1!important;transform:translateX(0) translateY(0) rotate(0) scale(1)!important}
.compact-love-stage .vector-couple.scene-arrived .character-name{opacity:1!important;transform:translateX(-50%) translateY(0)!important}

/* natural standing talk */
.compact-love-stage .vector-couple.chatting.scene-arrived .luna-character{animation:lunaVectorTalk 3.6s ease-in-out infinite!important}
.compact-love-stage .vector-couple.chatting.scene-arrived .leo-character{animation:leoVectorTalk 3.6s ease-in-out .2s infinite!important}
@keyframes lunaVectorTalk{0%,100%{transform:translateY(0) rotate(-.4deg)}50%{transform:translateY(-2px) rotate(.5deg)}}
@keyframes leoVectorTalk{0%,100%{transform:translateY(0) rotate(.4deg)}50%{transform:translateY(-2px) rotate(-.5deg)}}

/* hands meet after arrival, then separate slightly during gift proposal */
.compact-love-stage .couple-hand-link{position:absolute;z-index:18;left:83px;top:78px;width:25px;height:15px;opacity:0;transform:scale(.65);transition:opacity .35s ease,transform .4s ease}
.compact-love-stage .couple-hand-link i{position:absolute;left:2px;top:5px;width:20px;height:7px;border-radius:999px;background:linear-gradient(90deg,#f4a27f 0 49%,#f29a73 51% 100%);box-shadow:0 3px 5px rgba(0,0,0,.16)}
.compact-love-stage .couple-hand-link b{position:absolute;left:8px;top:-9px;font-size:9px;color:#ff5f9f;text-shadow:0 0 9px rgba(255,95,159,.60);animation:vectorHeartBeat 1.5s ease-in-out infinite}
@keyframes vectorHeartBeat{0%,100%{transform:scale(.9)}50%{transform:scale(1.18)}}
.compact-love-stage .vector-couple.scene-arrived .couple-hand-link{opacity:1;transform:scale(1)}
.compact-love-stage .vector-couple.proposal-active .couple-hand-link{opacity:.15;transform:scale(.75) translateY(5px)}

/* proposal gift remains compact and appears between the vector characters */
.compact-love-stage .vector-couple .luna-gift{left:70px!important;top:43px!important;z-index:28!important}
.compact-love-stage .vector-couple.proposal-active .luna-gift{opacity:1!important;animation:lunaVectorGift .9s ease-in-out infinite alternate!important}
@keyframes lunaVectorGift{from{transform:translateX(-6px) translateY(5px) scale(.88) rotate(-4deg)}to{transform:translateX(3px) translateY(-5px) scale(1.04) rotate(4deg)}}
.compact-love-stage .vector-couple.proposal-active .luna-character{animation:lunaVectorPropose 1.05s ease-in-out infinite alternate!important}
.compact-love-stage .vector-couple.proposal-active .leo-character{animation:leoVectorHappy 1.05s ease-in-out infinite alternate!important}
@keyframes lunaVectorPropose{from{transform:translateX(0) rotate(0)}to{transform:translateX(4px) rotate(1.6deg)}}
@keyframes leoVectorHappy{from{transform:translateX(0) rotate(0)}to{transform:translateX(-3px) rotate(-1.4deg)}}

/* SVG wink support used by existing UI script */
.compact-love-stage .vector-couple .head.is-winking-right .eye.right,.compact-love-stage .vector-couple .head.is-winking-left .eye.left{transform-box:fill-box;transform-origin:center;transform:scaleY(.18)!important}
.compact-love-stage .vector-couple .head.is-winking-right::before,.compact-love-stage .vector-couple .head.is-winking-left::before{content:none!important}

/* visual polish: original flat illustration style */
.compact-love-stage .vector-avatar .backpack{filter:drop-shadow(0 4px 3px rgba(0,0,0,.13))}
.compact-love-stage .vector-avatar .dress,.compact-love-stage .vector-avatar .shirt,.compact-love-stage .vector-avatar .pants{filter:drop-shadow(0 3px 2px rgba(0,0,0,.10))}
.compact-love-stage .vector-avatar .join-hand{stroke-linecap:round}
.compact-love-stage .vector-avatar .eye{transition:transform .16s ease}

html[data-theme="light"] .compact-love-stage .vector-couple .couple-hand-link i{box-shadow:0 3px 6px rgba(84,68,90,.15)}

@media(max-width:1390px) and (min-width:1121px){.compact-love-stage .vector-couple{transform:scale(.94)!important;transform-origin:center right!important}}
@media(max-width:1120px){.compact-love-stage .vector-couple{transform:scale(.91)!important;transform-origin:center right!important}}
@media(max-width:850px){.compact-love-stage .vector-couple{transform:scale(.96)!important;transform-origin:center!important}}
@media(max-width:570px){.compact-love-stage .vector-couple{transform:scale(.88)!important;transform-origin:center!important}}
@media(prefers-reduced-motion:reduce){.compact-love-stage .vector-couple .vector-person{opacity:1!important;transform:none!important;animation:none!important}.compact-love-stage .couple-hand-link{opacity:1!important;transform:none!important}}

/* =========================================================
   v2.7.3 — Gift-couple character redesign matching the user's
   requested friendly flat-vector proportions: Luna in pink and
   turquoise with a bun, Leo in orange and dark trousers.
   UI-only. Processing engine files are untouched.
   ========================================================= */
.compact-love-stage .vector-couple .reference-gift-girl,
.compact-love-stage .vector-couple .reference-gift-boy{
  width:76px!important;
  height:128px!important;
  top:1px!important;
  filter:drop-shadow(0 10px 9px rgba(3,10,28,.18))!important;
}
.compact-love-stage .vector-couple .reference-gift-girl{left:7px!important}
.compact-love-stage .vector-couple .reference-gift-boy{right:6px!important}
.compact-love-stage .vector-couple .reference-gift-girl .vector-avatar,
.compact-love-stage .vector-couple .reference-gift-boy .vector-avatar{height:121px!important}
.compact-love-stage .vector-couple .reference-gift-girl .character-name,
.compact-love-stage .vector-couple .reference-gift-boy .character-name{top:116px!important;min-width:52px!important;font-size:7px!important}

/* The new pose is a gift proposal, not a hand-holding scene. */
.compact-love-stage .vector-couple .couple-hand-link{display:none!important}
.compact-love-stage .vector-couple .luna-gift{left:72px!important;top:47px!important;width:51px!important;height:38px!important}
.compact-love-stage .vector-couple .luna-gift .gift-box{font-size:17px!important}
.compact-love-stage .vector-couple .luna-gift .gift-card{left:14px!important;top:2px!important;width:40px!important;height:26px!important}
.compact-love-stage .vector-couple .luna-gift .gift-card b{font-size:6.4px!important}
.compact-love-stage .vector-couple .luna-gift .gift-card small{font-size:5.4px!important}
.compact-love-stage .vector-couple .luna-gift .gift-rose{font-size:13px!important;right:-1px!important;top:-7px!important}

/* Clearer reference-like gift handover pose during proposal. */
.compact-love-stage .vector-couple.proposal-active .reference-gift-girl{animation:lunaReferenceGift 1s ease-in-out infinite alternate!important}
.compact-love-stage .vector-couple.proposal-active .reference-gift-boy{animation:leoReferenceReceive 1s ease-in-out infinite alternate!important}
@keyframes lunaReferenceGift{from{transform:translateX(0) translateY(0) rotate(0)}to{transform:translateX(5px) translateY(-1px) rotate(1.5deg)}}
@keyframes leoReferenceReceive{from{transform:translateX(0) translateY(0) rotate(0)}to{transform:translateX(-4px) translateY(-1px) rotate(-1.3deg)}}

/* Friendly full-body flat-vector polish. */
.compact-love-stage .reference-gift-girl .head,
.compact-love-stage .reference-gift-boy .head{transform-origin:center;transform-box:fill-box}
.compact-love-stage .reference-gift-girl .body,
.compact-love-stage .reference-gift-boy .body,
.compact-love-stage .reference-gift-girl .skirt,
.compact-love-stage .reference-gift-boy .pants{filter:drop-shadow(0 3px 2px rgba(0,0,0,.08))}
.compact-love-stage .reference-gift-girl .eye,
.compact-love-stage .reference-gift-boy .eye{transition:transform .15s ease}
.compact-love-stage .reference-gift-girl .head.is-winking-right .eye.right,
.compact-love-stage .reference-gift-girl .head.is-winking-left .eye.left,
.compact-love-stage .reference-gift-boy .head.is-winking-right .eye.right,
.compact-love-stage .reference-gift-boy .head.is-winking-left .eye.left{
  transform-box:fill-box;
  transform-origin:center;
  transform:scaleY(.13)!important;
}

/* Keep the character block compact for smaller screens. */
@media(max-width:1390px) and (min-width:1121px){
  .compact-love-stage .vector-couple .reference-gift-girl,
  .compact-love-stage .vector-couple .reference-gift-boy{width:73px!important}
}
@media(max-width:850px){
  .compact-love-stage .vector-couple .reference-gift-girl,
  .compact-love-stage .vector-couple .reference-gift-boy{width:72px!important}
  .compact-love-stage .vector-couple .luna-gift{left:70px!important}
}
@media(max-width:570px){
  .compact-love-stage .vector-couple .reference-gift-girl,
  .compact-love-stage .vector-couple .reference-gift-boy{width:69px!important}
  .compact-love-stage .vector-couple .luna-gift{left:67px!important;top:48px!important}
}

/* =========================================================
   v2.7.4 — Real-motion proposal story (UI/animation only)
   Same Luna/Leo vector characters in homepage and welcome.
   Processing engine files are untouched.
   ========================================================= */
.compact-love-stage .vector-couple .vector-avatar .arm,
.compact-love-stage .vector-couple .vector-avatar .head,
.compact-love-stage .vector-couple .vector-avatar .mouth{
  transform-box:fill-box;
  transform-origin:center;
}
.compact-love-stage .vector-couple .vector-avatar .arm{transition:transform .28s ease}
.compact-love-stage .vector-couple .vector-avatar .mouth{transition:transform .16s ease}

/* Make entry obvious and ensure the characters are not frozen by old rules. */
.compact-love-stage .vector-couple.scene-waiting .reference-gift-girl{
  opacity:0!important;transform:translateX(-175px) translateY(5px) rotate(-8deg) scale(.91)!important
}
.compact-love-stage .vector-couple.scene-waiting .reference-gift-boy{
  opacity:0!important;transform:translateX(175px) translateY(5px) rotate(8deg) scale(.91)!important
}
.compact-love-stage .vector-couple.scene-enter .reference-gift-girl{
  animation:lunaWalkIn274 2s cubic-bezier(.16,.88,.28,1.03) forwards!important
}
.compact-love-stage .vector-couple.scene-enter .reference-gift-boy{
  animation:leoWalkIn274 2s cubic-bezier(.16,.88,.28,1.03) forwards!important
}
@keyframes lunaWalkIn274{
  0%{opacity:0;transform:translateX(-175px) translateY(5px) rotate(-8deg) scale(.91)}
  28%{opacity:1;transform:translateX(-92px) translateY(-2px) rotate(4deg) scale(.96)}
  58%{transform:translateX(-34px) translateY(2px) rotate(-3deg) scale(.99)}
  82%{transform:translateX(7px) translateY(-2px) rotate(2deg) scale(1.02)}
  100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}
}
@keyframes leoWalkIn274{
  0%{opacity:0;transform:translateX(175px) translateY(5px) rotate(8deg) scale(.91)}
  28%{opacity:1;transform:translateX(92px) translateY(-2px) rotate(-4deg) scale(.96)}
  58%{transform:translateX(34px) translateY(2px) rotate(3deg) scale(.99)}
  82%{transform:translateX(-7px) translateY(-2px) rotate(-2deg) scale(1.02)}
  100%{opacity:1;transform:translateX(0) translateY(0) rotate(0) scale(1)}
}
.compact-love-stage .vector-couple.scene-arrived .reference-gift-girl,
.compact-love-stage .vector-couple.scene-arrived .reference-gift-boy{
  opacity:1!important;transform:none!important
}

/* Greeting wave before the dialogue starts. */
.compact-love-stage .vector-couple.scene-wave-luna .reference-gift-girl{
  animation:lunaHelloBody274 .9s ease-in-out infinite alternate!important
}
.compact-love-stage .vector-couple.scene-wave-luna .reference-gift-girl .left-arm{
  animation:lunaWaveArm274 .55s ease-in-out infinite alternate!important;
  transform-origin:right center!important
}
.compact-love-stage .vector-couple.scene-wave-leo .reference-gift-boy{
  animation:leoHelloBody274 .9s ease-in-out infinite alternate!important
}
.compact-love-stage .vector-couple.scene-wave-leo .reference-gift-boy .right-arm{
  animation:leoWaveArm274 .55s ease-in-out infinite alternate!important;
  transform-origin:left center!important
}
@keyframes lunaHelloBody274{from{transform:translateY(0) rotate(0)}to{transform:translateY(-3px) rotate(1.6deg)}}
@keyframes leoHelloBody274{from{transform:translateY(0) rotate(0)}to{transform:translateY(-3px) rotate(-1.6deg)}}
@keyframes lunaWaveArm274{from{transform:rotate(-8deg)}to{transform:rotate(-44deg) translateY(-3px)}}
@keyframes leoWaveArm274{from{transform:rotate(8deg)}to{transform:rotate(44deg) translateY(-3px)}}

/* Speaker-specific human-like gestures. */
.compact-love-stage:has(.love-speech.girl-speaking.is-speaking) .reference-gift-girl .head{
  animation:lunaHeadTalk274 .48s ease-in-out infinite alternate
}
.compact-love-stage:has(.love-speech.girl-speaking.is-speaking) .reference-gift-girl .gift-arm{
  animation:lunaTalkHand274 .72s ease-in-out infinite alternate
}
.compact-love-stage:has(.love-speech.boy-speaking.is-speaking) .reference-gift-boy .head{
  animation:leoHeadTalk274 .48s ease-in-out infinite alternate
}
.compact-love-stage:has(.love-speech.boy-speaking.is-speaking) .reference-gift-boy .left-arm{
  animation:leoTalkHand274 .72s ease-in-out infinite alternate
}
.compact-love-stage:has(.love-speech.is-speaking) .vector-avatar .mouth{
  animation:vectorMouthTalk274 .22s ease-in-out infinite alternate
}
@keyframes lunaHeadTalk274{from{transform:rotate(-1.5deg) translateY(0)}to{transform:rotate(2deg) translateY(-1px)}}
@keyframes leoHeadTalk274{from{transform:rotate(1.5deg) translateY(0)}to{transform:rotate(-2deg) translateY(-1px)}}
@keyframes lunaTalkHand274{from{transform:rotate(0)}to{transform:rotate(-12deg) translate(2px,-1px)}}
@keyframes leoTalkHand274{from{transform:rotate(0)}to{transform:rotate(12deg) translate(-2px,-1px)}}
@keyframes vectorMouthTalk274{from{transform:scaleY(.7)}to{transform:scaleY(1.35)}}

/* Proposal: Luna moves closer and extends the PDF Smart Tools Pro gift. */
.compact-love-stage .vector-couple.scene-proposal .reference-gift-girl,
.compact-love-stage .vector-couple.proposal-active .reference-gift-girl{
  animation:lunaProposeBody274 1s ease-in-out infinite alternate!important
}
.compact-love-stage .vector-couple.scene-proposal .reference-gift-girl .gift-arm,
.compact-love-stage .vector-couple.proposal-active .reference-gift-girl .gift-arm{
  animation:lunaOfferArm274 .8s ease-in-out infinite alternate!important;
  transform-origin:left center!important
}
.compact-love-stage .vector-couple.scene-proposal .luna-gift,
.compact-love-stage .vector-couple.proposal-active .luna-gift{
  opacity:1!important;animation:giftTravel274 1s ease-in-out infinite alternate!important
}
.compact-love-stage .vector-couple.scene-proposal .reference-gift-boy{
  animation:leoSurprised274 1s ease-in-out infinite alternate!important
}
@keyframes lunaProposeBody274{from{transform:translateX(0) rotate(0)}to{transform:translateX(7px) rotate(2.3deg)}}
@keyframes lunaOfferArm274{from{transform:rotate(0)}to{transform:rotate(-20deg) translate(5px,-2px)}}
@keyframes giftTravel274{from{transform:translateX(-9px) translateY(7px) scale(.83) rotate(-5deg)}to{transform:translateX(8px) translateY(-5px) scale(1.1) rotate(5deg)}}
@keyframes leoSurprised274{from{transform:translateY(0) rotate(0)}to{transform:translateY(-3px) rotate(-2deg)}}

/* Leo accepts the gift with both hands and happy reaction. */
.compact-love-stage .vector-couple.scene-receive .luna-gift{
  opacity:1!important;animation:giftAccepted274 1.05s ease-in-out forwards!important
}
.compact-love-stage .vector-couple.scene-receive .reference-gift-boy .receive-arm{
  animation:leoReceiveArm274 .7s ease-in-out infinite alternate!important
}
.compact-love-stage .vector-couple.scene-receive .reference-gift-boy{
  animation:leoReceiveHappy274 .9s ease-in-out infinite alternate!important
}
.compact-love-stage .vector-couple.scene-receive .reference-gift-girl{
  animation:lunaProud274 1.1s ease-in-out infinite alternate!important
}
@keyframes giftAccepted274{0%{transform:translateX(0) translateY(-5px) scale(1.05)}100%{transform:translateX(30px) translateY(8px) scale(.88)}}
@keyframes leoReceiveArm274{from{transform:rotate(0)}to{transform:rotate(-18deg) translate(-4px,-2px)}}
@keyframes leoReceiveHappy274{from{transform:translateY(0) rotate(0)}to{transform:translateY(-5px) rotate(-1.8deg)}}
@keyframes lunaProud274{from{transform:translateY(0) rotate(0)}to{transform:translateY(-2px) rotate(1.2deg)}}

/* Ongoing conversational phases. */
.compact-love-stage .vector-couple.scene-talk-luna .reference-gift-girl{animation:lunaFullTalk274 1.45s ease-in-out infinite!important}
.compact-love-stage .vector-couple.scene-talk-leo .reference-gift-boy{animation:leoFullTalk274 1.45s ease-in-out infinite!important}
@keyframes lunaFullTalk274{0%,100%{transform:translateY(0) rotate(-.5deg)}50%{transform:translateY(-3px) rotate(1.1deg)}}
@keyframes leoFullTalk274{0%,100%{transform:translateY(0) rotate(.5deg)}50%{transform:translateY(-3px) rotate(-1.1deg)}}

/* Love moment and celebration. */
.compact-love-stage .vector-couple.scene-heart .reference-gift-girl{animation:lunaHeartLean274 1.25s ease-in-out infinite alternate!important}
.compact-love-stage .vector-couple.scene-heart .reference-gift-boy{animation:leoHeartLean274 1.25s ease-in-out infinite alternate!important}
.compact-love-stage .vector-couple.scene-heart .love-heart,
.compact-love-stage .vector-couple.scene-celebrate .love-heart{font-size:15px!important;animation-duration:1.15s!important}
.compact-love-stage .vector-couple.scene-celebrate .reference-gift-girl{animation:lunaCelebrate274 .78s ease-in-out infinite alternate!important}
.compact-love-stage .vector-couple.scene-celebrate .reference-gift-boy{animation:leoCelebrate274 .78s ease-in-out infinite alternate!important}
@keyframes lunaHeartLean274{from{transform:translateX(0) rotate(0)}to{transform:translateX(5px) rotate(1.8deg)}}
@keyframes leoHeartLean274{from{transform:translateX(0) rotate(0)}to{transform:translateX(-5px) rotate(-1.8deg)}}
@keyframes lunaCelebrate274{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-7px) rotate(2deg)}}
@keyframes leoCelebrate274{from{transform:translateY(0) rotate(1deg)}to{transform:translateY(-7px) rotate(-2deg)}}

/* Stronger wink feedback. */
.compact-love-stage .vector-couple.wink-pop::after{
  content:"😉";position:absolute;right:78px;top:1px;z-index:40;font-size:17px;
  filter:drop-shadow(0 0 10px rgba(255,223,109,.48));animation:winkBubble274 .72s ease
}
@keyframes winkBubble274{0%{opacity:0;transform:translateY(8px) scale(.55) rotate(-15deg)}45%{opacity:1;transform:translateY(-3px) scale(1.18) rotate(6deg)}100%{opacity:0;transform:translateY(-12px) scale(1)}}

/* Welcome uses clones of the exact homepage characters. */
.welcome-vector-stage{
  position:relative!important;width:260px!important;height:145px!important;margin:0 auto 7px!important;
  display:block!important;overflow:visible!important;animation:none!important;perspective:900px
}
.welcome-vector-stage .welcome-avatar-clone{
  position:absolute!important;top:2px!important;width:88px!important;height:140px!important;
  opacity:0;filter:drop-shadow(0 13px 11px rgba(0,0,0,.20));transform-origin:center bottom
}
.welcome-vector-stage .welcome-avatar-clone .vector-avatar{width:100%!important;height:136px!important;display:block!important}
.welcome-vector-stage .welcome-luna-clone{left:20px!important;transform:translateX(-155px) rotate(-7deg) scale(.92)}
.welcome-vector-stage .welcome-leo-clone{right:20px!important;transform:translateX(155px) rotate(7deg) scale(.92)}
.welcome-vector-stage .welcome-gift-clone{
  position:absolute!important;z-index:12!important;left:106px!important;top:58px!important;width:55px!important;height:44px!important;
  opacity:0;transform:scale(.65) translateY(10px)
}
.welcome-vector-stage .welcome-gift-clone .gift-box{font-size:24px!important}.welcome-vector-stage .welcome-gift-clone .gift-card{display:flex!important}.welcome-vector-stage .welcome-gift-clone .gift-rose{font-size:18px!important}
.welcome-vector-stage .welcome-stage-note{
  position:absolute;z-index:20;left:50%;bottom:-2px;transform:translateX(-50%);white-space:nowrap;
  padding:4px 11px;border-radius:999px;background:linear-gradient(90deg,rgba(255,91,166,.15),rgba(68,185,255,.15));
  border:1px solid rgba(145,160,231,.20);color:#ffe3f1;font-size:9px;font-weight:850;letter-spacing:.03em
}
.welcome-vector-stage.welcome-enter .welcome-luna-clone{animation:welcomeLunaIn274 1.35s cubic-bezier(.16,.88,.28,1.03) forwards}
.welcome-vector-stage.welcome-enter .welcome-leo-clone{animation:welcomeLeoIn274 1.35s cubic-bezier(.16,.88,.28,1.03) forwards}
@keyframes welcomeLunaIn274{0%{opacity:0;transform:translateX(-155px) rotate(-7deg) scale(.92)}70%{opacity:1;transform:translateX(7px) rotate(2deg) scale(1.03)}100%{opacity:1;transform:none}}
@keyframes welcomeLeoIn274{0%{opacity:0;transform:translateX(155px) rotate(7deg) scale(.92)}70%{opacity:1;transform:translateX(-7px) rotate(-2deg) scale(1.03)}100%{opacity:1;transform:none}}
.welcome-vector-stage.welcome-wave .welcome-luna-clone{opacity:1;animation:welcomeLunaWave274 .7s ease-in-out infinite alternate}
.welcome-vector-stage.welcome-wave .welcome-leo-clone{opacity:1;animation:welcomeLeoWave274 .7s ease-in-out infinite alternate}
@keyframes welcomeLunaWave274{from{transform:translateY(0) rotate(0)}to{transform:translateY(-4px) rotate(1.8deg)}}
@keyframes welcomeLeoWave274{from{transform:translateY(0) rotate(0)}to{transform:translateY(-4px) rotate(-1.8deg)}}
.welcome-vector-stage.welcome-proposal .welcome-luna-clone{opacity:1;animation:welcomeLunaOffer274 .9s ease-in-out infinite alternate}
.welcome-vector-stage.welcome-proposal .welcome-leo-clone{opacity:1;animation:welcomeLeoReact274 .9s ease-in-out infinite alternate}
.welcome-vector-stage.welcome-proposal .welcome-gift-clone{opacity:1;animation:welcomeGiftOffer274 .8s ease-in-out infinite alternate}
@keyframes welcomeLunaOffer274{from{transform:translateX(0)}to{transform:translateX(9px) rotate(2deg)}}
@keyframes welcomeLeoReact274{from{transform:translateX(0)}to{transform:translateX(-6px) translateY(-3px) rotate(-1.5deg)}}
@keyframes welcomeGiftOffer274{from{transform:translateX(-7px) translateY(7px) scale(.84) rotate(-5deg)}to{transform:translateX(7px) translateY(-4px) scale(1.08) rotate(5deg)}}
.welcome-vector-stage.welcome-happy .welcome-luna-clone{opacity:1;animation:welcomeHappyLuna274 .72s ease-in-out infinite alternate}
.welcome-vector-stage.welcome-happy .welcome-leo-clone{opacity:1;animation:welcomeHappyLeo274 .72s ease-in-out infinite alternate}
.welcome-vector-stage.welcome-happy .welcome-gift-clone{opacity:1;transform:translateX(28px) translateY(8px) scale(.88)}
@keyframes welcomeHappyLuna274{from{transform:translateY(0) rotate(-1deg)}to{transform:translateY(-6px) rotate(2deg)}}
@keyframes welcomeHappyLeo274{from{transform:translateY(0) rotate(1deg)}to{transform:translateY(-6px) rotate(-2deg)}}
.welcome-vector-stage .welcome-heart{z-index:18;top:15px!important;left:50%!important;font-size:22px!important}

html[data-theme="light"] .welcome-vector-stage .welcome-stage-note{color:#713256;background:linear-gradient(90deg,#fff0f7,#eef8ff);border-color:#d8dff0}

@media(max-width:570px){
  .welcome-vector-stage{width:225px!important;height:130px!important;transform:scale(.9);transform-origin:center bottom;margin-bottom:-4px!important}
  .welcome-vector-stage .welcome-avatar-clone{width:78px!important;height:126px!important}
  .welcome-vector-stage .welcome-avatar-clone .vector-avatar{height:122px!important}
  .welcome-vector-stage .welcome-luna-clone{left:16px!important}.welcome-vector-stage .welcome-leo-clone{right:16px!important}
  .welcome-vector-stage .welcome-gift-clone{left:91px!important;top:53px!important}
}

@media(prefers-reduced-motion:reduce){
  .compact-love-stage .vector-couple .reference-gift-girl,
  .compact-love-stage .vector-couple .reference-gift-boy,
  .welcome-vector-stage .welcome-avatar-clone{opacity:1!important;transform:none!important;animation:none!important}
  .welcome-vector-stage .welcome-gift-clone{opacity:1!important;transform:none!important;animation:none!important}
}

/* =========================================================
   v2.8.0 — Merge PDF tool (isolated new feature)
   Existing photo/image/PDF processing CSS and engines untouched.
   ========================================================= */
.dashboard-tool-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}
.dashboard-tool-card{min-height:188px;padding-left:9px;padding-right:9px}
.dashboard-tool-card>b{font-size:14px}
.tool-icon.indigo,.side-icon.indigo{color:#d8c8ff;background:linear-gradient(145deg,rgba(87,72,211,.67),rgba(48,38,128,.66));border-color:rgba(150,128,255,.25)}
.tool-icon.merge-icon svg,.side-icon.merge-icon svg{filter:drop-shadow(0 0 7px rgba(154,129,255,.28))}
.merge-intro{background:linear-gradient(135deg,rgba(33,40,103,.72),rgba(74,28,113,.62))!important;border-color:rgba(145,117,255,.23)!important}
.merge-badge{color:#e3d6ff;background:linear-gradient(135deg,rgba(104,82,235,.25),rgba(177,72,218,.20));border:1px solid rgba(171,139,255,.28)}
.merge-layout{grid-template-columns:minmax(290px,360px) minmax(0,1fr)!important;align-items:stretch}
.merge-controls{height:100%}
.merge-drop{min-height:132px;position:relative;overflow:hidden}
.merge-drop::after{content:"";position:absolute;inset:-60% -30%;background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.16) 50%,transparent 60%);transform:translateX(-45%);animation:mergeDropGloss 5.5s ease-in-out infinite;pointer-events:none}
@keyframes mergeDropGloss{0%,55%{transform:translateX(-55%)}80%,100%{transform:translateX(55%)}}
.merge-drop.drag-over{border-color:#a88cff!important;background:rgba(129,101,255,.14)!important;box-shadow:0 0 0 4px rgba(128,104,255,.10),0 0 28px rgba(110,89,255,.17)}
.merge-drop.file-selected{border-color:rgba(91,231,184,.52)!important;background:linear-gradient(145deg,rgba(35,188,145,.10),rgba(63,122,255,.08))!important}
.merge-drop.file-selected strong{color:#79f0c5}
.merge-mini-points{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:9px 0 12px}
.merge-mini-points span{min-height:34px;padding:6px 5px;border-radius:10px;display:grid;place-items:center;text-align:center;color:#b7c8df;font-size:9px;font-weight:750;background:rgba(255,255,255,.045);border:1px solid rgba(126,159,216,.12)}
.merge-actions{display:grid!important;grid-template-columns:minmax(0,1fr) 92px;gap:8px;align-items:start}
.merge-actions .message{grid-column:1/-1}
.secondary-action{border:1px solid rgba(134,160,211,.20);border-radius:14px;padding:14px 9px;background:rgba(255,255,255,.055);color:#b9c8dc;font-weight:800;cursor:pointer;transition:.22s ease}
.secondary-action:hover{transform:translateY(-2px);border-color:rgba(130,174,255,.42);color:#fff;background:rgba(107,126,224,.12)}
.merge-primary{background:linear-gradient(135deg,#4c91ff,#7854f7 53%,#b544e0)!important;color:#fff!important;box-shadow:0 12px 28px rgba(83,74,226,.23)}
.merge-primary:not(:disabled):hover{box-shadow:0 16px 34px rgba(94,76,241,.32),0 0 0 1px rgba(191,171,255,.22)}
.merge-result-card{min-height:470px;display:flex;flex-direction:column}
.merge-file-list{display:grid;gap:8px;min-height:178px;max-height:278px;overflow:auto;padding:2px 3px 2px 0;margin:3px 0 12px;scrollbar-width:thin;scrollbar-color:#6d65e9 rgba(10,24,44,.35)}
.merge-file-list::-webkit-scrollbar{width:7px}.merge-file-list::-webkit-scrollbar-track{background:rgba(8,24,44,.35);border-radius:99px}.merge-file-list::-webkit-scrollbar-thumb{background:linear-gradient(#30c8ff,#7668ff);border-radius:99px}
.merge-empty{min-height:176px;border:1px dashed rgba(132,160,218,.23);border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(88,69,201,.035));color:#c4d1e4}
.merge-empty>span{font-size:36px;filter:drop-shadow(0 8px 15px rgba(0,0,0,.25));margin-bottom:7px}.merge-empty b{font-size:13px}.merge-empty small{font-size:9.5px;color:#8295ae;margin-top:5px}
.merge-file-row{display:grid;grid-template-columns:22px 28px 35px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 9px;border-radius:13px;background:linear-gradient(145deg,rgba(17,36,66,.87),rgba(13,27,52,.83));border:1px solid rgba(116,151,210,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:.18s ease}
.merge-file-row:hover{border-color:rgba(99,180,255,.30);transform:translateX(2px)}
.merge-file-row.dragging{opacity:.46;transform:scale(.985)}
.merge-file-row.has-error{border-color:rgba(255,99,118,.35);background:rgba(139,35,59,.10)}
.merge-drag{font-size:18px;line-height:1;color:#617793;cursor:grab;letter-spacing:-4px;user-select:none}.merge-drag:active{cursor:grabbing}
.merge-order-no{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-size:10px;font-weight:900;color:#fff;background:linear-gradient(135deg,#319cff,#755cf2);box-shadow:0 7px 15px rgba(67,94,222,.22)}
.merge-file-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:8px;font-weight:950;color:#ffe0eb;background:linear-gradient(145deg,rgba(208,52,107,.69),rgba(105,35,80,.65));border:1px solid rgba(255,132,169,.16)}
.merge-file-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.merge-file-copy b{font-size:11px;color:#edf5ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.merge-file-copy small{font-size:8.5px;color:#8498b2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.merge-file-row.has-error .merge-file-copy small{color:#ff9ca9}
.merge-row-actions{display:flex;gap:4px}.merge-row-actions button{width:27px;height:27px;border-radius:8px;border:1px solid rgba(129,160,215,.16);background:rgba(255,255,255,.045);color:#b7c7da;display:grid;place-items:center;font-weight:900;cursor:pointer;transition:.17s ease}.merge-row-actions button:hover:not(:disabled){transform:translateY(-2px);color:#fff;border-color:rgba(116,175,255,.38);background:rgba(83,118,211,.15)}.merge-row-actions button.remove:hover{background:rgba(223,57,91,.16);border-color:rgba(255,99,132,.37);color:#ffb5c5}.merge-row-actions button:disabled{opacity:.28;cursor:not-allowed}
.merge-details{margin-top:auto}.merge-details>div:nth-child(5){grid-column:span 1}.merge-details b{overflow-wrap:anywhere}
.merge-ready{margin-top:11px}

html[data-theme="light"] .merge-intro{background:linear-gradient(135deg,#f5f8ff,#f4efff)!important;border-color:#d4dff2!important}
html[data-theme="light"] .merge-badge{color:#5b3eb2;background:linear-gradient(135deg,#ebe8ff,#f8eaff);border-color:#d8ccf4}
html[data-theme="light"] .merge-mini-points span{color:#536984;background:#f3f7fd;border-color:#d7e1ef}
html[data-theme="light"] .secondary-action{background:#eef4fd;color:#4b607c;border-color:#cfdaeb}html[data-theme="light"] .secondary-action:hover{background:#e7effd;color:#173052;border-color:#b9cae4}
html[data-theme="light"] .merge-file-list{scrollbar-color:#8173e8 #e5edf8}
html[data-theme="light"] .merge-empty{background:linear-gradient(145deg,#f8fbff,#f4f1ff);border-color:#cdd9ec;color:#304765}html[data-theme="light"] .merge-empty small{color:#687d98}
html[data-theme="light"] .merge-file-row{background:linear-gradient(145deg,#fff,#f4f8fe);border-color:#d5e0ee;box-shadow:0 7px 16px rgba(126,149,182,.09)}html[data-theme="light"] .merge-file-row:hover{border-color:#91b9ec}html[data-theme="light"] .merge-file-copy b{color:#213956}html[data-theme="light"] .merge-file-copy small{color:#687e99}html[data-theme="light"] .merge-drag{color:#91a2b7}html[data-theme="light"] .merge-row-actions button{background:#edf3fb;color:#526984;border-color:#d1ddec}html[data-theme="light"] .merge-drop.file-selected strong{color:#087e59}

@media(max-width:1500px){.dashboard-tool-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.dashboard-tool-card{min-height:177px}.dashboard-tool-card>b{font-size:12.5px}.dashboard-tool-card small{font-size:8.5px}.tool-icon{width:56px;height:56px}}
@media(max-width:1260px){.dashboard-tool-grid{grid-template-columns:repeat(4,1fr)}.dashboard-tool-card{min-height:165px}.merge-layout{grid-template-columns:minmax(275px,330px) minmax(0,1fr)!important}}
@media(max-width:980px){.merge-layout{grid-template-columns:1fr!important}.merge-controls{height:auto}.merge-result-card{min-height:430px}}
@media(max-width:850px){.dashboard-tool-grid{grid-template-columns:repeat(3,1fr)}.merge-file-list{max-height:330px}}
@media(max-width:570px){.dashboard-tool-grid{grid-template-columns:repeat(2,1fr)}.merge-actions{grid-template-columns:1fr}.merge-actions .message{grid-column:1}.merge-mini-points{grid-template-columns:1fr 1fr}.merge-mini-points span:last-child{grid-column:1/-1}.merge-file-row{grid-template-columns:20px 25px 30px minmax(0,1fr)}.merge-row-actions{grid-column:2/-1;justify-content:flex-end}.merge-result-card{padding:13px}.merge-file-copy b{font-size:10px}}

/* =========================================================
   v2.9.0 — Clear All on every tool + Image → PDF ordering
   Existing processing/layout rules remain unchanged.
   ========================================================= */
.quick-process-bar.tool-actions{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 92px;
  gap:8px;
  align-items:start;
}
.quick-process-bar.tool-actions .primary{width:100%;min-width:0}
.quick-process-bar.tool-actions .message{grid-column:1/-1}

.itp-drop.drag-over{
  border-color:#56d9ff!important;
  background:rgba(55,166,255,.12)!important;
  box-shadow:0 0 0 4px rgba(75,181,255,.09),0 0 28px rgba(77,148,255,.16);
}
.itp-drop.file-selected{
  border-color:rgba(91,231,184,.52)!important;
  background:linear-gradient(145deg,rgba(35,188,145,.10),rgba(63,122,255,.08))!important;
}
.itp-drop.file-selected strong{color:#79f0c5}
.itp-mini-points{margin-top:9px}
.itp-file-list{min-height:180px;max-height:360px;padding-right:3px;scrollbar-width:thin;scrollbar-color:#5e79e8 rgba(10,24,44,.35)}
.itp-file-list::-webkit-scrollbar{width:7px}
.itp-file-list::-webkit-scrollbar-track{background:rgba(8,24,44,.35);border-radius:99px}
.itp-file-list::-webkit-scrollbar-thumb{background:linear-gradient(#23d6b2,#5d78f1);border-radius:99px}
.itp-image-row{grid-template-columns:22px 28px 35px minmax(0,1fr) auto}
.itp-file-icon{color:#dffff4;background:linear-gradient(145deg,rgba(23,181,124,.72),rgba(31,91,118,.72));border-color:rgba(108,255,201,.18)}

html[data-theme="light"] .itp-drop.file-selected strong{color:#087e59}
html[data-theme="light"] .itp-file-list{scrollbar-color:#6a8ae9 #e5edf8}

@media(max-width:570px){
  .quick-process-bar.tool-actions{grid-template-columns:1fr}
  .quick-process-bar.tool-actions .message{grid-column:1}
  .quick-process-bar.tool-actions .secondary-action{width:100%}
  .itp-image-row{grid-template-columns:20px 25px 30px minmax(0,1fr)}
  .itp-image-row .merge-row-actions{grid-column:2/-1;justify-content:flex-end}
}


/* OneResizer v3.0.1 — local PDF engine fix; processing and tool layouts preserved. */
:root{
  --a:#39e7ff;
  --b:#287cff;
  --cyan:#39e7ff;
  --violet:#287cff;
  --dtj-text:#f7fbff;
  --dtj-muted:#8fa9c8;
}
body{
  background:
    radial-gradient(circle at 8% 5%,rgba(24,132,255,.28),transparent 31%),
    radial-gradient(circle at 92% 9%,rgba(38,219,255,.14),transparent 30%),
    radial-gradient(circle at 50% 100%,rgba(30,118,255,.08),transparent 34%),
    linear-gradient(145deg,#030a16 0%,#061427 49%,#04101f 100%);
}
.logo.oneresizer-logo{
  width:48px;height:48px;padding:0;border-radius:14px;
  background:#061b3f;
  box-shadow:0 0 24px rgba(43,199,255,.42),0 10px 28px rgba(0,78,171,.28),inset 0 1px 0 rgba(255,255,255,.18);
  overflow:hidden;
}
.logo.oneresizer-logo img{display:block;width:100%;height:100%;object-fit:cover}
.logo.oneresizer-logo::after{pointer-events:none}
.brand-copy h1{letter-spacing:.01em;font-weight:900}
.brand-copy p em,.footer-youtube{color:#39dfff!important}
.brand-copy p span{color:#4e86c8}
.topbar{border-color:rgba(57,231,255,.19);background:linear-gradient(135deg,rgba(4,18,38,.94),rgba(5,22,48,.91))}
.hero{background:linear-gradient(115deg,rgba(10,67,132,.82),rgba(17,38,97,.78) 55%,rgba(16,81,127,.65));border-color:rgba(57,231,255,.18)}
.primary,.tab.active,.step span{background:linear-gradient(135deg,#35e3ff,#2e86ff)!important}
.welcome-card{border-color:rgba(57,231,255,.26)!important;background:linear-gradient(145deg,rgba(4,20,45,.97),rgba(7,28,62,.96))!important}
.welcome-brand-icon{position:relative;z-index:2;display:block;width:72px;height:72px;object-fit:cover;margin:0 auto 10px;border-radius:20px;filter:drop-shadow(0 10px 24px rgba(42,191,255,.35))}
.welcome-love-line{border-color:rgba(57,231,255,.26)!important;background:rgba(26,121,220,.12)!important}
.welcome-progress i{background:linear-gradient(90deg,#39e7ff,#287cff,#30c8ff)!important}
.compact-love-stage .luna-gift .gift-card{background:linear-gradient(145deg,#16d7ff,#2676ff 62%,#173e9d)!important}
.billboard-ribbon{border-color:rgba(57,231,255,.22)!important}
html[data-theme="light"] .logo.oneresizer-logo{background:#061b3f}
html[data-theme="light"] .welcome-card{background:linear-gradient(145deg,rgba(249,253,255,.98),rgba(232,244,255,.97))!important}
@media(max-width:570px){.logo.oneresizer-logo{width:40px;height:40px}.welcome-brand-icon{width:62px;height:62px;border-radius:18px}}
body.multipage-mode.view-home .tool-page{display:none!important}
body.multipage-mode:not(.view-home) .hero,body.multipage-mode:not(.view-home) .dashboard-tool-grid{display:none!important}
body.multipage-mode:not(.view-home) .tool-page:not(.active){display:none!important}
body.multipage-mode .dashboard-tool-card,body.multipage-mode .tool-nav-btn,body.multipage-mode .dashboard-home{cursor:pointer}

/* v1.2 dedicated-page guard: keep every tool page clean even when a cache or
   optimization plugin delays the footer router script. */
html.or-multipage:not(.or-view-home) .hero,
html.or-multipage:not(.or-view-home) .dashboard-tool-grid{display:none!important}
html.or-multipage.or-view-home .tool-page{display:none!important}
html.or-multipage:not(.or-view-home) .tool-page{display:none!important}
html.or-multipage.or-view-photo #studioPage,
html.or-multipage.or-view-signature #studioPage,
html.or-multipage.or-view-converter #converterPage,
html.or-multipage.or-view-compressor #compressorPage,
html.or-multipage.or-view-pdfcompress #pdfcompressPage,
html.or-multipage.or-view-mergepdf #mergepdfPage,
html.or-multipage.or-view-imagetopdf #imagetopdfPage,
html.or-multipage.or-view-pdftoimage #pdftoimagePage{display:block!important}
