/* Aslan Ol (/aslan-ol/) — yalnızca bu sayfada yüklenir (ozel.json "stil"). Renkler main.css :root'tan. */
.aslan-ol { padding-top: calc(var(--hdr) + clamp(28px, 5vw, 64px)); padding-bottom: clamp(56px, 8vw, 110px); }
.ao-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.ao-head .section-title { margin: .6rem 0 1rem; }
.ao-head .eyebrow a { color: inherit; text-decoration: none; }

.ao-app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }

/* Sol: adımlar */
.ao-panel { display: grid; gap: 22px; }
.ao-step { margin: 0; padding: 20px; border: 1px solid var(--line-soft); border-radius: 18px; background: var(--card); min-width: 0; }
.ao-step legend { padding: 0 8px; font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.ao-step legend b { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--gold-grad); color: #14110a; font-size: .72rem; letter-spacing: 0; }
.ao-photo { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ao-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.ao-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.ao-file { padding: .9rem 1.4rem; }
.ao-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.ao-file:focus-within { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.ao-cam { display: none; }
@media (pointer: coarse) { .ao-cam { display: inline-flex; } }
.ao-tip { margin: 12px 0 0; font-size: .86rem; color: var(--mute); }

.ao-choices { display: flex; gap: 10px; flex-wrap: wrap; }
.ao-choices label { position: relative; cursor: pointer; }
.ao-choices input { position: absolute; opacity: 0; pointer-events: none; }
/* Sahne şeridi yana kayar; 9 sahne panelin boyunu uzatmasın */
.ao-scenes { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
.ao-scenes label { flex: none; display: grid; gap: 6px; justify-items: center; scroll-snap-align: start; }
.ao-scenes span { font: 600 .72rem/1.2 var(--body); color: var(--mute); white-space: nowrap; transition: color .25s; }
.ao-scenes input:checked ~ span { color: var(--gold-hi); }
.ao-scenes img { height: 112px; width: 66px; object-fit: cover; border-radius: 12px; border: 2px solid transparent; opacity: .62; transition: opacity .25s, border-color .25s, transform .25s var(--ease); }
.ao-scenes input:checked + img { border-color: var(--gold-hi); opacity: 1; transform: translateY(-2px); }
.ao-scenes input:focus-visible + img { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.ao-sizes span { display: inline-flex; align-items: center; gap: 10px; padding: .7rem 1.1rem; border: 1px solid var(--line); border-radius: 100px; font: 700 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); transition: color .25s, border-color .25s, background .25s; }
.ao-sizes i { display: block; border: 1.5px solid currentColor; border-radius: 3px; }
.ao-r9 { width: 11px; height: 19px; }
.ao-r1 { width: 16px; height: 16px; }
.ao-sizes input:checked + span { color: #14110a; background: var(--gold-grad); border-color: transparent; }
.ao-sizes input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.ao-mod { margin-bottom: 14px; }
.ao-tip-isletme, .is-isletme .ao-tip-kisi, .is-isletme .ao-cam { display: none; }
.is-isletme .ao-tip-isletme { display: block; }
.ao-name { display: grid; gap: 6px; margin-top: 16px; font-size: .84rem; color: var(--mute); }
.ao-name input { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); color: var(--ivory); font: 500 1rem/1.3 var(--body); }
.ao-name input::placeholder { color: rgba(185, 174, 148, .55); }
.ao-name input:focus { outline: 2px solid var(--gold-hi); outline-offset: 1px; }

.ao-go { width: 100%; padding: 1.2rem; font-size: .9rem; }
.ao-go:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.ao-safe { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: .86rem; line-height: 1.55; color: var(--mute); }
.ao-safe svg { flex: none; margin-top: 3px; color: var(--gold); }

/* Sağ: sonuç */
.ao-stage { position: sticky; top: calc(var(--hdr) + 16px); display: grid; gap: 18px; }
.ao-frame { position: relative; margin: 0 auto; width: 100%; max-width: 420px; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(201, 162, 74, .12); }
.ao-frame[data-boyut="kare"] { aspect-ratio: 1; max-width: 520px; }
.ao-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ao-live, .ao-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ao-live[hidden], .ao-vid[hidden] { display: none; }
.ao-frame.is-done { cursor: grab; }
.ao-frame.is-drag { cursor: grabbing; }
.ao-frame img { -webkit-user-drag: none; user-select: none; }
.ao-ph { opacity: .35; filter: saturate(.8); }
.ao-frame.is-done .ao-ph { display: none; }
.ao-status { position: absolute; left: 16px; right: 16px; bottom: 18px; margin: 0; text-align: center; font: 600 .9rem/1.45 var(--body); color: var(--ivory); text-shadow: 0 2px 10px #000; }
.ao-status:empty { display: none; }
.ao-frame.is-busy .ao-status::before { content: ""; display: block; width: 30px; height: 30px; margin: 0 auto 10px; border: 2px solid rgba(241, 217, 138, .25); border-top-color: var(--gold-hi); border-radius: 50%; animation: ao-spin .9s linear infinite; }
@keyframes ao-spin { to { transform: rotate(360deg); } }

.ao-tune { display: grid; gap: 10px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 16px; background: var(--card); }
.ao-tune[hidden] { display: none; }
.ao-tune .ao-tip { margin: 0; }
.ao-range { display: flex; align-items: center; gap: 12px; font: 600 .78rem/1 var(--body); color: var(--gold-hi); }
.ao-range input { flex: 1; min-width: 0; accent-color: var(--gold); }
.ao-tune-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ao-mini { padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 100px; background: transparent; color: var(--gold-hi); font: 600 .78rem/1 var(--body); cursor: pointer; transition: background .25s, color .25s; }
.ao-mini:hover:not(:disabled) { background: var(--gold-grad); color: #14110a; }
.ao-mini:disabled { opacity: .4; cursor: not-allowed; }
.ao-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ao-actions[hidden] { display: none; }
.ao-more { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, rgba(201, 162, 74, .12), rgba(201, 162, 74, .02)); text-align: center; }
.ao-more p { margin: 0 0 14px; color: var(--mute); }
.ao-more span { display: block; }
.ao-more b { display: block; font: 600 1.6rem/1.2 var(--display); color: var(--ivory); margin-bottom: 4px; }

/* Masaüstünde sonuç, İndir düğmeleriyle birlikte ekrana sığsın */
@media (min-width: 1000px) {
  .ao-frame { width: min(100%, 420px, calc((100svh - var(--hdr) - 190px) * 9 / 16)); }
  .ao-frame[data-boyut="kare"] { width: min(100%, 520px, calc(100svh - var(--hdr) - 190px)); }
}
@media (max-width: 999px) {
  .ao-app { grid-template-columns: minmax(0, 1fr); }
  .ao-stage { position: static; }
  .ao-frame { max-width: 360px; }
}
@media (max-width: 680px) {
  .ao-step { padding: 16px; }
  .ao-choices { gap: 8px; }
  .ao-scenes img { height: 96px; width: 56px; border-radius: 10px; }
  .ao-pick .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ao-frame.is-busy .ao-status::before { animation-duration: 3s; }
}
