/* UZYTAK 3D pages. On top of /media/photopack/photopack.css (pp- classes). Dark premium blocks (u3-dark) are dark in
   both site themes, like the 3D block on artisanaleks.com; the rest follows the site theme. */
.u3-dark { --u3-bg: #0d0f12; --u3-bg2: #15181d; --u3-line: rgba(227, 196, 143, .22); --u3-gold: #e3c48f; --u3-text: #ece7df;
  --u3-mute: #a9a39a; background: radial-gradient(120% 90% at 75% 20%, #1d2128 0%, var(--u3-bg) 60%); color: var(--u3-text); }
.u3-dark h1, .u3-dark h2, .u3-dark h3 { color: #fff; }
.u3-dark a:not(.pp-buy) { color: var(--u3-gold); }
.u3-hero { padding: 124px 0 64px; } /* the site header is position: fixed (76 px) */
.u3-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: center; }
.u3-grid > * { min-width: 0; }
.u3-brand { display: flex; align-items: center; gap: 12px; }
.u3-brand img { width: 48px; height: 48px; border-radius: 12px; }
.u3-dark .pp-eyebrow { color: var(--u3-gold); margin: 0; }
.u3-hero h1 { font-size: clamp(34px, 4vw, 54px); line-height: 1.05; margin: 14px 0 12px; letter-spacing: -.01em; }
.u3-dark .pp-lead { color: var(--u3-text); opacity: .92; }
.u3-dark .pp-badges li { background: rgba(255, 255, 255, .06); border: 1px solid var(--u3-line); color: var(--u3-text); }
.u3-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.u3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 700; }
.u3-btn-gold { background: linear-gradient(180deg, #f0d7a8, #d9b673); color: #1a1408 !important; }
.u3-btn-gold:hover { filter: brightness(1.06); }
.u3-btn-ghost { background: transparent; border-color: var(--u3-line, rgba(127, 127, 127, .4)); color: inherit !important; }
.u3-btn[disabled] { opacity: .5; cursor: not-allowed; }
.u3-note { color: var(--u3-mute); font-size: 14px; margin: 6px 0 0; }
.u3-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; border: 1px solid var(--u3-line);
  background: radial-gradient(70% 70% at 50% 40%, #2a2f37 0%, #111317 75%); }
.u3-stage model-viewer { width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: #e3c48f;
  --progress-bar-height: 2px; background: transparent; }
.u3-stage figcaption, .u3-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; font-size: 13px; color: var(--u3-mute);
  background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent); pointer-events: none; }
.u3-trust { padding: 0 0 56px; }
.u3-trust blockquote { margin: 0; padding: 22px 26px; border: 1px solid var(--u3-line); border-left: 3px solid var(--u3-gold);
  border-radius: 16px; background: rgba(255, 255, 255, .03); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; }
.u3-trust small { display: block; margin-top: 10px; color: var(--u3-mute); font-size: 13px; }
.u3-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.u3-steps { counter-reset: s; }
.u3-steps .pp-card h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 30px; height: 30px;
  margin-right: 10px; border-radius: 50%; background: #e3c48f; color: #1a1408; font-size: 15px; }
.u3-tips li { margin: 6px 0; }
.u3-faq details { border-bottom: 1px solid rgba(127, 127, 127, .25); padding: 14px 0; }
.u3-faq summary { cursor: pointer; font-weight: 700; }
.u3-faq p { margin: 10px 0 0; }
.u3-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* studio (app layout: settings | viewer | my models) */
.u3-studio { padding: 96px 0 40px; }
.u3-app { max-width: 1600px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 360px minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.u3-app > * { min-width: 0; }
.u3-back { margin: 0; font-size: 14px; }
.u3-side h1 { font-size: clamp(24px, 2vw, 30px); margin: 6px 0 4px; }
.u3-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--u3-gold); margin: 2px 0 0; font-weight: 800; }
.u3-panel { border: 1px solid var(--u3-line); border-radius: 20px; background: rgba(255, 255, 255, .035); padding: 18px; display: grid; gap: 14px; }
.u3-drop { position: relative; display: grid; place-items: center; text-align: center; min-height: 150px; padding: 14px; border: 2px dashed var(--u3-line);
  border-radius: 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.u3-drop.is-over, .u3-drop:hover { border-color: var(--u3-gold); background: rgba(227, 196, 143, .05); }
.u3-drop-in { display: grid; gap: 6px; justify-items: center; }
.u3-drop strong { font-size: 16px; color: #fff; }
.u3-drop span { color: var(--u3-mute); font-size: 13px; }
.u3-drop img { max-width: 100%; max-height: 190px; border-radius: 10px; }
.u3-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.u3-field { display: grid; gap: 6px; }
.u3-field small, .u3-hint { font-size: 12px; color: var(--u3-mute); line-height: 1.35; }
.u3-lab { font-size: 13px; color: var(--u3-mute); }
.u3-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; border: 1px solid var(--u3-line); border-radius: 12px; background: #0f1216; }
.u3-seg-o { position: relative; display: block; }
.u3-seg-o input { position: absolute; opacity: 0; pointer-events: none; }
.u3-seg-o span { display: grid; place-content: center; text-align: center; gap: 2px; height: 100%; min-height: 40px; padding: 6px 4px; border-radius: 9px;
  cursor: pointer; color: var(--u3-text); font-size: 14px; transition: background .15s; }
.u3-seg-o span:hover { background: rgba(255, 255, 255, .06); }
.u3-seg-o small { font-size: 10.5px; color: var(--u3-mute); line-height: 1.2; }
.u3-seg-o input:checked + span { background: linear-gradient(180deg, #f0d7a8, #d9b673); color: #1a1408; }
.u3-seg-o input:checked + span small { color: #4d3c1d; }
.u3-seg-o input:focus-visible + span { outline: 2px solid var(--u3-gold); outline-offset: 1px; }
.u3-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.u3-panel input[type=number] { width: 100%; min-height: 40px; border-radius: 10px; border: 1px solid var(--u3-line); background: #0f1216; color: #fff; padding: 0 10px; font: inherit; }
.u3-seedrow { display: flex; gap: 6px; }
.u3-seedrow input { flex: 1; min-width: 0; }
.u3-icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--u3-line);
  background: rgba(255, 255, 255, .04); color: var(--u3-text); cursor: pointer; padding: 0; }
.u3-icon svg, .u3-light svg { width: 20px; height: 20px; }
.u3-icon:hover { border-color: var(--u3-gold); }
.u3-icon.is-on { color: var(--u3-gold); border-color: var(--u3-gold); }
.u3-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.u3-check input { margin-top: 2px; width: 18px; height: 18px; accent-color: #e3c48f; flex: none; }
.u3-go { width: 100%; min-height: 54px; font-size: 17px; }
.u3-err { color: #ffb4a6; font-weight: 600; margin: 0; }
.u3-err:empty { display: none; }
.u3-panel .u3-note { margin: -6px 0 0; text-align: center; }
.u3-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--u3-mute); margin: 0 0 12px; }
.u3-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #6b6b6b; }
.u3-pill.is-on::before { background: #5fd38a; box-shadow: 0 0 0 4px rgba(95, 211, 138, .15); }
.u3-pill.is-off::before { background: #e3c48f; }

.u3-main { display: grid; gap: 14px; position: sticky; top: 84px; }
.u3-view { position: relative; height: min(76vh, 820px); min-height: 460px; border-radius: 22px; overflow: hidden; border: 1px solid var(--u3-line);
  background: radial-gradient(70% 70% at 50% 40%, #2a2f37 0%, #111317 75%); }
.u3-view[data-bg=light] { background: radial-gradient(70% 70% at 50% 40%, #fbfaf7 0%, #d8d3cb 80%); }
.u3-view[data-bg=grid] { background-color: #181b20; background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 32px 32px; }
.u3-view:fullscreen { border-radius: 0; height: 100vh; }
.u3-view model-viewer { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; --poster-color: transparent;
  --progress-bar-color: #e3c48f; --progress-bar-height: 2px; }
.u3-empty, .u3-run { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px; gap: 8px; }
.u3-empty[hidden], .u3-run[hidden], .u3-tools[hidden], .u3-out[hidden], .u3-cut[hidden] { display: none; }
.u3-empty img { width: 88px; height: 88px; border-radius: 22px; opacity: .9; margin-bottom: 6px; }
.u3-msg { font-size: 20px; font-weight: 800; color: #fff; margin: 0; }
.u3-sub { color: var(--u3-mute); margin: 0; max-width: 520px; }
.u3-empty ol { counter-reset: e; list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; text-align: left; color: var(--u3-text); }
.u3-empty li { display: flex; align-items: center; gap: 12px; }
.u3-empty li::before { counter-increment: e; content: counter(e); flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; background: #e3c48f; color: #1a1408; font-weight: 800; font-size: 14px; }
.u3-run-card { display: flex; gap: 22px; align-items: center; text-align: left; max-width: 660px; padding: 22px; border: 1px solid var(--u3-line);
  border-radius: 18px; background: rgba(13, 15, 18, .78); backdrop-filter: blur(6px); }
.u3-cut { margin: 0; width: 170px; flex: none; text-align: center; }
.u3-cut img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: repeating-conic-gradient(#2a2d33 0 25%, #1e2126 0 50%) 0 0 / 20px 20px; }
.u3-cut figcaption { font-size: 12px; color: var(--u3-mute); margin-top: 6px; }
.u3-bar { height: 6px; margin-top: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.u3-bar[hidden] { display: none; }
.u3-bar i { display: block; height: 100%; width: 30%; background: linear-gradient(90deg, #d9b673, #f0d7a8); border-radius: 6px; animation: u3-run 1.6s ease-in-out infinite; }
@keyframes u3-run { 0% { transform: translateX(-100%); } 100% { transform: translateX(340%); } }
.u3-prog { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 7px; font-size: 14px; color: var(--u3-mute); }
.u3-prog li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; border: 2px solid #59606b; vertical-align: -1px; }
.u3-prog li.is-done { color: var(--u3-text); }
.u3-prog li.is-done::before { background: #5fd38a; border-color: #5fd38a; }
.u3-prog li.is-now { color: #fff; font-weight: 700; }
.u3-prog li.is-now::before { border-color: #e3c48f; background: #e3c48f; animation: u3-pulse 1.2s ease-in-out infinite; }
@keyframes u3-pulse { 50% { box-shadow: 0 0 0 6px rgba(227, 196, 143, .2); } }
.u3-paused { margin: 14px 0 0; border: 1px solid rgba(227, 196, 143, .4); background: rgba(227, 196, 143, .08); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.u3-paused[hidden] { display: none; }
.u3-run .u3-btn { margin-top: 12px; }
.u3-tools { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(13, 15, 18, .65); }
.u3-light { display: flex; align-items: center; gap: 6px; padding: 0 8px; color: var(--u3-text); }
.u3-light input { width: 90px; accent-color: #e3c48f; }
.u3-arbtn { position: absolute; right: 14px; top: 14px; }
.u3-viewhint { position: absolute; left: 0; right: 0; bottom: 10px; margin: 0; text-align: center; font-size: 12px; color: var(--u3-mute); pointer-events: none; }
.u3-view[data-bg=light] .u3-viewhint { color: #555; }
.u3-out { border: 1px solid var(--u3-line); border-radius: 20px; background: rgba(255, 255, 255, .035); padding: 16px 18px; display: grid; gap: 12px; }
.u3-info { margin: 0; font-size: 13px; color: var(--u3-mute); }
.u3-dl { display: flex; flex-wrap: wrap; gap: 10px; }
.u3-linkrow { display: flex; flex-wrap: wrap; gap: 8px; }
.u3-linkrow input { flex: 1; min-width: 180px; min-height: 40px; border-radius: 10px; border: 1px solid var(--u3-line); background: #0f1216; color: var(--u3-text); padding: 0 10px; font-size: 13px; }
.u3-linkrow .u3-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.u3-small { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.u3-small button { background: none; border: 0; padding: 0; color: var(--u3-mute); text-decoration: underline; cursor: pointer; font: inherit; }
.u3-small button[hidden] { display: none; }

.u3-hist { position: sticky; top: 84px; border: 1px solid var(--u3-line); border-radius: 20px; background: rgba(255, 255, 255, .035); padding: 16px; }
.u3-hist ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; max-height: 70vh; overflow-y: auto; }
.u3-hist a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; text-decoration: none; color: var(--u3-text) !important; }
.u3-hist a:hover, .u3-hist a.is-cur { background: rgba(255, 255, 255, .07); }
.u3-thumb { flex: none; width: 52px; height: 52px; border-radius: 10px; border: 1px solid var(--u3-line); background: #0f1216 center / contain no-repeat; }
.u3-hist-tx { display: grid; gap: 2px; min-width: 0; }
.u3-hist-tx b { font-size: 13px; font-weight: 600; }
.u3-hist-tx small { font-size: 12px; color: var(--u3-mute); }
.u3-hist-tx small.is-done { color: #5fd38a; }
.u3-hist-tx small.is-failed { color: #ffb4a6; }
.u3-hist-tx small.is-queued, .u3-hist-tx small.is-processing { color: var(--u3-gold); }
.u3-hist-empty { font-size: 13px; color: var(--u3-mute); }

@media (max-width: 1280px) {
  .u3-app { grid-template-columns: 340px minmax(0, 1fr); }
  .u3-hist { grid-column: 1 / -1; position: static; }
  .u3-hist ul { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); max-height: none; }
}
@media (max-width: 860px) {
  .u3-app { grid-template-columns: 1fr; padding: 0 16px; }
  .u3-main { position: static; }
  .u3-view { height: 62vh; min-height: 380px; }
  .u3-view:has(.u3-empty:not([hidden])) { height: auto; min-height: 0; }
  .u3-view:has(.u3-empty:not([hidden])) .u3-empty { position: static; padding: 28px 18px 40px; }
  .u3-run-card { flex-direction: column; text-align: center; padding: 18px; }
  .u3-cut { width: 130px; }
  .u3-panel { padding: 14px; }
}

.u3-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.u3-table th, .u3-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid rgba(127, 127, 127, .25); vertical-align: top; }
.u3-tablewrap { overflow-x: auto; }

@media (max-width: 860px) {
  .u3-grid { grid-template-columns: 1fr; gap: 28px; }
  .u3-hero { padding: 100px 0 40px; }
  .u3-panel { padding: 16px; }
}
.u3-btn[hidden], .u3-dl a[hidden] { display: none; }
.u3-static { display: grid; place-items: center; } .u3-static img { width: 46%; height: auto; border-radius: 22%; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.u3-runlink { margin-top: 12px; }
