/* Private-server additions on top of the official base.css / top.css / character.css */

body { background: #000 url("/shared/img/common/bg_body.png") center top repeat; }
:root { --ps-blue: #1428ff; --ps-ru: "Montserrat", "Noto Sans", sans-serif; }

/* ---------- intro (blue blind, like the original) ---------- */
#blind { background-color: var(--ps-blue); transition: transform .5s cubic-bezier(.85, 0, .15, 1); }
#blind.is--hide { transform: scaleX(0); }
#blind.is--cover-from { transform: scaleX(0); transition: none; }
.blind__logo__inner { transition: width .5s cubic-bezier(.85, 0, .15, 1); }
.blind__logo.is--hide .blind__logo__inner { width: 0; }
.blind__logo__inner svg:first-child { width: 100%; height: auto; display: block; }
.ps-word { display: block; fill: #fff; color: #fff; }
.ps-word--blind { width: 100%; height: auto; margin-top: 8%; }

/* ---------- header: IDOLY PRIDE + PRIVATE SERVER, same 14px cap height ---------- */
.header__logo a { display: flex; align-items: flex-start; gap: 16px; }
.header__logo svg { flex: none; }
.ps-word--header { width: auto; height: 14px; }

/* quote on the right: original is 10px scaled to 0.7 — shown here at full size */
.header__lyric { transform: none; font-size: 12px; line-height: 1.75em; right: 60px; width: auto; margin-top: -4px; }

.header__nav.is--show .header__nav__cover { display: none; }
.header__nav__list li.is--current a::before { width: 23px; }

/* ---------- top: vertical copy, live text (crisp at any size) ---------- */
.visual__copy { top: 56px; }
.ps-vcopy {
  display: inline-block; writing-mode: vertical-rl; text-orientation: upright;
  font-family: "Noto Serif JP", serif; font-weight: 400; font-size: 34px; line-height: 1;
  letter-spacing: .02em; color: #fff; text-shadow: 0 0 18px rgba(0, 0, 0, .45);
}
.ps-vcopy .p { text-orientation: mixed; }

/* ---------- about ---------- */
.ps-about { position: relative; padding: 140px 0 160px; color: #fff; }
.ps-about__inner { width: 980px; margin: 0 auto; }
.ps-label { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 12px; letter-spacing: .3em; color: var(--ps-blue); margin-bottom: 28px; }
.ps-about__title { font-family: var(--ps-ru); font-weight: 800; font-size: 54px; line-height: 1.15; letter-spacing: .02em; margin-bottom: 40px; }
.ps-about__lead { font-family: var(--ps-ru); font-size: 16px; line-height: 2; max-width: 640px; color: rgba(255, 255, 255, .85); margin-bottom: 80px; }
.ps-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 80px; }
.ps-steps li { border-top: 4px solid #fff; padding-top: 26px; }
.ps-steps__num { display: block; font-family: "Cormorant", serif; font-size: 64px; line-height: 1; color: var(--ps-blue); margin-bottom: 18px; }
.ps-steps__head { font-family: var(--ps-ru); font-weight: 700; font-size: 18px; margin-bottom: 12px; }
.ps-steps__text { font-family: var(--ps-ru); font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .75); }
.ps-about__buttons { display: flex; gap: 20px; margin-bottom: 24px; }
.ps-about__download { margin-bottom: 24px; }
.ps-about a.ps-btn--download { width: 460px; background: #fff; border-color: #fff; color: #000; }
.ps-about a.ps-btn--download:hover { background: var(--ps-blue); border-color: var(--ps-blue); color: #fff; }
.ps-about__note { font-family: var(--ps-ru); font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---------- buttons ---------- */
a.ps-btn, button.ps-btn {
  display: inline-block; min-width: 220px; padding: 22px 30px; text-align: center; text-decoration: none; cursor: pointer;
  background: var(--ps-blue); color: #fff; border: 2px solid var(--ps-blue);
  font-family: "DM Sans", var(--ps-ru); font-weight: 700; font-size: 14px; letter-spacing: .25em;
  transition: background-color .2s, color .2s, border-color .2s;
}
.ps-btn span { display: inline-block; transition: transform .2s; }
.ps-btn:hover span { transform: translateX(6px); }
a.ps-btn:hover, button.ps-btn:hover { background: #fff; color: var(--ps-blue); border-color: #fff; }
a.ps-btn--ghost { background: transparent; border-color: #fff; }
a.ps-btn--ghost:hover { background: #fff; color: #000; }

/* ---------- footer ---------- */
.footer { background: #fff; }
.footer__logo a { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ps-word--footer { width: auto; height: 17px; fill: #000; color: #000; }
.footer__logo { width: 70%; }
.footer__rights { font-family: var(--ps-ru); margin-bottom: 14px; }
.ps-holders { display: flex; align-items: center; gap: 22px; list-style: none; margin-bottom: 22px; position: relative; z-index: 1; }
.ps-holders img { display: block; width: auto; height: 22px; opacity: .75; transition: opacity .2s; }
.ps-holders a:hover img { opacity: 1; }
.visual__news__list li, .visual__news__list a { font-family: var(--ps-ru); }

/* ---------- music player bar ---------- */
body.has--player { padding-bottom: 36px; }
.ps-player {
  position: fixed; left: 0; bottom: 0; z-index: 8000; width: 100%; height: 36px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--ps-blue); color: #fff; font-family: "DM Sans", var(--ps-ru); font-size: 13px;
}
.ps-player__btn { background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; display: flex; }
.ps-player__btn svg { width: 13px; height: 13px; fill: currentColor; }
.ps-player__mute svg { width: 17px; }
.ps-player__btn:hover { opacity: .7; }
.ps-player .i-pause, .ps-player.is--play .i-play { display: none; }
.ps-player.is--play .i-pause { display: block; }
.ps-player.is--mute .w { display: none; }
.ps-player__time, .ps-player__dur { width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.ps-player__dur { opacity: .6; }
.ps-player input[type=range] {
  -webkit-appearance: none; appearance: none; height: 2px; cursor: pointer; background:
  linear-gradient(#fff, #fff) 0 0 / var(--p, 0%) 100% no-repeat, rgba(255, 255, 255, .35);
}
.ps-player input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.ps-player input[type=range]::-moz-range-thumb { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #fff; }
.ps-player__seek { width: 220px; }
.ps-player__vol { width: 70px; }
.ps-player__cover { width: 36px; height: 36px; background: #000 center / cover no-repeat; margin-left: 14px; }
.ps-player__title { font-weight: 700; white-space: nowrap; }
.ps-player__artist { opacity: .8; white-space: nowrap; margin-right: 14px; }
.btn--pagetop { bottom: 86px; }

/* ---------- inner pages: Russian under the English head ---------- */
.pagetitile { padding-top: 160px; }
#character-page .pagetitile { padding-top: 0; }
.pagetitile__head span { font-family: var(--ps-ru); font-weight: 800; }
.groups__list__name { font-family: "DM Sans", var(--ps-ru); }
.diagram__img__zoom a { font-family: var(--ps-ru); }

/* diagram modal */
.ps-modal { position: fixed; inset: 0; z-index: 9500; background: rgba(0, 0, 0, .9); display: none; align-items: center; justify-content: center; cursor: zoom-out; }
.ps-modal.is--show { display: flex; }
.ps-modal img { max-width: 94vw; max-height: 90vh; }

/* ---------- auth forms ---------- */
.ps-auth { width: 980px; margin: 0 auto 200px; display: grid; grid-template-columns: 460px 1fr; gap: 80px; color: #fff; }
.ps-form { display: flex; flex-direction: column; gap: 22px; }
.ps-form label { display: flex; flex-direction: column; gap: 10px; font-family: "DM Sans", var(--ps-ru); font-weight: 700; font-size: 11px; letter-spacing: .2em; }
.ps-form label small { font-family: var(--ps-ru); font-weight: 400; letter-spacing: 0; font-size: 12px; color: rgba(255, 255, 255, .55); }
.ps-form input[type=text], .ps-form input[type=email], .ps-form input[type=password] {
  background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .4); color: #fff;
  font-family: var(--ps-ru); font-size: 17px; padding: 10px 2px; outline: none; transition: border-color .2s;
}
.ps-form input:focus { border-bottom-color: var(--ps-blue); }
.ps-form .ps-check { flex-direction: row; align-items: flex-start; gap: 12px; font-family: var(--ps-ru); font-weight: 400; letter-spacing: 0; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.ps-form .ps-check input { accent-color: var(--ps-blue); width: 16px; height: 16px; margin-top: 3px; }
.ps-form .ps-btn { margin-top: 12px; }
.ps-form__msg { font-family: var(--ps-ru); font-size: 13px; color: #8fa0ff; min-height: 1.6em; }
.ps-auth__side { border-left: 4px solid #fff; padding-left: 40px; font-family: var(--ps-ru); }
.ps-auth__side h3 { font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.ps-auth__side p { font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.ps-auth__side a { color: #fff; }
.ps-auth__switch { font-family: var(--ps-ru); font-size: 14px; color: rgba(255, 255, 255, .7); }
.ps-auth__switch a { color: #fff; font-weight: 700; }

/* ---------- character pages: live Russian text in place of the official text images ---------- */
.ps-chara .production__text, .ps-chara .details__specs__text, .ps-chara .details__prof, .ps-chara .lists__list__name,
.ps-chara .paging__prev__text, .ps-chara .paging__next__text { font-family: var(--ps-ru); }
.ps-chara .production__text { font-size: 16px; }
.ps-chara .details__specs__text { font-size: 16px; line-height: 1.75em; }
.ps-chara .details__prof dt, .ps-chara .details__prof dd { font-size: 15px; }
.ps-texthead { font-family: "Cormorant", serif; font-weight: 300; font-size: 64px; letter-spacing: .02em; color: #fff; line-height: 1; }
.ps-name { height: 89px; display: flex; align-items: flex-end; white-space: nowrap; color: #fff; }
.ps-name span { display: block; font-family: "Cormorant", serif; font-weight: 300; font-size: 76px; line-height: 1; letter-spacing: .01em; }
.ps-cv span { font-family: "Cormorant", serif; font-weight: 400; font-size: 30px; line-height: 1.1; color: #fff; white-space: nowrap; }
.ps-copy { display: flex; justify-content: flex-end; }
.ps-copy span {
  display: block; height: 100%; writing-mode: vertical-rl; text-orientation: sideways;
  font-family: "Cormorant", serif; font-weight: 300; font-size: 96px; line-height: 1.12; color: #fff;
  text-shadow: 0 0 18px rgba(0, 0, 0, .35);
}
.ps-interview { margin-top: 28px; }
.ps-interview a {
  display: inline-flex; flex-direction: column; gap: 4px; padding: 16px 30px; border: 1px solid rgba(255, 255, 255, .8);
  color: #fff; font-family: "DM Sans", sans-serif; text-decoration: none; transition: background .2s, color .2s;
}
.ps-interview a span { font-weight: 700; font-size: 15px; letter-spacing: .25em; }
.ps-interview a small { font-family: var(--ps-ru); font-size: 11px; letter-spacing: .05em; opacity: .7; }
.ps-interview a:hover { background: #fff; color: #000; }
/* first art visible right away (no wait for the slide-in) */
.ps-chara .details__visual__img__rotation__element.is--first { opacity: 1; animation: none; transform: translate(2px, 0); }

/* ---------- news: editor tools (only shown to news editors) ---------- */
.ps-news .lists__list__text, .ps-news .details__head, .ps-news .details__content, .ps-news .details__button__text { font-family: var(--ps-ru); }
.ps-news__tools { width: 1000px; max-width: 92%; margin: 0 auto 30px; display: flex; gap: 12px; justify-content: flex-end; }
.ps-news .details .ps-news__tools { width: auto; max-width: none; margin: 40px 0 0; justify-content: flex-start; }
.ps-news__btn { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .2em; color: #fff; background: var(--ps-blue);
  border: 1px solid var(--ps-blue); padding: 12px 26px; cursor: pointer; transition: background .2s, color .2s; }
.ps-news__btn:hover { background: #fff; color: var(--ps-blue); }
.ps-news__btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); }
.ps-news__btn:disabled { opacity: .5; cursor: wait; }
.ps-news__empty, .ps-news__more { text-align: center; color: #fff; font-family: var(--ps-ru); margin: 40px 0; }
.ps-news__draft { margin-left: 16px; padding: 2px 10px; background: #ffb400; color: #000; font: 700 11px "DM Sans", sans-serif; letter-spacing: .15em; }
.ps-news .details__content a { color: #8ea2ff; text-decoration: underline; }
.ps-editor { position: fixed; inset: 0; z-index: 9600; background: rgba(0, 0, 0, .82); display: flex; align-items: center; justify-content: center; }
.ps-editor[hidden] { display: none; }
.ps-editor__box { width: 820px; max-width: 94vw; max-height: 92vh; overflow: auto; background: #0b0b14; border: 1px solid rgba(255, 255, 255, .15);
  padding: 28px 32px; color: #fff; font-family: var(--ps-ru); }
.ps-editor__head { display: flex; justify-content: space-between; align-items: center; font: 700 14px "DM Sans", sans-serif; letter-spacing: .25em;
  border-bottom: 2px solid var(--ps-blue); padding-bottom: 12px; margin-bottom: 20px; }
.ps-editor__close { background: none; border: 0; color: #fff; font: 700 12px "DM Sans", sans-serif; letter-spacing: .2em; cursor: pointer; }
.ps-editor__row { display: block; margin-bottom: 14px; }
.ps-editor__row span { display: block; font-size: 12px; opacity: .7; margin-bottom: 6px; }
.ps-editor input:not([type=checkbox]), .ps-editor select, .ps-editor textarea { width: 100%; box-sizing: border-box; background: #000; color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); padding: 10px 12px; font: inherit; font-size: 15px; }
.ps-editor textarea { resize: vertical; line-height: 1.6; }
.ps-editor__cols { display: grid; grid-template-columns: 1fr 1fr auto auto; gap: 14px; align-items: end; }
.ps-editor__check { display: flex; gap: 6px; align-items: center; font-size: 13px; margin-bottom: 24px; white-space: nowrap; }
.ps-editor__hint { font-size: 12px; opacity: .65; margin: -4px 0 10px; }
.ps-editor__err { color: #ff6b6b; font-size: 13px; min-height: 1.2em; }
.ps-editor__actions { text-align: right; }

/* the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }
