/* Oyun: sahne, üst çubuk, tezgâh, gece tezgâhı, hikâye, menüler. Sabit 1280x720 sahne pencereye ölçeklenir. */
:root { --ink: #e8e3da; --dim: #a59e93; --accent: #ff7aa8; --good: #3fb68b; --bad: #e5484d; --paper: #f6f1e6; --paperInk: #2b2620; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0b0b0e; overflow: hidden; font-family: Inter, system-ui, sans-serif; color: var(--ink); }
#stage { position: absolute; left: 50%; top: 50%; width: 1280px; height: 720px; transform-origin: 50% 50%; overflow: hidden; background: #111; }
#view { position: absolute; left: 0; right: 0; top: 44px; height: 676px; overflow: hidden; }
#view.full { top: 0; height: 720px; }
.scene { position: absolute; inset: 0; } .scene svg { width: 100%; height: 100%; display: block; }
.dim { color: var(--dim); } .small { font-size: 13px; } .red { color: #c0392b; }

button { font-family: inherit; }
.btn { height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: #2a2a31; color: var(--ink); font-size: 15px; font-weight: 500; cursor: pointer; transition: filter .12s, transform .06s; }
.btn:hover:not(:disabled) { filter: brightness(1.2); } .btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: #e9e4da; color: #1b1a1f; border-color: transparent; font-weight: 600; }
.btn.good { background: #2f8a63; border-color: #3fb68b; color: #fff; } .btn.bad { background: #5a2a2c; border-color: #8a3a3d; }
.btn.sm { height: 32px; font-size: 13px; padding: 0 12px; } .btn.xs { height: 28px; font-size: 12px; padding: 0 10px; border-radius: 7px; }

/* üst çubuk */
#top { position: absolute; left: 0; right: 0; top: 0; height: 44px; z-index: 50; display: none; align-items: center; gap: 22px; padding: 0 10px 0 18px; background: #141418; border-bottom: 1px solid #2a2a31; font-size: 14px; }
#top .brand { font-family: Marker; font-size: 18px; color: #ffb3dc; letter-spacing: .5px; }
#top .when { color: var(--dim); } #top .when b { color: var(--ink); }
#top .goalt { margin-left: auto; color: var(--dim); } #top .goalt b { color: #ffd166; }
#top .found { color: #c9b6ff; font-weight: 600; }
#top .money { font: 700 18px Inter; color: #9be3b8; min-width: 70px; text-align: right; } #top .money.neg { color: var(--bad); }
.tbtn { width: 34px; height: 30px; border-radius: 8px; border: 1px solid #333; background: #1e1e24; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.tbtn:hover { background: #2a2a31; }

/* bildirimler */
#toast { position: absolute; left: 50%; top: 58px; transform: translate(-50%, -20px); background: #1e1e24; border: 1px solid #3a3a44; color: var(--ink); padding: 10px 18px; border-radius: 10px; opacity: 0; transition: .25s; z-index: 90; pointer-events: none; font-size: 14px; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }
#think { position: absolute; left: 50%; bottom: 18px; transform: translate(-50%, 20px); max-width: 760px; background: rgba(12,12,16,.92); border: 1px solid #3a3a44; padding: 12px 20px; border-radius: 12px; opacity: 0; transition: .3s; z-index: 85; pointer-events: none; font-style: italic; font-size: 16px; color: #f1ece3; text-align: center; }
#think.on { opacity: 1; transform: translate(-50%, 0); }
#stage[data-phase=counter] #think { bottom: 262px; max-width: 700px; }
#stage[data-phase=bench] #think { left: 969px; bottom: 80px; max-width: 570px; }

/* ---- tezgâh ---- */
.seller { position: absolute; z-index: 1; pointer-events: none; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.seller.enter { animation: walkIn .5s ease-out; } .seller.leave { animation: walkOut .45s ease-in forwards; }
@keyframes walkIn { from { transform: translateX(-120px); opacity: 0; } } @keyframes walkOut { to { transform: translateX(-140px); opacity: 0; } }
.counterfront { position: absolute; left: 0; right: 0; top: 420px; bottom: 0; z-index: 2; background: linear-gradient(#9a7552 0 20px, #7a5232 20px, #4a2f1c); box-shadow: 0 -2px 0 #c49a6c; }
.counterfront::after { content: ""; position: absolute; inset: 20px 0 0; background: repeating-linear-gradient(90deg, transparent 0 78px, rgba(60,37,22,.5) 78px 81px); }
.bubble { position: absolute; left: 470px; top: 30px; width: 320px; z-index: 3; background: #fffdf7; color: #1d1b18; border-radius: 16px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.bubble::before { content: ""; position: absolute; left: -12px; top: 30px; border: 8px solid transparent; border-right: 12px solid #fffdf7; border-left: 0; }
.bubble b { font-size: 13px; color: #8a5a2c; text-transform: uppercase; letter-spacing: .6px; } .bubble p { margin: 4px 0 0; font-size: 17px; line-height: 1.35; }
.bubble em { display: block; margin-top: 8px; font-size: 14px; color: #8a3a6a; }
.asks { position: absolute; left: 470px; top: 210px; width: 320px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.ask { text-align: left; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); background: rgba(20,24,30,.82); color: #f3eee6; font-size: 15px; cursor: pointer; backdrop-filter: blur(4px); }
.ask::before { content: "› "; color: #ff9ed2; } .ask:hover { background: rgba(40,46,56,.92); } .ask.done { opacity: .55; }
.qcount { position: absolute; left: 470px; top: 372px; z-index: 3; font-size: 12px; color: rgba(255,255,255,.65); }

.idcard { position: absolute; left: 22px; top: 448px; width: 300px; height: 190px; z-index: 4; border-radius: 12px; background: linear-gradient(135deg, #e9eef3, #cfdbe6 60%, #e6d9f0); color: #1c2733; box-shadow: 0 6px 16px rgba(0,0,0,.4); transform: rotate(-2deg); overflow: hidden; animation: slideIn .4s ease-out; }
@keyframes slideIn { from { transform: translateY(40px) rotate(-6deg); opacity: 0; } }
.idh { height: 30px; background: #1f4e8c; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 12px; font-size: 13px; } .idh b { font-family: Marker; font-weight: 400; letter-spacing: 1px; } .idh span { font-size: 10px; letter-spacing: 1.5px; }
.idph { position: absolute; left: 12px; top: 40px; width: 92px; height: 112px; border-radius: 6px; background-color: #b9c7d6; border: 2px solid #fff; }
.idf { position: absolute; left: 116px; top: 38px; right: 10px; font: 12px/1.45 Mono, monospace; }
.idf small { color: #6a7a8a; font-size: 10px; margin-right: 2px; } .idf .nm { font: 700 14px/1.15 Inter; margin: 2px 0 3px; } .idf .addr { font-size: 10px; color: #3a4a5a; margin-top: 2px; line-height: 1.25; }
.sig { position: absolute; left: 14px; bottom: 6px; font: 22px Caveat; color: #1b2b6b; }

.slip { position: absolute; left: 340px; top: 444px; width: 330px; height: 222px; z-index: 4; background: var(--paper); color: var(--paperInk); border-radius: 4px; padding: 12px 16px; box-shadow: 0 6px 16px rgba(0,0,0,.4); transform: rotate(1deg); }
.slip .sh { font: 700 12px Mono; letter-spacing: 2px; display: flex; justify-content: space-between; border-bottom: 2px solid var(--paperInk); padding-bottom: 6px; margin-bottom: 6px; } .slip .sh span { letter-spacing: 0; font-family: Inter; }
.slip label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 3px 0; cursor: pointer; } .slip label em { margin-left: auto; color: #8a7f70; font-style: normal; font-size: 12px; }
.slip input { width: 17px; height: 17px; accent-color: #b33; }
.slip .calc { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 8px; border-top: 1px dashed #b9ad9a; padding-top: 6px; } .slip .calc span { font-size: 12px; color: #7a6f60; } .slip .calc b { font: 700 20px Inter; }
.fprice { font: 21px/1.2 Caveat; color: #5a1f45; padding: 10px 2px 18px; }
.sbtns { display: flex; gap: 10px; } .sbtns .btn { flex: 1; } .short { font-size: 11px; color: #b33; text-align: right; margin-top: 3px; }
.sticky { position: absolute; left: 688px; top: 450px; width: 138px; min-height: 150px; z-index: 4; background: #ffe680; color: #3b3000; padding: 9px 11px; font: 16px/1.1 Caveat; transform: rotate(3deg); box-shadow: 0 6px 12px rgba(0,0,0,.35); }
.sticky b { display: block; font-size: 20px; }

.phoneslot { position: absolute; left: 846px; top: 12px; z-index: 6; }
.ptools { position: absolute; left: 836px; top: 584px; width: 280px; z-index: 6; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tray { display: flex; align-items: center; gap: 8px; font-size: 12px; background: #1d1d22; border: 1px solid #333; border-radius: 8px; padding: 4px 10px; } .tray i { width: 40px; height: 12px; border-radius: 6px; border: 1px solid #555; }
.readout { font: 12px Mono; background: #0e1a14; color: #8ff0b5; border: 1px solid #245a3d; border-radius: 6px; padding: 4px 8px; } .readout.hot { color: #ffb3dc; border-color: #7a2a5a; background: #1e0f18; } .readout.bad { color: #ff9a9a; border-color: #7a2a2a; background: #1e0f0f; }

.papers { position: absolute; left: 1124px; top: 12px; width: 148px; bottom: 12px; z-index: 5; display: flex; flex-direction: column; }
.ptabs { display: flex; gap: 2px; } .ptabs b { flex: 1; font-size: 11px; font-weight: 600; text-align: center; padding: 6px 2px; background: #c9bfae; color: #4a4030; border-radius: 6px 6px 0 0; cursor: pointer; } .ptabs b.on { background: var(--paper); color: #1d1b18; }
.guide, .papers .nb { flex: 1; background: var(--paper); color: var(--paperInk); padding: 8px 9px; font-size: 12px; overflow-y: auto; border-radius: 0 0 6px 6px; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.guide div { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted #c9bfae; } .guide p { font-size: 11px; color: #7a6f60; }
.papers .nb { list-style: none; margin: 0; font: 15px/1.15 Caveat; } .papers .nb li { padding: 4px 0; border-bottom: 1px solid #e0d6c3; }

.center-card { position: absolute; left: 50%; top: 150px; transform: translateX(-50%); width: 520px; z-index: 5; background: rgba(16,16,20,.92); border: 1px solid #333; border-radius: 16px; padding: 30px; text-align: center; }
.center-card h2 { margin: 0 0 10px; font-size: 26px; }

/* ---- gece tezgâhı ---- */
.blist { position: absolute; left: 18px; top: 18px; width: 268px; bottom: 18px; z-index: 3; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; }
.bh { font: 22px Caveat; color: #ffe680; padding: 0 4px 4px; }
.bcard { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: rgba(20,22,28,.88); border: 1px solid #333; cursor: pointer; }
.bcard.on { border-color: #ffe680; background: rgba(40,38,28,.92); } .bcard b { display: block; font-size: 15px; } .bcard span { font-size: 12px; color: var(--dim); display: block; }
.dotc { width: 12px; height: 22px; border-radius: 3px; margin-top: 2px; flex-shrink: 0; }
.chip { display: inline-block; margin-top: 5px; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #333; color: #ddd; }
.chip.wiped { background: #1f4d39; color: #9be3b8; } .chip.locked { background: #5a2a2c; color: #ffb4b4; } .chip.hot { background: #5a1f45; color: #ffb3dc; }
.empty { color: var(--dim); font-size: 14px; padding: 20px 8px; line-height: 1.5; }
.bphone { position: absolute; left: 318px; top: 6px; z-index: 3; }
.bside { position: absolute; left: 676px; top: 18px; right: 18px; bottom: 74px; z-index: 3; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; overflow-x: hidden; }
.bside > * { min-width: 0; } .tool > div { min-width: 0; }
.pcard { background: var(--paper); color: var(--paperInk); border-radius: 6px; padding: 14px 16px; box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.pch { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--paperInk); padding-bottom: 6px; margin-bottom: 8px; } .pch b { font-size: 18px; } .pch span { font: 18px Caveat; }
.kv2 { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 0; }
.defs { margin-top: 8px; font-size: 13px; } .defs div { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; } .defs.ok { color: #2f8a63; }
.warnl { margin-top: 8px; font-size: 12px; color: #a33; }
.laptop { background: #1c1f26; border: 1px solid #3a3f4a; border-radius: 10px; overflow: hidden; }
.lh { background: #2b6cb0; padding: 8px 14px; display: flex; justify-content: space-between; align-items: baseline; } .lh b { font-size: 16px; } .lh span { font-size: 11px; opacity: .8; }
.tool { display: flex; gap: 12px; align-items: center; padding: 9px 14px; border-bottom: 1px solid #2a2e37; } .tool b { font-size: 14px; } .tool p { margin: 2px 0 0; font-size: 12px; color: var(--dim); line-height: 1.3; } .tool > div { flex: 1; }
.tool.own em { font-style: normal; color: var(--good); font-size: 12px; }
.lf { font-size: 11px; color: var(--dim); padding: 8px 14px; }
.bend { position: absolute; right: 18px; bottom: 18px; z-index: 4; width: 260px; }

/* albüm görüntüleyici */
.viewer { position: absolute; inset: 0; z-index: 120; background: rgba(0,0,0,.94); display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.vwrap { position: relative; max-width: 1180px; max-height: 620px; } .vwrap img, .vwrap video { max-width: 1180px; max-height: 620px; display: block; border-radius: 6px; }
.vmark { position: absolute; right: 12px; bottom: 8px; font-style: normal; color: #fff; font-size: 20px; text-shadow: 0 0 6px #000; }
.vbar { display: flex; gap: 12px; align-items: center; margin-top: 14px; } .vbar span { min-width: 60px; text-align: center; color: var(--dim); }

/* ---- hikâye ---- */
.story { position: absolute; inset: 0; z-index: 100; cursor: pointer; background: #000; }
.sbg { position: absolute; inset: 0; } .sbg svg, .sbg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbg.shop .scene { top: 44px; } .sbg.velvet img { filter: brightness(.7); }
.ssprite { position: absolute; display: none; z-index: 2; filter: drop-shadow(0 10px 30px rgba(0,0,0,.5)); } .ssprite.in { animation: walkIn .45s ease-out; }
.sbg.shop + .ssprite { z-index: 1; }
.sbox { position: absolute; left: 120px; right: 120px; bottom: 26px; min-height: 130px; z-index: 5; background: rgba(14,14,18,.93); border: 1px solid #3a3a44; border-radius: 16px; padding: 18px 26px; display: none; }
.sbox.on { display: block; animation: fadeIn .2s; }
.sbox b { display: inline-block; font-size: 15px; color: #ffb3dc; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; } .sbox p { margin: 0; font-size: 21px; line-height: 1.45; }
.sbox.narr p { font-style: italic; color: #e5dfd4; }
.snext { position: absolute; right: 18px; bottom: 10px; font-style: normal; font-size: 13px; color: var(--dim); animation: hintpulse 1.4s infinite; }
@keyframes hintpulse { 50% { opacity: .3; } }
.sphone { position: absolute; left: 50%; top: 40px; margin-left: -152px; z-index: 6; display: none; } .sphone.on { display: block; animation: slideUp .4s ease-out; }
@keyframes slideUp { from { transform: translateY(80px); opacity: 0; } }
.story:has(.sphone.on)::after { content: "Click to continue"; position: absolute; left: 0; right: 0; bottom: 12px; text-align: center; color: var(--dim); font-size: 13px; z-index: 7; }
.dcard { position: absolute; left: 50%; top: 150px; transform: translateX(-50%) rotate(-3deg); width: 340px; padding: 40px 30px; background: #fdfcf8; color: #222; text-align: center; font: 26px/1.4 Caveat; box-shadow: 0 20px 40px rgba(0,0,0,.6); z-index: 6; animation: slideUp .4s; }
.goal { position: absolute; left: 50%; top: 90px; transform: translateX(-50%); width: 640px; z-index: 6; background: var(--paper); color: var(--paperInk); padding: 28px 34px; border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.6); animation: slideUp .4s; }
.goal small { font: 700 12px Mono; letter-spacing: 3px; color: #a33; } .goal h2 { font-family: Marker; font-weight: 400; font-size: 30px; margin: 6px 0 14px; }
.goal ul { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.5; } .goal li { margin-bottom: 6px; } .goal .dim { color: #8a7f70; margin: 14px 0 0; }
.choices { position: absolute; left: 50%; bottom: 180px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 7; width: 560px; }
.choices .btn { height: 48px; font-size: 17px; text-align: left; padding: 0 20px; background: rgba(30,30,38,.95); }
.innerv { position: absolute; inset: 0; z-index: 95; cursor: pointer; background: rgba(0,0,0,.35); }
.endcard { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 640px; z-index: 8; background: rgba(14,14,18,.96); border: 1px solid #3a3a44; border-radius: 18px; padding: 34px 40px; text-align: center; cursor: default; }
.endcard small { font: 700 12px Mono; letter-spacing: 4px; color: var(--accent); } .endcard h1 { font-family: Marker; font-weight: 400; font-size: 52px; margin: 6px 0 10px; color: #ffd6ea; }
.endcard p { font-size: 17px; line-height: 1.5; color: #e5dfd4; }
.estats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; } .estats div { background: #1e1e24; border-radius: 10px; padding: 12px 6px; } .estats b { display: block; font-size: 22px; } .estats span { font-size: 12px; color: var(--dim); }
.ebtns { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }

/* ---- kaplamalar, menüler ---- */
.overlay { position: absolute; inset: 0; z-index: 110; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; animation: fadeIn .2s; }
.overlay.solid { background: #0b0b0e; }
.overlay .endcard { position: relative; left: auto; top: auto; transform: none; }
.dialog { position: relative; width: 440px; max-height: 660px; overflow-y: auto; background: #18181d; border: 1px solid #3a3a44; border-radius: 16px; padding: 26px 30px; }
.dialog.wide { width: 760px; } .dialog h2 { margin: 0 0 12px; } .dialog p { line-height: 1.5; }
.closex { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; padding: 0; }
.vbtns { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.sl { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 16px; } .sl input[type=range] { width: 220px; accent-color: var(--accent); } .sl input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); }
.receipt { width: 420px; background: #fbf8f1; color: #222; font: 15px/1.4 Mono, monospace; padding: 24px 26px; box-shadow: 0 20px 50px rgba(0,0,0,.6); clip-path: polygon(0 0, 100% 0, 100% 100%, 95% 98%, 90% 100%, 85% 98%, 80% 100%, 75% 98%, 70% 100%, 65% 98%, 60% 100%, 55% 98%, 50% 100%, 45% 98%, 40% 100%, 35% 98%, 30% 100%, 25% 98%, 20% 100%, 15% 98%, 10% 100%, 5% 98%, 0 100%); animation: slideUp .4s; }
.rh { text-align: center; font-weight: 700; letter-spacing: 2px; border-bottom: 1px dashed #999; padding-bottom: 10px; margin-bottom: 10px; } .rh small { font-weight: 400; letter-spacing: 1px; color: #666; }
.rl { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; } .rl span { flex: 1; } .rl .neg { color: #b33; } .rl .pos { color: #2a7a4a; } .rl.dim { color: #888; }
.rl.tot { border-top: 1px dashed #999; margin-top: 8px; padding-top: 10px; font-weight: 700; font-size: 16px; }
.rnote { font-size: 12px; color: #a33; margin-top: 6px; } .receipt .btn { width: 100%; margin-top: 16px; }
.myphone { flex-direction: column; gap: 10px; } .myphone .closex2 { position: absolute; right: 30px; bottom: 30px; }

/* başlık ekranı */
.title { position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; padding-top: 60px; z-index: 2; background: linear-gradient(rgba(5,5,12,.75), rgba(5,5,12,.2) 40%, rgba(5,5,12,.85)); }
.tsub { font: 600 13px Mono; letter-spacing: 4px; color: #9ff3ff; } .title h1 { font-family: Marker; font-weight: 400; font-size: 96px; margin: 4px 0 0; color: #ffd6ea; text-shadow: 0 0 24px rgba(255,79,168,.7), 0 0 4px #ff4fa8; letter-spacing: 2px; }
.tline { font-size: 18px; color: #e5dfd4; margin-bottom: 20px; }
.tbtns { margin-top: auto; margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; width: 280px; } .tbtns .btn { height: 46px; font-size: 16px; }
.tfoot { position: absolute; bottom: 12px; font-size: 12px; color: var(--dim); }
.mgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.mcard { cursor: pointer; text-align: center; } .mcard .mimg { aspect-ratio: 1; border-radius: 12px; background: #24242c center/cover; display: flex; align-items: center; justify-content: center; font: 40px Marker; color: #444; border: 1px solid #333; }
.mcard b { display: block; margin-top: 6px; } .mcard span { font-size: 12px; color: var(--dim); } .mcard.lock { cursor: default; opacity: .7; }
.mnote { background: #fff8d6; color: #4a3b00; padding: 14px 18px; border-radius: 10px; line-height: 1.5; margin-bottom: 14px; }
.mthumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; } .mthumbs div { aspect-ratio: 1; border-radius: 8px; background: center/cover; cursor: pointer; position: relative; } .mthumbs span { position: absolute; left: 6px; bottom: 4px; color: #fff; text-shadow: 0 0 4px #000; }

/* ◇ parça takipçisi (gece tezgâhı) */
.hunt { background: #17131f; border: 1px solid #3d2f55; border-radius: 10px; padding: 12px 14px; flex-shrink: 0; }
.hh { display: flex; justify-content: space-between; align-items: baseline; } .hh b { color: #e7d9ff; font-size: 15px; } .hh span { color: #c9b6ff; font-weight: 700; }
.hbar { height: 6px; border-radius: 3px; background: #2c2340; margin: 8px 0 10px; overflow: hidden; } .hbar i { display: block; height: 100%; background: linear-gradient(90deg, #9b7bff, #ff8ad1); transition: width .4s; }
.hlist { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; }
.hi { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #a99dbd; min-width: 0; } .hi > div { min-width: 0; } .hi b { font-weight: 500; display: block; line-height: 1.25; }
.hi small { color: #ffd166; font-size: 11px; } .hi.on b { color: #fff; } .hi > i { margin-left: auto; color: #9be3b8; font-style: normal; }
.ht { width: 34px; height: 34px; border-radius: 6px; flex-shrink: 0; background: #2c2340 center/cover; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; text-shadow: 0 0 3px #000; }
.ht.q { border: 1px dashed #5a4a7a; color: #7d6aa0; font-weight: 700; font-size: 14px; text-shadow: none; }
.hnote { font-size: 12px; color: #ffd6f0; margin: 0 0 8px; }
.mthumbs .mlock { display: flex; align-items: center; justify-content: center; background: #24242c; color: #555; font: 28px Marker; cursor: default; }

/* ---- 1.2: boyalı arka planlar, iş emri, bulgular kâğıdı ---- */
.paintbg { position: absolute; inset: 0; background: center / cover no-repeat; }
.benchbg .paintbg { filter: brightness(.82) saturate(.95); }
.slip.work .wo { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; font-size: 13px; padding: 4px 0 2px; } .slip.work .wo small { color: #7a6f60; } .slip.work .wo b { font-weight: 600; }
.pcard.work { position: relative; background: #fbf6e9; } .pcard .okm { color: #2e7d4f; font-style: normal; font-weight: 600; font-size: 12px; } .pcard b.ok { color: #2e7d4f; }
.stamp { position: absolute; right: 14px; bottom: 12px; transform: rotate(-8deg); border: 3px solid #2e7d4f; color: #2e7d4f; font: 700 15px Mono; letter-spacing: 2px; padding: 3px 8px; border-radius: 4px; opacity: .85; }
.kv2.log b { font-size: 12px; font-weight: 500; }
.chip.job { background: #4a3b12; color: #ffe08a; } .bcard.jobc { border-style: dashed; }
.hunt { background: #f7f1e3; color: #3b3326; border: 0; border-radius: 4px; padding: 12px 14px; box-shadow: 0 6px 16px rgba(0,0,0,.4); transform: rotate(-.6deg); }
.hunt .hh b { color: #3b3326; font: 22px Caveat; } .hunt .hh span { color: #5a1f45; font: 700 20px Caveat; }
.hthumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .hthumbs .ht { width: 44px; height: 44px; border-radius: 3px; border: 3px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); }
.hunt .hnote { color: #6b5a3e; font: 17px Caveat; margin: 4px 0 0; } .hunt .hnote.dim { color: #9a8b70; }
.hscan { margin-top: 6px; font: 12px Mono; color: #2a5a3d; } .hscan.dim { color: #8a8070; }
.vwrap.tall img { max-height: 640px; max-width: 900px; }

/* ---- görsel iyileştirmeler (1.2) ---- */
/* ekran camında çok hafif yansıma */
.ph .glass::after { content: ""; position: absolute; inset: 5px; border-radius: inherit; pointer-events: none; z-index: 30;
  background: linear-gradient(115deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 28%, transparent 42%); }
.ph.form-home .glass::after { inset: 92px 12px; border-radius: 4px; }
/* galeri: küçük resimler bulanıktan nete gelir */
.pgrid .pc > .photo, .spslot .photo, .natt .photo, .matt .photo { animation: phIn .45s ease-out both; }
@keyframes phIn { from { filter: blur(6px); opacity: .4; } }
/* tam ekran görüntüleyici: telefon yan dönüyormuş gibi */
.viewer .vwrap { animation: rotIn .38s cubic-bezier(.2,.85,.25,1); }
@keyframes rotIn { from { transform: rotate(-90deg) scale(.35); opacity: 0; } }
/* kilit ekranı saati: duvar kâğıdından ayrılsın */
.lock .ltime { text-shadow: 0 2px 18px rgba(0,0,0,.28); }
/* evre geçişi: saat kartı */
.phasecard { position: absolute; inset: 0; z-index: 140; background: #08080b; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #e8e3da;
  animation: pcard 1.5s ease-in-out forwards; pointer-events: none; }
.phasecard b { font: 400 54px Caveat; } .phasecard span { font: 14px Mono; letter-spacing: 3px; color: #8a8478; margin-top: 6px; }
@keyframes pcard { 0% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; } }
/* tezgâh kâğıtlarına hafif gölge ve eğim */
.idcard { box-shadow: 0 8px 18px rgba(0,0,0,.45), 0 1px 0 rgba(255,255,255,.4) inset; }
.sticky { box-shadow: 0 8px 14px rgba(0,0,0,.35); }

/* Lou'nun kontrol listesi (tezgâh) */
.sticky.checks { width: 152px; left: 682px; padding: 8px 10px 10px; font-size: 15px; cursor: help; }
.sticky.checks b i { font-style: normal; display: inline-block; width: 17px; height: 17px; border-radius: 50%; background: #3b3000; color: #ffe680; font: 700 12px/17px Inter; text-align: center; vertical-align: 2px; margin-left: 2px; }
.ck { margin-top: 5px; line-height: 1.05; } .ck span { display: block; font-weight: 700; } .ck em { font-style: normal; color: #6b5d1e; }
.ck.ok em { color: #1f6b3a; } .ck.bad em { color: #b0261f; font-weight: 700; } .ck.seen em { color: #2b2620; font-weight: 600; }

/* bulgular kâğıdı: kopyalama düğmesi */
.hcopy { margin-top: 8px; width: 100%; background: #ffd34d; color: #1b1a1f; border-color: transparent; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* kablo sahnesi: telefon dizüstüne takılı, kablo girip çıkıyor, bulunanlar kopyalanıyor */
.xfer { position: absolute; inset: 0; z-index: 95; background: rgba(8,8,12,.88); animation: fadeIn .25s; overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } }
.xstage { position: absolute; left: 300px; top: 0; width: 300px; height: 720px; }
.xphone { position: absolute; left: 15px; top: 46px; width: 270px; height: 540px; border-radius: 42px; background: var(--case); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 30px 60px rgba(0,0,0,.6); z-index: 2;
  animation: xjolt var(--beat) ease-in-out infinite; transform-origin: 50% 100%; }
.xscreen { position: absolute; inset: 9px; border-radius: 34px; overflow: hidden; background: #050507; color: #fff; font-family: Inter, sans-serif; }
.xscreen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 100%, rgba(255,140,200,.35), transparent 60%); opacity: 0; animation: xglow var(--beat) ease-in-out infinite; pointer-events: none; }
.xtop { display: flex; justify-content: space-between; padding: 14px 22px 0; font-size: 13px; font-weight: 600; } .xtop span { display: flex; align-items: center; gap: 3px; }
.ximgs { position: absolute; left: 14px; right: 14px; top: 44px; bottom: 112px; border-radius: 16px; overflow: hidden; background: #111; }
.ximgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; filter: blur(14px); transform: scale(1.06); transition: opacity .45s, filter .7s, transform .9s; }
.ximgs img.on { opacity: 1; filter: none; transform: none; }
.xinfo { position: absolute; left: 20px; right: 20px; bottom: 26px; } .xinfo b { display: block; font-size: 16px; } .xinfo span { display: block; font-size: 12px; color: #b9b9c3; margin-top: 3px; }
.xbar { height: 5px; border-radius: 3px; background: #2a2a31; margin-top: 10px; overflow: hidden; } .xbar i { display: block; height: 100%; width: 0; background: #7dff9a; }
.xport { position: absolute; left: 50%; bottom: 2px; width: 26px; height: 5px; margin-left: -13px; border-radius: 3px; background: #111; }
.xflash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.xcable { position: absolute; left: 50%; top: 568px; width: 30px; margin-left: -15px; z-index: 1; display: flex; flex-direction: column; align-items: center; animation: xthrust var(--beat) cubic-bezier(.5,0,.3,1) infinite; }
.xplug { width: 20px; height: 20px; border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, #8d9399, #eef0f2 45%, #9aa0a6); }
.xboot { width: 30px; height: 40px; border-radius: 8px 8px 10px 10px; background: linear-gradient(90deg, #d9d9dd, #fafafa 40%, #cfcfd4); margin-top: -1px; }
.xwire { width: 10px; height: 260px; background: linear-gradient(90deg, #d4d4d8, #fafafa 45%, #c9c9ce); }
@keyframes xthrust { 0%, 100% { transform: translateY(30px); } 42%, 58% { transform: translateY(0); } }
@keyframes xjolt { 0%, 100% { transform: translateY(0); } 42% { transform: translateY(-8px); } 58% { transform: translateY(-5px); } }
@keyframes xglow { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.xfer.end .xcable, .xfer.end .xphone, .xfer.end .xscreen::after { animation: none; }
.xfer.end .xphone { animation: xshudder .07s 9; }
.xfer.end .xflash { animation: xflash 1s ease-out; }
@keyframes xshudder { 0%, 100% { transform: translateY(-6px); } 25% { transform: translateY(-10px); } 75% { transform: translateY(-2px); } }
@keyframes xflash { 0% { opacity: .95; } 100% { opacity: 0; } }
.xwin { position: absolute; left: 680px; top: 170px; width: 470px; background: #f3f3f3; color: #1b1b1b; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.55); font-family: "Segoe UI", Inter, sans-serif; overflow: hidden; }
.xwh { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #fff; border-bottom: 1px solid #e5e5e5; font-size: 13px; } .xwh em { font-style: normal; color: #666; }
.xwb { padding: 14px 16px 16px; } .xbigp .xtot { font-size: 20px; font-weight: 600; } .xbig { height: 6px; border-radius: 3px; background: #ddd; margin: 10px 0 14px; overflow: hidden; } .xbig i { display: block; height: 100%; width: 0; background: #0f6cbd; }
.xfiles { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow: hidden; }
.xf { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; font-size: 12px; }
.xt { grid-row: span 2; width: 40px; height: 40px; border-radius: 4px; background: #ccc center/cover; } .xf b { font-weight: 500; }
.xfb { height: 4px; border-radius: 2px; background: #e1e1e1; overflow: hidden; } .xfb i { display: block; height: 100%; width: 0; background: #0f6cbd; }
.xdone { position: absolute; left: 680px; top: 620px; width: 200px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.xfer.end .xdone { opacity: 1; pointer-events: auto; }
.xskip { position: absolute; left: 680px; top: 620px; width: 120px; transition: opacity .2s; } .xfer.end .xskip { opacity: 0; pointer-events: none; }
.xwh em { cursor: pointer; }

/* dükkân içi kırpma: sağdaki alet panosu kadraj dışında */
.paintbg.shopcrop { background-size: 122% auto; background-position: 0% 45%; }

/* başlık ekranı */
.tscene { position: absolute; inset: 0; overflow: hidden; background: #07080c; }
.tbg { position: absolute; inset: -2%; background: center / cover no-repeat; animation: tdrift 40s ease-in-out infinite alternate; }
@keyframes tdrift { from { transform: scale(1.02) translateX(0); } to { transform: scale(1.08) translateX(-1.5%); } }
.tstar { position: absolute; right: -10px; bottom: -470px; height: 1180px; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); animation: tstarIn .9s ease-out; }
@keyframes tstarIn { from { opacity: 0; transform: translateX(40px); } }
.tshade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,7,12,.92) 0, rgba(6,7,12,.72) 30%, rgba(6,7,12,.1) 58%, rgba(6,7,12,0) 70%), linear-gradient(0deg, rgba(6,7,12,.7), rgba(6,7,12,0) 30%); }
.title2 { position: absolute; left: 96px; top: 0; bottom: 0; width: 520px; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.tlogo small { font: 600 12px Inter; letter-spacing: 3px; text-transform: uppercase; color: #ff9ecb; }
.tlogo h1 { font: 400 84px/0.95 Marker; margin: 10px 0 14px; color: #fff4f8; letter-spacing: 1px; text-shadow: 0 3px 0 #b8326f, 0 10px 30px rgba(0,0,0,.6); }
.tlogo p { font-size: 18px; line-height: 1.45; color: #d8d2c8; margin: 0 0 44px; }
.tmenu { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tmenu button { position: relative; background: none; border: 0; padding: 7px 0 7px 22px; color: rgba(240,234,226,.62); font: 600 24px Inter; letter-spacing: .3px; cursor: pointer; transition: color .15s, transform .15s; }
.tmenu button::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 2px; background: #ff5fa2; transform: scale(0) rotate(45deg); transition: transform .15s; }
.tmenu button.on { color: #fff; transform: translateX(6px); } .tmenu button.on::before { transform: scale(1) rotate(45deg); }
.tfoot2 { position: absolute; bottom: 22px; font-size: 12px; color: rgba(216,210,200,.55); }

/* ilk açılış: +18 ve içerik tercihleri */
.dialog.first { width: 620px; } .dialog h3 { font-size: 15px; margin: 18px 0 4px; color: #ff9ecb; letter-spacing: .3px; }
.prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 10px 0 6px; } .prefs label, .agebox { display: flex; align-items: center; gap: 9px; font-size: 15px; cursor: pointer; }
.prefs input, .agebox input { width: 18px; height: 18px; accent-color: #ff5fa2; }
.agebox { margin: 18px 0 4px; padding-top: 14px; border-top: 1px solid #333; font-weight: 600; }
.tapnext { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); color: var(--dim, #9a9aa6); font-size: 13px; letter-spacing: .04em; pointer-events: none; animation: tapnext 1.6s ease-in-out infinite; z-index: 40; }
@keyframes tapnext { 50% { opacity: .35; } }
.wowarn { font-size: 12px; color: #b4561f; margin: -2px 0 8px; line-height: 1.35; }
