/* Lugin Beauty — Renk Provası */
:root{--cream:#fffaf2;--ink:#2b2420;--charcoal:#3a3634;--graphite:#5b5550;--clay:#c27a54;--terracotta:#b05a36;--bronze:#8c5a2c;--gold:#d9b37a;
  --serif:'Fraunces','Cormorant Garamond',Georgia,serif;--sans:'Manrope','Segoe UI',system-ui,sans-serif;--noise:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
*{box-sizing:border-box}
html,body{margin:0;overflow-x:clip}
body{min-height:100svh;font-family:var(--sans);color:var(--ink);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 240' preserveAspectRatio='xMidYMax slice' fill='none' stroke='%23a97d4f' stroke-width='1.1' stroke-linecap='round' opacity='.55'%3E%3Cpath d='M880 176 Q925 160 970 170 Q1025 140 1080 150 Q1135 118 1190 128 Q1245 108 1300 118 Q1360 94 1420 104 Q1430 94 1440 104' fill='none'/%3E%3Cpath d='M560 176 Q515 160 470 170 Q415 140 360 150 Q305 118 250 128 Q195 108 140 118 Q80 94 20 104 Q10 94 0 104' fill='none'/%3E%3Cpath d='M0 186H1440'/%3E%3Cpath d='M160.0 196H1280.0' stroke-dasharray='6 10' opacity='0.60'/%3E%3Cpath d='M250.0 208H1190.0' stroke-dasharray='9 14' opacity='0.48'/%3E%3Cpath d='M340.0 220H1100.0' stroke-dasharray='12 18' opacity='0.36'/%3E%3Cpath d='M430.0 232H1010.0' stroke-dasharray='15 22' opacity='0.24'/%3E%3Cg transform='translate(80.0 118) scale(1.25)'%3E%3Cpath d='M0 0v-22M0-10c-5-3-10-2-13 1M0-15c5-3 10-3 13 0M0-21c-4-4-9-4-12-2M0-21c4-5 9-5 12-3'/%3E%3Cellipse cx='-9' cy='-12' rx='6' ry='3.2'/%3E%3Cellipse cx='9' cy='-17' rx='6' ry='3.2'/%3E%3Cellipse cx='-7' cy='-24' rx='5' ry='2.8'/%3E%3Cellipse cx='7' cy='-26' rx='5' ry='2.8'/%3E%3C/g%3E%3Cg transform='translate(1360.0 118) scale(1.25)'%3E%3Cpath d='M0 0v-22M0-10c-5-3-10-2-13 1M0-15c5-3 10-3 13 0M0-21c-4-4-9-4-12-2M0-21c4-5 9-5 12-3'/%3E%3Cellipse cx='-9' cy='-12' rx='6' ry='3.2'/%3E%3Cellipse cx='9' cy='-17' rx='6' ry='3.2'/%3E%3Cellipse cx='-7' cy='-24' rx='5' ry='2.8'/%3E%3Cellipse cx='7' cy='-26' rx='5' ry='2.8'/%3E%3C/g%3E%3Cg transform='translate(200.0 128) scale(1)'%3E%3Cpath d='M0 0v-22M0-10c-5-3-10-2-13 1M0-15c5-3 10-3 13 0M0-21c-4-4-9-4-12-2M0-21c4-5 9-5 12-3'/%3E%3Cellipse cx='-9' cy='-12' rx='6' ry='3.2'/%3E%3Cellipse cx='9' cy='-17' rx='6' ry='3.2'/%3E%3Cellipse cx='-7' cy='-24' rx='5' ry='2.8'/%3E%3Cellipse cx='7' cy='-26' rx='5' ry='2.8'/%3E%3C/g%3E%3Cg transform='translate(1240.0 128) scale(1)'%3E%3Cpath d='M0 0v-22M0-10c-5-3-10-2-13 1M0-15c5-3 10-3 13 0M0-21c-4-4-9-4-12-2M0-21c4-5 9-5 12-3'/%3E%3Cellipse cx='-9' cy='-12' rx='6' ry='3.2'/%3E%3Cellipse cx='9' cy='-17' rx='6' ry='3.2'/%3E%3Cellipse cx='-7' cy='-24' rx='5' ry='2.8'/%3E%3Cellipse cx='7' cy='-26' rx='5' ry='2.8'/%3E%3C/g%3E%3Cpath d='M610.0 186a110 110 0 0 1 220 0' stroke='%23d9a46a' opacity='.6'/%3E%3C/svg%3E") center bottom 30px/max(1200px,100%) auto no-repeat,radial-gradient(50% 30% at 50% 100%,rgba(255,214,176,.55),transparent 70%),linear-gradient(180deg,#f2e1dc,#f6e7dc 40%,#f8ecdf)}
.pv-head{display:flex;justify-content:center;padding:calc(16px + env(safe-area-inset-top,0px)) 16px 0}
.pv-head img{height:38px;display:block}
.pv{max-width:1080px;margin:0 auto;padding:10px 14px 26px;display:grid;gap:16px;grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}
.pv-eyebrow{margin:0;font-size:12px;font-weight:600;letter-spacing:.3em;text-transform:uppercase;color:var(--bronze)}
.pv-title h1{margin:4px 0 2px;font-family:var(--serif);font-weight:300;font-size:clamp(40px,8vw,62px);line-height:1;letter-spacing:-.02em}
.pv-title h1 em{color:var(--terracotta);font-weight:300;font-variation-settings:"SOFT" 100,"WONK" 1}
.pv-sub{margin:4px 0 0;color:var(--charcoal)}
.pv-lbl{margin:0 0 10px;font-size:12px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--graphite)}
.pv-hands{width:100%}
.pv-thumbs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;max-width:720px;margin:0 auto}
.pv-thumb{padding:0;border:0;background:none;cursor:pointer;aspect-ratio:1;border-radius:999px 999px 18px 18px;overflow:hidden;box-shadow:0 0 0 1px rgba(201,161,115,.5);transition:transform .25s,box-shadow .25s}
.pv-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pv-thumb.on{box-shadow:0 0 0 3px var(--cream),0 0 0 5px var(--gold);transform:translateY(-3px)}
.pv-stage{width:100%;max-width:760px}
#pvCanvas{display:block;width:100%;height:auto;border-radius:30px;box-shadow:0 40px 70px -44px rgba(92,56,26,.6),0 0 0 8px var(--cream),0 0 0 9px rgba(201,161,115,.45);transition:opacity .3s;background:#efe6da}
#pvCanvas.is-loading{opacity:.4}
.pv-hint{margin:16px 0 0;font-family:var(--serif);font-style:italic;font-size:18px;color:var(--bronze);min-height:1.5em}
.pv-panel{width:100%;max-width:760px;padding:22px 18px;border-radius:30px;background:var(--noise) repeat,var(--cream);box-shadow:inset 0 0 0 1px rgba(201,161,115,.5),inset 0 0 0 7px var(--cream),inset 0 0 0 8px rgba(201,161,115,.3);display:grid;gap:14px}
.pv-mode{display:inline-flex;justify-self:center;padding:4px;border-radius:999px;background:#f3e8db}
.pv-mode button{border:0;background:none;padding:9px 18px;border-radius:999px;font:500 14px var(--sans);color:var(--charcoal);cursor:pointer}
.pv-mode button.on{background:var(--ink);color:#f7f0e5}
.pv-colors{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:10px 6px}
.pv-c{display:grid;justify-items:center;gap:4px;padding:0;border:0;background:none;cursor:pointer;font:500 10.5px/1.15 var(--sans);color:var(--graphite)}
.pv-c i{width:40px;height:40px;border-radius:50%;background:radial-gradient(circle at 34% 28%,rgba(255,255,255,.6),transparent 38%),var(--c);box-shadow:inset 0 0 0 1px rgba(0,0,0,.1),inset 0 -6px 10px rgba(0,0,0,.18);transition:transform .2s}
.pv-c.on i{box-shadow:0 0 0 2px var(--cream),0 0 0 4px var(--terracotta);transform:scale(1.06)}
.pv-mix{border-radius:20px;background:rgba(243,232,219,.55);padding:4px 12px}
.pv-mix summary{cursor:pointer;list-style:none;padding:10px 0;font-family:var(--serif);font-size:19px;color:var(--terracotta)}
.pv-mix summary::-webkit-details-marker{display:none}
.pv-mixbox{display:grid;gap:12px;padding:4px 0 14px}
.pv-mixrow{display:flex;align-items:center;justify-content:center;gap:10px}
.pv-slot{display:grid;justify-items:center;gap:4px;padding:6px 8px;border-radius:16px;border:1px dashed rgba(169,125,79,.6);background:#fffdf9;cursor:pointer;font:500 11.5px var(--sans);color:var(--graphite);min-width:82px}
.pv-slot.on{border-style:solid;border-color:var(--terracotta);box-shadow:0 0 0 3px rgba(176,90,54,.12)}
.pv-slot i,.pv-result i{width:40px;height:40px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);background:repeating-linear-gradient(45deg,#f3e8db 0 4px,#fffdf9 4px 8px)}
.pv-result i{width:54px;height:54px;display:block}
.pv-plus,.pv-eq{font-family:var(--serif);font-size:24px;color:var(--bronze)}
#pvRatio{width:100%;max-width:420px;justify-self:center;accent-color:var(--terracotta)}
.pv-mixname{margin:0;font-size:13.5px;color:var(--charcoal)}
.pv-fins{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pv-f{min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid rgba(201,161,115,.6);background:#fffdf9;font:500 14px var(--sans);color:var(--ink);cursor:pointer}
.pv-f.on{background:var(--ink);color:#f7f0e5;border-color:var(--ink)}
.pv-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}
.pv-btn{min-height:50px;padding:12px 26px;border:0;border-radius:999px;background:var(--terracotta);color:#fff;font:600 15px var(--sans);cursor:pointer;box-shadow:inset 0 0 0 2px var(--terracotta),inset 0 0 0 3.5px rgba(255,250,242,.5)}
.pv-btn.line{background:transparent;color:var(--terracotta);box-shadow:inset 0 0 0 1.5px var(--terracotta)}
.pv-btn.sm{min-height:42px;padding:8px 20px;font-size:14px;justify-self:center}
.pv-foot{text-align:center;font-size:13px;color:var(--graphite);padding:10px 16px calc(22px + env(safe-area-inset-bottom,0px))}
.pv-foot a{color:var(--bronze)}
@media (min-width:980px){
  .pv{grid-template-columns:minmax(0,7fr) minmax(0,5fr);align-items:start;column-gap:28px}
  .pv-title,.pv-hands{grid-column:1/-1}
  .pv-stage{grid-column:1;grid-row:3}.pv-panel{grid-column:2;grid-row:3;position:sticky;top:18px}
  .pv-colors{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:560px){.pv-thumbs{grid-template-columns:repeat(3,minmax(0,1fr));max-width:330px}.pv-colors{grid-template-columns:repeat(4,minmax(0,1fr))}}
.pv-set{margin-bottom:14px}

/* kapat: büyük, şık, altın halkalı */
.pg-x{position:fixed;z-index:60;top:calc(14px + env(safe-area-inset-top,0px));right:max(14px,env(safe-area-inset-right,0px));width:56px;height:56px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.95),transparent 60%),#fffaf2;
  box-shadow:inset 0 0 0 1.5px rgba(169,125,79,.75),0 0 0 5px rgba(217,179,122,.16),0 14px 30px -14px rgba(92,56,26,.65);transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .3s}
.pg-x::before,.pg-x::after{content:"";position:absolute;left:50%;top:50%;width:24px;height:2px;border-radius:2px;background:linear-gradient(90deg,#b05a36,#8c5a2c);transform:translate(-50%,-50%) rotate(45deg)}
.pg-x::after{transform:translate(-50%,-50%) rotate(-45deg)}
.pg-x:hover,.pg-x:focus-visible{transform:rotate(90deg);box-shadow:inset 0 0 0 1.5px #b05a36,0 0 0 7px rgba(217,179,122,.22),0 0 24px rgba(217,179,122,.45);outline:none}
@media (prefers-reduced-motion:reduce){.pg-x{transition:none}}

/* kendi elin */
.pv-own{position:relative;display:grid;place-content:center;justify-items:center;gap:6px;background:radial-gradient(circle at 50% 30%,#fffaf2,#f3e3cf)!important;box-shadow:0 0 0 1.5px #c9a15f,0 0 0 4px rgba(217,179,122,.18)!important}
.pv-own b{font:600 12px var(--sans);color:var(--bronze)}
.pv-own em{position:absolute;top:8px;right:8px;font-style:normal;font:700 9px var(--sans);letter-spacing:.08em;text-transform:uppercase;color:#fff;background:var(--terracotta);padding:2px 6px;border-radius:999px}
.pv-own-ic{width:28px;height:28px;background:var(--bronze);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center/contain no-repeat}
.pv-ownbar{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}
.pv-ownbar[hidden]{display:none}
.pv-ownbar button:not(.pv-btn){min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid rgba(201,161,115,.6);background:#fffdf9;font:500 14px var(--sans);color:var(--ink);cursor:pointer}
.pv-ownbar button.on:not(.pv-btn){background:var(--ink);color:#f7f0e5;border-color:var(--ink)}
.pv-fixops{display:inline-flex;gap:6px}.pv-fixops[hidden]{display:none}
.pv-again{display:block;margin:12px auto 0;border:0;background:none;font:500 14px var(--sans);color:var(--bronze);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
#pvCanvas{touch-action:manipulation}
