:root { --bg: #1c090c; --red: #e6212f; --gold: #ffcc33; --txt: #fff; --dim: #9a9a9a; --line: rgba(255,255,255,.12); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--txt); font-family: "Montserrat", sans-serif; overflow-x: hidden; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(ellipse at 50% -8%, #7a1820 0%, #3a0c10 42%, transparent 76%); pointer-events: none; z-index: -1; }
img { display: block; max-width: 100%; }
figure { margin: 0; }
button, input, summary { font: inherit; }
.pivex-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.pivex-skip { position: absolute; top: -50px; left: 10px; background: var(--gold); color: #111; padding: 8px; z-index: 99; font-weight: 800; }
.pivex-skip:focus { top: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.pivex-gate { position: fixed; inset: 0; z-index: 70; background: #000; display: grid; place-items: center; animation: pivex-fade .4s ease 3s forwards; }
.pivex-gate.is-out { visibility: hidden; opacity: 0; pointer-events: none; animation: none; }
@keyframes pivex-fade { to { opacity: 0; visibility: hidden; } }
.pivex-halo { width: min(80vw, 340px); height: min(80vw, 340px); border-radius: 50%; background: radial-gradient(circle, #2b0000, #000 70%); display: grid; place-items: center; animation: pivex-breathe 2s ease-in-out infinite; }
@keyframes pivex-breathe { 50% { box-shadow: 0 0 70px #e6212f; } }
.pivex-emblem { width: 86%; animation: pivex-tilt 1.7s ease-in-out infinite; }
@keyframes pivex-tilt { 50% { transform: scale(1.05) rotate(-1deg); } }
.pivex-wait { text-align: center; letter-spacing: .26em; font-weight: 700; font-size: 13px; }
.pivex-top { display: flex; align-items: center; gap: 12px; padding: 10px 18px; position: sticky; top: 0; z-index: 20; background: linear-gradient(180deg, #5a1c26 0%, #2c1016 100%); border-bottom: 2px solid #e6212f; box-shadow: 0 10px 28px rgba(230,33,47,.2); }
.pivex-menu { align-items: center; flex-wrap: nowrap; }
.pivex-menu a { display: inline-flex; align-items: center; height: 42px; line-height: 1; white-space: nowrap; }
.pivex-lang summary { display: inline-flex; align-items: center; height: 42px; }
.pivex-flag { display: block; width: 22px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.pivex-sign img { height: 40px; }
.pivex-sign { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.pivex-sign img { height: 36px; width: auto; }
.pivex-flame { width: 22px; height: 22px; }
.pivex-word { display: flex; font-weight: 800; font-size: 18px; }
.pivex-f { color: var(--red); } .pivex-y { color: #fff; }
.pivex-sign.is-thin .pivex-word { font-weight: 300; letter-spacing: .16em; font-size: 14px; }
.pivex-sign.is-thin .pivex-f, .pivex-sign.is-thin .pivex-y { color: #fff; }
.pivex-sign.is-gold .pivex-f, .pivex-sign.is-gold .pivex-y { color: var(--gold); }
.pivex-sign.is-italic .pivex-word { font-style: italic; }
.pivex-sign.is-italic .pivex-f { color: #fff; } .pivex-sign.is-italic .pivex-y { color: var(--red); }
.pivex-sign.is-stack .pivex-word { flex-direction: column; font-size: 13px; line-height: .9; }
.pivex-sign.is-track .pivex-word { letter-spacing: .3em; font-size: 11px; }
.pivex-sign.is-track .pivex-f, .pivex-sign.is-track .pivex-y { color: #fff; }
.pivex-sign.is-stroke .pivex-f, .pivex-sign.is-stroke .pivex-y { color: transparent; -webkit-text-stroke: 1px #fff; }
.pivex-sign.is-stroke .pivex-y { -webkit-text-stroke-color: var(--gold); }
.pivex-sign.is-glow .pivex-word { text-shadow: 0 0 10px var(--red); }
.pivex-burger { display: none; width: 44px; height: 44px; background: #140606; color: #fff; border: 1px solid var(--line); border-radius: 14px; }
.pivex-drawer { display: flex; align-items: center; gap: 12px; flex: 1; }
.pivex-menu { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.pivex-menu a[aria-current="true"] { color: var(--red); font-weight: 800; }
.pivex-menu a, .pivex-drop summary, .pivex-lang summary { color: #fff; text-decoration: none; cursor: pointer; font-size: 14px; }
.pivex-drop, .pivex-lang { position: relative; }
.pivex-drop summary::-webkit-details-marker, .pivex-lang summary::-webkit-details-marker { display: none; }
.pivex-drop summary, .pivex-lang summary { list-style: none; }
.pivex-drop ul, .pivex-lang ul { position: absolute; background: #1a090b; padding: 8px; margin: 0; list-style: none; border-radius: 14px; min-width: 190px; z-index: 4; }
.pivex-end { display: flex; gap: 8px; align-items: center; }
.pivex-line { overflow: hidden; background: #000; }
.pivex-line-track { display: flex; width: max-content; animation: pivex-slide 30s linear infinite; }
.pivex-line:hover .pivex-line-track { animation-play-state: paused; }
@keyframes pivex-slide { to { transform: translateX(-50%); } }
.pivex-line p { margin: 0; white-space: nowrap; padding: 6px 0; font-size: 13px; }
.pivex-line span { color: var(--gold); margin: 0 8px; }
.pivex-plain, .pivex-ghost, .pivex-go, .pivex-play, .pivex-more, .pivex-soft { min-height: 42px; border-radius: 14px; padding: 8px 14px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; }
.pivex-plain, .pivex-ghost { border: 1px solid #fff; color: #fff; background: transparent; }
.pivex-go, .pivex-play { background: var(--gold); color: #1a1408; }
.pivex-soft { color: var(--gold); border: 1px solid var(--gold); background: transparent; }
.pivex-help { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; position: relative; }
.pivex-help i { width: 8px; height: 8px; background: var(--red); border-radius: 50%; position: absolute; top: 4px; right: 4px; }
.pivex-path { width: min(980px, calc(100% - 28px)); margin: 16px auto; color: var(--dim); }
.pivex-path ol { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pivex-path a { color: #fff; }
.pivex-flow { width: min(980px, calc(100% - 28px)); margin: 0 auto 40px; }
.pivex-flow > * + * { margin-top: 26px; }
.pivex-essay { font-size: 17px; }
.pivex-essay h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin-bottom: 8px; }
.pivex-banner { position: relative; min-height: 300px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.pivex-banner img { position: absolute; width: 100%; height: 100%; object-fit: cover; inset: 0; animation: pivex-pan 18s linear infinite alternate; }
@keyframes pivex-pan { to { transform: scale(1.09); } }
.pivex-invite { position: relative; z-index: 1; background: rgba(0,0,0,.55); border-radius: 14px; padding: 20px; text-align: center; width: min(480px, 90%); }
.pivex-film { display: grid; grid-auto-flow: column; grid-auto-columns: 169px; gap: 10px; overflow-x: auto; }
.pivex-thumb { width: 169px; height: 169px; border-radius: 14px; overflow: hidden; position: relative; }
.pivex-thumb figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 16px 6px 6px; font-size: 12px; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.pivex-thumb img, .pivex-pic img { width: 100%; height: 100%; object-fit: cover; animation: pivex-pop 4.8s ease-in-out infinite; animation-delay: var(--pivex-d, 0s); }
@keyframes pivex-pop { 50% { transform: scale(1.02); } }
.pivex-thumb::after, .pivex-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.33), transparent 70%); transform: translateX(-100%); animation: pivex-wipe 6s infinite; animation-delay: var(--pivex-d, 0s); }
@keyframes pivex-wipe { to { transform: translateX(100%); } }
.pivex-play { position: absolute; inset: 0; margin: auto; height: 42px; opacity: 0; z-index: 1; }
.pivex-thumb:hover .pivex-play, .pivex-pic:hover .pivex-play, .pivex-thumb:focus-within .pivex-play, .pivex-pic:focus-within .pivex-play { opacity: 1; }
.pivex-thumb:hover img, .pivex-pic:hover img { animation: none; transform: scale(1.08); }
.pivex-badge { position: absolute; z-index: 1; left: 6px; top: 6px; background: var(--red); font-size: 10px; font-weight: 800; padding: 3px 5px; border-radius: 8px; }
.pivex-badge.is-vip { background: var(--gold); color: #111; }
.pivex-board { display: grid; grid-template-columns: repeat(auto-fill, 169px); gap: 12px; }
.pivex-cell { width: 169px; }
.pivex-pic { height: 169px; border-radius: 14px; overflow: hidden; position: relative; }
.pivex-cell figcaption { font-size: 13px; margin-top: 4px; }
.pivex-extra { display: none; }
.pivex-board.is-open .pivex-extra { display: block; }
.pivex-table, .pivex-win { width: 100%; border-collapse: collapse; }
.pivex-table th, .pivex-win th { color: var(--gold); text-align: left; font-size: 13px; }
.pivex-table td, .pivex-win td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pivex-sum { color: var(--red); font-weight: 800; font-size: 16px; }
.pivex-sub { color: var(--dim); font-size: 11px; display: block; }
.pivex-game { color: #ff8b94; }
.pivex-dot { width: 7px; height: 7px; border-radius: 50%; background: #3dd68c; display: inline-block; }
.pivex-win tbody tr { animation: pivex-rise .3s ease-out; }
@keyframes pivex-rise { from { opacity: 0; transform: translateY(-14px); background: rgba(230,33,47,.4); } }
.pivex-win-box { max-height: 420px; overflow: hidden; background: #100406; border-radius: 14px; padding: 8px; }
.pivex-split { display: grid; grid-template-columns: 1fr 220px; gap: 12px; background: #200000; border-radius: 14px; overflow: hidden; }
.pivex-split div { padding: 16px; }
.pivex-split img { height: 100%; object-fit: cover; animation: pivex-pan 15s ease-in-out infinite alternate; }
.pivex-fund { font-size: 30px; font-weight: 800; }
.pivex-live { font-weight: 800; letter-spacing: .08em; font-size: 12px; }
.pivex-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
.pivex-count { display: flex; gap: 6px; }
.pivex-count span { background: var(--gold); color: #111; border-radius: 8px; min-width: 52px; text-align: center; font-weight: 800; padding: 6px; }
.pivex-count small { display: block; font-weight: 700; font-size: 10px; }
.pivex-route { display: flex; gap: 8px; }
.pivex-route article { flex: 1; border-top: 3px solid var(--gold); padding-top: 8px; }
.pivex-route strong { color: var(--gold); font-size: 26px; display: block; }
.pivex-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.pivex-cards article { padding: 12px; border-radius: 14px; background: #120607; }
.pivex-cards em { font-style: normal; color: var(--gold); }
.pivex-ask details { border-bottom: 1px solid var(--line); padding: 8px 0; }
.pivex-ask summary { cursor: pointer; font-weight: 700; }
.pivex-copy p, .pivex-note p { color: #ddd; }
.pivex-search input { background: #111; color: #fff; border: 1px solid var(--line); border-radius: 14px; min-height: 42px; padding: 0 10px; }
.pivex-search { color: var(--dim); font-size: 12px; display: grid; gap: 4px; }
.pivex-endfoot { padding: 20px 16px 28px; background: #080202; }
.pivex-wallets { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; list-style: none; }
.pivex-wallets img { height: 26px; background: #191919; border-radius: 8px; }
.pivex-links { columns: 5; gap: 16px; }
.pivex-links h2 { font-size: 13px; color: var(--gold); margin: 0 0 6px; break-after: avoid; }
.pivex-links a { display: block; color: var(--dim); text-decoration: none; font-size: 14px; }
.pivex-fine { color: var(--dim); font-size: 12px; }
.pivex-age { border: 2px solid var(--red); border-radius: 50%; width: 32px; height: 32px; display: inline-grid; place-items: center; font-weight: 800; }
.pivex-prose { width: min(800px, calc(100% - 24px)); margin: 12px auto 36px; }
@media (max-width: 960px) {
  .pivex-burger { display: inline-grid; place-items: center; }
  .pivex-drawer { display: none; position: absolute; top: 62px; left: 0; right: 0; background: #2c1016; padding: 12px; flex-direction: column; align-items: flex-start; }
  .pivex-drawer.is-open { display: flex; }
  .pivex-menu { flex-direction: column; }
  .pivex-split, .pivex-route, .pivex-cards { grid-template-columns: 1fr; display: grid; }
  .pivex-links { columns: 2; }
  .pivex-top { flex-wrap: wrap; }
  .pivex-drop ul, .pivex-lang ul { position: static; }
}
@media (max-width: 720px) {
  .pivex-links { columns: 1; }
  .pivex-table thead, .pivex-win thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .pivex-table tr, .pivex-win tr { display: block; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 6px; }
  .pivex-table td, .pivex-win td { display: flex; justify-content: space-between; gap: 8px; border: 0; }
  .pivex-table td::before, .pivex-win td::before { content: attr(data-k); color: var(--dim); width: 46%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pivex-gate { display: none; }
}

/* story-cta */
.zrava-sliv, .pivex-sliv { display: none; }
.zrava-story h1, .pivex-story h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; margin: 0 0 12px; }
.zrava-story h2, .pivex-story h2 { margin: 28px 0 10px; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; }
.zrava-story h3, .pivex-story h3 { margin: 18px 0 8px; color: #ffcc33; font-size: 18px; }
.zrava-story p, .pivex-story p, .zrava-story li, .pivex-story li { color: #ececec; }
.zrava-story a, .pivex-story a { color: #ffcc33; }
.zrava-story ul, .zrava-story ol, .pivex-story ul, .pivex-story ol { padding-left: 1.2em; }
.zrava-story table, .pivex-story table { margin: 12px 0 18px; }
.zrava-cta-band, .pivex-cta-band { margin: 22px 0; padding: 18px 16px; border-radius: 16px; text-align: center; background: linear-gradient(180deg, rgba(230,33,47,.35), rgba(28,9,12,.2)); border: 1px solid rgba(255,204,51,.45); box-shadow: 0 0 24px rgba(230,33,47,.28); }
.zrava-cta-band p, .pivex-cta-band p { margin: 0 0 12px; font-weight: 700; color: #fff; }
.zrava-mark, .pivex-mark { display: inline-block; background: #e6212f; color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.zrava-story, .pivex-story { overflow-wrap: break-word; }
@media (max-width: 960px) {
  .zrava-sliv, .pivex-sliv { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: #ffcc33; color: #14110a; font-weight: 800; text-decoration: none; white-space: nowrap; flex: 0 0 auto; }
  .zrava-sliv { margin-left: auto; }
  .zrava-burger { margin-left: 8px; }
  .pivex-top { flex-wrap: nowrap; }
}
.zrava-story blockquote, .pivex-story blockquote { margin: 16px 0; padding: 12px 14px; border-left: 3px solid #e6212f; background: rgba(230,33,47,.12); border-radius: 0 12px 12px 0; }
.zrava-story strong, .pivex-story strong { color: #fff; }
/* story-quote */

/* to-top */
.zrava-up, .pivex-up { position: fixed; right: 16px; bottom: 16px; z-index: 45; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #ffcc33; color: #14110a; font-weight: 800; font-size: 22px; line-height: 1; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.45); }
/* chrome-polish */
.pivex-top { border-bottom: 2px solid #e6212f; box-shadow: 0 10px 28px rgba(230,33,47,.2); }
.pivex-endfoot { border-top: 2px solid rgba(255,204,51,.45); background: linear-gradient(180deg, #2a0c10, #070303); }
.pivex-cta-band .pivex-go, .pivex-cta-band .pivex-btn { color: #14110a; background: #ffcc33; }
.pivex-shot { margin: 12px 0 18px; }
.pivex-shot img { width: 100%; height: auto; max-height: 240px; object-fit: contain; background: #140306; border-radius: 12px; }
.pivex-sliv { font-size: 13px; }
.pivex-invite { background: transparent; border: 0; box-shadow: none; }
.pivex-invite h1, .pivex-invite p { text-shadow: 0 2px 16px rgba(0,0,0,.85); }
.pivex-cta-band { margin: 28px 0; padding: 18px 16px; border-radius: 16px; text-align: center; background: linear-gradient(180deg, rgba(58,22,28,.82), rgba(18,8,10,.55)); border: 1px solid rgba(255,204,51,.28); box-shadow: 0 14px 28px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,220,150,.16); }
.pivex-cards article, .pivex-win-box, .pivex-split { background: transparent; border: 0; box-shadow: none; }
.pivex-endfoot { border-top-color: rgba(255,204,51,.18); }
.pivex-film { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 0 0 16px; color-scheme: dark; scrollbar-width: thin; scrollbar-color: #8a6230 transparent; }
.pivex-film::-webkit-scrollbar { height: 6px; }
.pivex-film::-webkit-scrollbar-thumb { background: #8a6230; border-radius: 6px; }
.pivex-film::-webkit-scrollbar-track { background: transparent; }
.pivex-thumb { height: auto; overflow: visible; background: transparent; }
.pivex-thumb img { width: 169px; height: 169px; border-radius: 14px; object-fit: cover; }
.pivex-thumb figcaption { position: static; background: none; padding: 8px 2px 0; text-align: center; }
.pivex-thumb::after { height: 169px; bottom: auto; }
.pivex-thumb .pivex-play { inset: auto; top: 64px; left: 50%; margin: 0; transform: translateX(-50%); }
.pivex-top, .pivex-flow, .pivex-endfoot, .pivex-path, .pivex-line, main, footer { position: relative; z-index: 1; }
.fp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.fp-pair > section { padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255,204,51,.22); background: rgba(22,8,10,.55); }
.fp-scene { display: none; }
.zrava-tape, .pivex-line { display: none; }
.pivex-banner { overflow: hidden; min-height: 320px; }
.pivex-banner img { animation: none; transform: none; object-fit: cover; object-position: 72% center; }
.pivex-invite { background: linear-gradient(180deg, rgba(10,4,6,.62), rgba(10,4,6,.28)); }
@media (max-width: 720px) {
  .fp-pair { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .pivex-sliv { padding: 0 10px; font-size: 13px; }
  .qorun-navwrap, .molta-bar { padding-right: 176px; }
  .qorun-sliv, .molta-sliv { right: 58px; }
}