/* ==========================================================================
   Original RP · Cartea serverului (originalroleplay.site)
   O carte legata in piele, deschisa pe un Los Santos noaptea. Paginile se
   intorc 3D (foi cu fata si verso). Pe telefon: o pagina odata.
   ========================================================================== */
:root {
  --night: #0c0906;
  --ink: #2a2015;
  --ink-2: #4f4030;
  --ink-3: #8b785c;
  --paper: #f3ead7;
  --paper-hi: #f8f1e2;
  --bronze: #95631a;
  --gold: #f2c14e;
  --gold-2: #d8992b;
  --leather: #1b150f;
  --cream: #f1e6cf;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --ease: cubic-bezier(.645, .045, .355, 1);
  --out: cubic-bezier(.22, .9, .3, 1);
  --turn: .95s;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .08 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .38 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--night); color: var(--cream);
  font: 400 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
svg { display: block; }

/* ---------------------------------------------------------------- decorul */
.scene { position: fixed; inset: 0; overflow: hidden; z-index: 0; }
.scene img { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); object-fit: cover; filter: blur(16px) brightness(.34) saturate(1.15); }
.scene::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(52% 46% at 50% 54%, rgba(242, 193, 78, .13), transparent 70%),
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(5, 4, 3, .78) 100%);
}

/* ---------------------------------------------------------------- bara de sus */
.bar {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 2px 8px rgba(242, 193, 78, .35)); }
.brand span { font: 500 20px/1 var(--serif); letter-spacing: .01em; color: #f6ecd8; }
.brand b { font-weight: 600; color: var(--gold); }
.links { display: flex; gap: 6px; }
.links a { position: relative; padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: #d9cbb1; text-decoration: none; transition: color .2s, background .2s; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.bar-end { display: flex; align-items: center; gap: 14px; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #cfc2a8; white-space: nowrap; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #4cd38a; box-shadow: 0 0 0 3px rgba(76, 211, 138, .18); }
.live[hidden] { display: none; }
.live b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.play {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 10px;
  background: linear-gradient(180deg, #f7d26a, #df9f2f); color: #1d1407; font-size: 14px; font-weight: 600; text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 22px -10px rgba(242, 166, 40, .8);
  transition: transform .2s var(--out), box-shadow .2s;
}
.play:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px -10px rgba(242, 166, 40, .95); }
.play:active { transform: translateY(0) scale(.98); }
.play svg { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- scena cartii */
.stage { position: fixed; z-index: 5; left: 0; right: 0; top: 68px; bottom: 108px; }
.book {
  --k: 1; --bw: 1080px; --shift: 0px; --lt: 0px; --rt: 0px;
  position: absolute; left: 50%; top: 50%; width: var(--bw); height: 760px;
  transform: translate(-50%, -50%) scale(var(--k)); perspective: 3000px;
}
.book-in { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateX(var(--shift)); transition: transform var(--turn) var(--ease); }
/* umbra de pe "masa" */
.book-in::before {
  content: ""; position: absolute; left: 3%; right: 3%; bottom: -26px; height: 44px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent); filter: blur(8px); transform: translateZ(-1px);
  transition: left var(--turn) var(--ease), right var(--turn) var(--ease);
}
.book.at-front .book-in::before { left: 51%; }
.book.at-back .book-in::before { right: 51%; }
.book.single .book-in::before { left: 3%; right: 3%; }
/* grosimea foilor ramase, la margini */
.edges { position: absolute; top: 7px; bottom: 7px; pointer-events: none; transition: width var(--turn) var(--ease); }
.edges-r { left: calc(var(--bw) - 1px); width: var(--rt); border-radius: 0 3px 3px 0; background: repeating-linear-gradient(90deg, #efe4cc 0 1px, #c9b998 1px 2px); box-shadow: 2px 2px 8px rgba(0, 0, 0, .4); }
.edges-l { right: calc(100% - 1px); width: var(--lt); border-radius: 3px 0 0 3px; background: repeating-linear-gradient(90deg, #c9b998 0 1px, #efe4cc 1px 2px); box-shadow: -2px 2px 8px rgba(0, 0, 0, .4); }
.book.single .edges { display: none; }

/* foile: fata (dreapta) si verso (stanga) */
.sheet {
  position: absolute; top: 0; left: 540px; width: 540px; height: 760px;
  transform-origin: 0 50%; transform-style: preserve-3d; transition: transform var(--turn) var(--ease);
}
.book.single .sheet { left: 0; }
.sheet.flipped { transform: rotateY(-180deg); }
.face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.face.back { transform: rotateY(180deg); }
.face.front { border-radius: 2px 6px 6px 2px; }
.face.back { border-radius: 6px 2px 2px 6px; }
/* umbra care trece peste pagina cat se intoarce */
.face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 9; }
.face.front::after { background: linear-gradient(90deg, rgba(40, 25, 5, .38), rgba(40, 25, 5, .1) 45%, rgba(255, 245, 220, .14) 80%, transparent); }
.face.back::after { background: linear-gradient(270deg, rgba(40, 25, 5, .38), rgba(40, 25, 5, .1) 45%, rgba(255, 245, 220, .14) 80%, transparent); }
.sheet.turning .face::after { animation: shade var(--turn) var(--ease); }
@keyframes shade { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
.book.single .sheet.flipped { transition: transform var(--turn) var(--ease), opacity .25s linear calc(var(--turn) - .25s); opacity: 0; }
.book.single .face.back { background: var(--paper); }
/* coltul care se ridica la hover (pagina din dreapta) */
.face.front:not(.blank) > .pg::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 0; z-index: 8; pointer-events: none;
  background: linear-gradient(315deg, transparent 50%, #fffaf0 50%, #e5d8bd 100%);
  box-shadow: -3px -3px 8px rgba(40, 25, 5, .18); border-radius: 0 0 6px 0;
  transition: width .3s var(--out), height .3s var(--out);
}
.can-hover .face.front:hover > .pg::before { width: 34px; height: 34px; }
.can-hover .face.front > .pg.cover::before { display: none; }

/* ---------------------------------------------------------------- pagina (comun) */
.pg { position: absolute; inset: 0; overflow: hidden; color: var(--ink); }
.src { display: none; }
.no-js body { overflow: auto; }
.no-js .stage, .no-js .dock { display: none; }
.no-js .src { display: block; padding: 90px 12px 40px; position: relative; z-index: 2; }
.no-js .src .pg { position: relative; width: 540px; max-width: 100%; height: 760px; margin: 0 auto 24px; border-radius: 6px; }

/* hartie */
.pg.paper {
  padding: 66px 54px 66px;
  background-color: var(--paper);
  background-image: var(--noise), radial-gradient(120% 90% at 50% 40%, var(--paper-hi), var(--paper) 60%, #e9dcc0 100%);
}
.face.front > .pg.paper { box-shadow: inset 26px 0 34px -26px rgba(90, 60, 15, .5), inset 0 0 0 1px rgba(120, 90, 40, .12); }
.face.back > .pg.paper { box-shadow: inset -26px 0 34px -26px rgba(90, 60, 15, .5), inset 0 0 0 1px rgba(120, 90, 40, .12); }
.rh { position: absolute; top: 28px; left: 54px; right: 54px; display: flex; justify-content: space-between; font: 500 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.face.back .rh span:last-child, .face.front .rh span:first-child { visibility: hidden; }
.book.single .face.front .rh span:first-child { visibility: visible; }
.folio { position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; font: italic 400 14.5px/1 var(--serif); color: var(--ink-3); }
.kicker { display: block; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); }
.chnum { position: absolute; top: 46px; right: 46px; font: italic 300 112px/1 var(--serif); color: rgba(149, 99, 26, .12); pointer-events: none; }
.pg h2 { margin: 12px 0 22px; font: 600 44px/1.04 var(--serif); font-variation-settings: 'opsz' 96; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.pg h3 { margin: 10px 0 18px; font: 600 34px/1.08 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -.01em; }
.pg p { margin: 0 0 14px; font: 400 17.5px/1.56 var(--serif); font-variation-settings: 'opsz' 14; color: var(--ink-2); text-wrap: pretty; hyphens: auto; }
.pg p.lead { font-size: 18.5px; color: var(--ink); }
.pg a:not(.btn) { color: var(--bronze); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dropcap::first-letter { float: left; margin: 7px 10px 0 -2px; font: 600 66px/.82 var(--serif); font-variation-settings: 'opsz' 144; color: var(--bronze); }
hr.orn { width: 120px; height: 12px; margin: 22px auto; border: 0; background:
  linear-gradient(var(--bronze), var(--bronze)) left 50% / 46px 1px no-repeat,
  linear-gradient(var(--bronze), var(--bronze)) right 50% / 46px 1px no-repeat,
  linear-gradient(45deg, transparent 42%, var(--bronze) 42% 58%, transparent 58%) center / 12px 12px no-repeat,
  linear-gradient(-45deg, transparent 42%, var(--bronze) 42% 58%, transparent 58%) center / 12px 12px no-repeat; opacity: .8; }

/* butoane in pagina */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 10px; border: 0;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .2s var(--out), box-shadow .2s, background .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(180deg, #f7d26a, #dc9c2e); color: #1d1407; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 18px -10px rgba(150, 90, 10, .9); }
.btn-gold:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 22px -10px rgba(150, 90, 10, 1); transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); margin-top: 8px; }
.btn-ink:hover { background: #3a2c1c; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(60, 40, 15, .3); }
.btn-line:hover { background: rgba(60, 40, 15, .06); }

/* ---------------------------------------------------------------- coperta */
.pg.cover {
  background-color: var(--leather);
  background-image: var(--grain), radial-gradient(110% 80% at 32% 18%, #3b2c1c 0%, #20180f 52%, #130e09 100%);
  color: var(--gold);
}
.face.front > .pg.cover { box-shadow: inset 18px 0 22px -12px rgba(0, 0, 0, .75), inset 22px 0 0 -20px rgba(255, 220, 150, .1), inset 0 0 0 1px rgba(242, 193, 78, .1); }
.face.back > .pg.cover { box-shadow: inset -18px 0 22px -12px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(242, 193, 78, .1); }
.frame { position: absolute; inset: 24px 24px 24px 34px; border: 1px solid rgba(242, 193, 78, .5); border-radius: 3px; pointer-events: none; }
.frame::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(242, 193, 78, .22); border-radius: 2px; }
.back .frame { inset: 24px 34px 24px 24px; }
.cv-in { position: absolute; inset: 0 0 0 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px; }
.cv-top { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 193, 78, .7); }
.cv-emblem { width: 210px; height: 210px; margin: 34px 0 26px; filter: drop-shadow(0 10px 30px rgba(242, 160, 40, .35)); }
.foil {
  margin: 0; font: 600 58px/1 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: .02em;
  background: linear-gradient(180deg, #fde9a6 0%, #f2c14e 42%, #b97a1c 78%, #e6b14a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pg .cv-sub { margin: 14px 0 0; font: italic 400 21px/1.2 var(--serif); color: rgba(242, 193, 78, .78); }
.cv-hint { margin-top: 40px; display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1 var(--sans); color: rgba(241, 230, 207, .62); transition: color .2s; }
.cv-hint::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .3s var(--out); }
.can-hover .face.front:hover .cv-hint { color: var(--gold); }
.can-hover .face.front:hover .cv-hint::after { width: 30px; }
.cv-foot { position: absolute; left: 10px; right: 0; bottom: 48px; text-align: center; font: italic 400 15px/1 var(--serif); color: rgba(242, 193, 78, .55); }
/* coperta se ridica putin, cat e inchisa, ca sa te invite s-o deschizi */
.can-hover .book.at-front .sheet:first-of-type:hover { transform: rotateY(-7deg); }
.bc-in { position: absolute; inset: 0 10px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 70px; }
.bc-in img { width: 84px; height: 84px; opacity: .9; }
.bc-in p { margin: 0; font: italic 400 19px/1.55 var(--serif); color: rgba(241, 230, 207, .82); }
.bc-in ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.bc-in li { font: 500 15.5px/1 var(--sans); color: var(--cream); }
.bc-in li span { display: block; margin-bottom: 5px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(242, 193, 78, .6); }

/* pagina de garda */
.pg.endpaper { background: #1d1610; }
.pg.endpaper::after { content: ""; position: absolute; inset: 0; background: url(/assets/book/emblema.png) 0 0 / 74px 74px; opacity: .06; }
.face.back > .pg.endpaper { box-shadow: inset -24px 0 30px -16px rgba(0, 0, 0, .8); }
.exlibris {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 270px; transform: translate(-50%, -50%) rotate(-1.5deg);
  display: grid; justify-items: center; gap: 6px; padding: 26px 22px 24px; text-align: center;
  background: var(--paper); background-image: var(--noise); color: var(--ink); border-radius: 3px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .5), inset 0 0 0 6px var(--paper), inset 0 0 0 7px rgba(149, 99, 26, .45);
}
.exlibris .script { font: 400 34px/1 var(--script); color: var(--bronze); }
.exlibris b { font: 600 22px/1.1 var(--serif); }
.exlibris span:last-child { font: italic 400 15px/1.4 var(--serif); color: var(--ink-2); }

/* pagina de titlu */
.titlepage { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 96px !important; }
.tp-emblem { width: 92px; height: 92px; margin-bottom: 20px; }
.titlepage h1 { margin: 0; font: 600 50px/1 var(--serif); font-variation-settings: 'opsz' 144; letter-spacing: -.01em; }
.tp-sub { margin: 10px 0 0 !important; font: italic 400 20px/1.2 var(--serif) !important; color: var(--bronze) !important; }
.tp-lead { max-width: 360px; }
.tp-foot { position: absolute; left: 54px; right: 54px; bottom: 58px; display: flex; flex-direction: column; gap: 6px; align-items: center; font: 400 15px/1.3 var(--serif); color: var(--ink-3); }
.tp-foot b { font-weight: 600; color: var(--ink-2); }

/* cuprins */
.toc { list-style: none; margin: 4px 0 18px; padding: 0; }
.toc button {
  width: 100%; display: grid; grid-template-columns: 38px 1fr auto; align-items: baseline; gap: 6px;
  padding: 11px 6px; border: 0; border-bottom: 1px dotted rgba(90, 65, 30, .35); background: none; cursor: pointer; text-align: left;
  border-radius: 6px; transition: background .2s, padding-left .25s var(--out);
}
.toc button:hover { background: rgba(149, 99, 26, .08); padding-left: 12px; }
.toc i { font: italic 500 18px/1 var(--serif); color: var(--bronze); }
.toc span { font: 500 19.5px/1.25 var(--serif); color: var(--ink); }
.toc em { font: italic 400 16.5px/1 var(--serif); color: var(--ink-3); }
.toc-tip { font-size: 15.5px !important; color: var(--ink-3) !important; }

/* principii */
.tenets { list-style: none; counter-reset: t; margin: 0; padding: 0; display: grid; gap: 15px; }
.tenets li { counter-increment: t; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; }
.tenets li::before { content: counter(t, decimal-leading-zero); grid-row: span 2; font: italic 500 20px/1.3 var(--serif); color: var(--bronze); }
.tenets b { font: 600 20.5px/1.3 var(--serif); color: var(--ink); }
.tenets span { font: 400 16.5px/1.5 var(--serif); color: var(--ink-2); }

/* joburi */
.jobs { margin: 6px 0 0; display: grid; }
.jobs div { display: grid; grid-template-columns: 168px 1fr; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid rgba(90, 65, 30, .16); }
.jobs dt { font: 600 18.5px/1.3 var(--serif); color: var(--ink); }
.jobs dd { margin: 0; font: 400 16.5px/1.42 var(--serif); color: var(--ink-2); }

/* liste de facilitati */
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feats li { position: relative; padding-left: 22px; font: 400 17.5px/1.5 var(--serif); color: var(--ink-2); }
.feats li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--bronze); opacity: .75; }
.feats b { font-weight: 600; color: var(--ink); }

/* fotografii pe toata pagina */
.pg.photo { background: #111; }
.pg.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(8, 6, 4, .82) 100%); }
.face.back > .pg.photo { box-shadow: inset -22px 0 30px -18px rgba(0, 0, 0, .7); }
.face.front > .pg.photo { box-shadow: inset 22px 0 30px -18px rgba(0, 0, 0, .7); }
.pg.photo figcaption { position: absolute; z-index: 2; left: 46px; right: 46px; bottom: 42px; display: grid; gap: 8px; }
.pg.photo figcaption span { font: italic 400 24px/1.3 var(--serif); color: #fbf3e2; text-wrap: balance; }
.pg.photo figcaption small { font: 500 11.5px/1 var(--sans); letter-spacing: .08em; color: rgba(251, 243, 226, .55); }

/* fotografii lipite (polaroid) */
.print { position: absolute; margin: 0; width: 318px; padding: 12px 12px 0; background: #fcf9f2; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 14px 28px -8px rgba(50, 30, 5, .38); }
.print img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print figcaption { padding: 10px 4px 14px; text-align: center; font: 600 27px/1 var(--hand); color: #3d3122; }
.print::before { content: ""; position: absolute; top: -13px; left: 50%; width: 104px; height: 28px; margin-left: -52px; background: rgba(250, 238, 200, .62); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); transform: rotate(-3deg); }
.print.p1 { top: 70px; left: 46px; transform: rotate(-3.2deg); }
.print.p2 { top: 368px; right: 40px; transform: rotate(2.6deg); }
.print.p2::before { transform: rotate(4deg); }
.prints-note { position: absolute; left: 54px; bottom: 54px; margin: 0 !important; font: 400 12px/1 var(--sans) !important; color: var(--ink-3) !important; letter-spacing: .04em; }

/* cum intri */
.steps { list-style: none; counter-reset: s; margin: 0 0 16px; padding: 0; display: grid; gap: 13px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px/1 var(--sans); color: var(--paper); background: var(--ink); margin-top: 1px; }
.steps b { font: 600 19.5px/1.3 var(--serif); color: var(--ink); }
.steps span { font: 400 16.5px/1.45 var(--serif); color: var(--ink-2); }
.cmd { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 10px; background: #1c1610; box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .2); }
.cmd code { flex: 1; min-width: 0; font: 500 15.5px/1.2 ui-monospace, 'Cascadia Code', Consolas, monospace; color: #f4e7c9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd .copy { height: 34px; padding: 0 12px; border: 0; border-radius: 7px; background: rgba(242, 193, 78, .14); color: var(--gold); font: 600 12.5px/1 var(--sans); cursor: pointer; transition: background .2s; }
.cmd .copy:hover { background: rgba(242, 193, 78, .24); }

/* biletul */
.ticketpage { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.ticket {
  position: relative; display: grid; grid-template-columns: 1fr 92px; border-radius: 14px; overflow: hidden; color: var(--cream); transform: rotate(-1.2deg);
  background-color: #1d1610; background-image: var(--grain), radial-gradient(120% 120% at 0% 0%, #3a2b1b, #1b140d 60%);
  box-shadow: 0 22px 40px -16px rgba(40, 25, 5, .7), inset 0 0 0 1px rgba(242, 193, 78, .28);
  -webkit-mask: radial-gradient(circle 11px at calc(100% - 92px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - 92px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 11px at calc(100% - 92px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 11px at calc(100% - 92px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
}
.tk-main { padding: 26px 24px 24px 28px; }
.tk-kind { font: 600 11.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(242, 193, 78, .75); }
.tk-dest { display: block; margin: 10px 0 18px; font: 600 42px/1 var(--serif); font-variation-settings: 'opsz' 144; color: #fbefd2; }
.ticket dl { margin: 0; display: grid; gap: 11px; }
.ticket dl div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: baseline; }
.ticket dt { font: 500 11.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(241, 230, 207, .5); }
.ticket dd { margin: 0; font: 500 16px/1.3 var(--sans); color: #fbefd2; font-variant-numeric: tabular-nums; }
.tk-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #f4a33a; border-left: 2px dashed rgba(242, 193, 78, .3); }
.tk-stub svg { width: 38px; height: 38px; }
.tk-stub span { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(241, 230, 207, .6); writing-mode: vertical-rl; transform: rotate(180deg); }
.tk-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tk-note { font-size: 15.5px !important; color: var(--ink-3) !important; margin: 0 !important; }

/* regulament */
.rules { display: grid; gap: 10px; margin-top: 18px; }
.rules a { display: grid; gap: 4px; padding: 14px 16px; border-radius: 10px; text-decoration: none !important; background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(90, 65, 30, .2); transition: background .2s, transform .2s var(--out); }
.rules a:hover { background: rgba(255, 255, 255, .75); transform: translateX(3px); }
.rules b { font: 600 20px/1.2 var(--serif); color: var(--ink); }
.rules span { font: 400 14.5px/1.2 var(--sans); color: var(--ink-3); }
.stamp {
  position: absolute; right: 52px; bottom: 74px; padding: 10px 14px; border: 2.5px solid rgba(150, 35, 30, .55); border-radius: 8px;
  font: 700 14px/1.15 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-align: center; color: rgba(150, 35, 30, .6);
  transform: rotate(-11deg); mix-blend-mode: multiply;
}

/* comunitate */
.social { display: grid; gap: 10px; margin-top: 6px; }
.social > a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 12px; text-decoration: none !important; background: rgba(255, 255, 255, .45); box-shadow: inset 0 0 0 1px rgba(90, 65, 30, .2); transition: background .2s, transform .2s var(--out); }
.social > a:hover { background: rgba(255, 255, 255, .78); transform: translateX(3px); }
.social svg, .social img { width: 26px; height: 26px; justify-self: center; color: var(--ink); }
.social a:first-child svg { color: #5865f2; }
.social b { display: block; font: 600 20px/1.2 var(--serif); color: var(--ink); }
.social small { display: block; margin-top: 4px; font: 400 15.5px/1.45 var(--serif); color: var(--ink-2); }

/* finalul */
.finale { padding: 0 !important; }
.fin-img { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 46%; object-fit: cover; -webkit-mask: linear-gradient(180deg, #000 60%, transparent); mask: linear-gradient(180deg, #000 60%, transparent); }
.fin-in { position: absolute; left: 54px; right: 54px; top: 44%; display: flex; flex-direction: column; align-items: flex-start; }
.finale h2 { font-size: 44px; margin-bottom: 12px; }
.finale p { margin-bottom: 20px; }
.sign { margin-top: 20px; display: grid; gap: 10px; }
.sign .script { font: 400 40px/1.25 var(--script); color: var(--ink); }
.sign small { font: 500 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------------------------------------------------------------- bara de jos */
.dock {
  position: fixed; z-index: 20; left: 50%; bottom: calc(max(8px, env(safe-area-inset-bottom)) + 30px); transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 16px;
  background: rgba(18, 13, 9, .94); box-shadow: inset 0 0 0 1px rgba(242, 193, 78, .14), 0 14px 34px -14px rgba(0, 0, 0, .9);
}
.dk-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 11px; background: transparent; color: #e9dcc2; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.dk-btn:hover { background: rgba(242, 193, 78, .12); color: var(--gold); }
.dk-btn:disabled { opacity: .3; cursor: default; background: transparent; color: #e9dcc2; }
.dk-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dk-sound svg { width: 20px; height: 20px; }
.dk-sound[aria-pressed="true"] .off, .dk-sound[aria-pressed="false"] .on { display: none; }
.dk-where { min-width: 230px; display: grid; gap: 3px; padding: 6px 14px; border: 0; border-radius: 11px; background: transparent; text-align: center; cursor: pointer; transition: background .2s; }
.dk-where:hover { background: rgba(255, 255, 255, .05); }
.dk-where b { font: italic 500 17.5px/1.1 var(--serif); color: #f6ecd8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-where span { font: 500 12.5px/1.1 var(--sans); color: rgba(233, 220, 194, .58); }

/* ---------------------------------------------------------------- telefon / ecran mic */
@media (max-width: 900px) {
  .links { display: none; }
}
@media (max-width: 560px) {
  .bar { height: 60px; padding: 0 14px; }
  .brand span { font-size: 18px; }
  .live { display: none !important; }
  .play { height: 38px; padding: 0 13px; font-size: 13px; }
  .stage { top: 60px; bottom: 100px; }
  .dock { bottom: calc(max(6px, env(safe-area-inset-bottom)) + 28px); }
  .legal span, .legal i:last-of-type { display: none; }
  .dk-where { min-width: 0; width: 46vw; }
  .dk-sound { display: none; }
}
.book.instant, .book.instant * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  :root { --turn: .01s; }
  .sheet.turning .face::after { animation: none; }
}

/* ---------------------------------------------------------------- linkurile legale de jos (07.11.2026) */
.legal { position: fixed; z-index: 20; left: 0; right: 0; bottom: max(8px, env(safe-area-inset-bottom)); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 12px; padding: 0 12px; font: 500 12px/18px var(--sans); color: rgba(233, 220, 194, .5); }
.legal a { color: rgba(233, 220, 194, .72); text-decoration: none; transition: color .2s; }
.legal a:hover { color: var(--gold); }
.legal i { width: 3px; height: 3px; border-radius: 50%; background: rgba(242, 193, 78, .45); }
.no-js .legal { position: static; padding: 24px 12px 32px; }
.bc-legal { margin-top: 14px !important; font-size: 13px !important; opacity: .8; }
.bc-legal a { color: inherit; }
