﻿


.gallery-toolbar { margin: 30px auto; }


.news-search { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.news-search__form { display: flex; gap: 8px; }
.news-search__input { flex: 1; }
.badge-new { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: rgba(70, 170, 110, .16); color: #6fd18f; border: 1px solid rgba(70, 170, 110, .4); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.news-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.news-card__views { display: inline-flex; align-items: center; gap: 4px; }
.news-card__author { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.news-card__avatar { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.news-more { display: flex; justify-content: center; margin-top: 30px; }
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 700; vertical-align: middle; }
.section-head__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-hero { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.news-hero__slides { position: relative; min-height: 340px; }
.news-hero__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; background-size: cover; background-position: center; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s ease; }
.news-hero__slide.is-active { opacity: 1; visibility: visible; }
.news-hero__slide:not([style*="background-image"]) { background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); }
.news-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.78) 100%); }
.news-hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; max-width: 780px; padding: clamp(28px, 5vw, 56px); }
.news-hero__title { font-family: var(--display); font-size: clamp(24px, 4vw, 40px); line-height: 1.12; font-weight: 700; color: #fff; }
.news-hero__sub { font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.82); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-hero__meta { color: rgba(255,255,255,.65); }
.news-hero__cta { align-self: flex-start; margin-top: 4px; }
.news-hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(10,10,10,.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, border-color .15s; backdrop-filter: blur(4px); }
.news-hero__arrow:hover { background: rgba(10,10,10,.75); border-color: rgba(255,255,255,.5); }
.news-hero__arrow--prev { left: 16px; }
.news-hero__arrow--next { right: 16px; }
.news-hero__dots { position: absolute; bottom: 16px; right: 20px; z-index: 2; display: flex; gap: 8px; }
.news-hero__dot { width: 8px; height: 8px; border-radius: 999px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .15s, width .15s; }
.news-hero__dot.is-active { background: #fff; width: 22px; }
.article__meta { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }


.rules-stats { display: flex; align-items: center; gap: 14px; margin-top: 12px; font-size: 13.5px; color: var(--text-2); flex-wrap: wrap; }
.rules-stats b { color: var(--ink-2); font-weight: 600; }
.tldr-section { padding-block: 42px 0; }
.tldr { margin-bottom: 10px; }
.tldr__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tldr__head h2 { font-size: 17px; margin: 0; }
.tldr__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tldr__card { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-decoration: none; transition: border-color .15s, transform .15s; }
.tldr__card:hover { border-color: var(--ink); transform: translateY(-1px); }
.tldr__card .mono { font-size: 12px; color: var(--text-2); }
.tldr__card b { font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.tldr__card p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0; }
.rules-toc__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.rules-search { width: 100%; }
.rules-toc__toggle { display: none; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text-2); font-weight: 600; font-size: 13px; cursor: pointer; }
.rules-toc__toggle:hover { color: var(--ink); border-color: var(--ink); }
.rules-toc__empty { display: none; padding: 10px 4px; font-size: 13px; color: var(--text-3); }
.rules-toc__empty.is-visible { display: block; }
.rules-toc a.is-current { background: var(--surface-2); color: var(--ink); box-shadow: inset 2px 0 0 var(--ink); }
.rules-toc .is-hidden, .rule-block.is-hidden { display: none; }
.rules-toc mark, .rule-block mark { background: rgba(227, 173, 92, .28); color: inherit; border-radius: 3px; padding: 0 2px; }
.rbadge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.rbadge--danger { background: rgba(200, 55, 55, .14); color: #ff8f8f; border: 1px solid rgba(200, 55, 55, .35); }
.rbadge--warn { background: rgba(227, 173, 92, .14); color: #e3ad5c; border: 1px solid rgba(227, 173, 92, .35); }
.rbadge--ok { background: rgba(70, 170, 110, .14); color: #6fd18f; border: 1px solid rgba(70, 170, 110, .35); }
.rule-block h2 { flex-wrap: wrap; row-gap: 8px; }
.rule-copy { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text-2); cursor: pointer; transition: color .15s, border-color .15s; }
.rule-copy:hover { color: var(--ink); border-color: var(--ink); }
.rule-block.is-flash { animation: ruleFlash 1.6s ease; }
@keyframes ruleFlash { 0%, 100% { box-shadow: none; } 20% { box-shadow: 0 0 0 3px rgba(227, 173, 92, .35); border-radius: 12px; } }
.rules-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.rules-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--ink); z-index: 400; transition: width .12s linear; }


.lc-progress { font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.lc-progress b { color: var(--ink-2); }
.lc-master { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 14px; cursor: pointer; }
.lc-master b { display: block; font-size: 14px; }
.lc-master em { font-style: normal; }
.lc-doc { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 16px; margin-bottom: 12px; }
.lc-doc__head { display: flex; align-items: flex-start; gap: 12px; }
.lc-doc__icon { color: var(--text-2); margin-top: 2px; flex: 0 0 auto; }
.lc-doc__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lc-doc__meta b { font-size: 15px; }
.lc-doc__open { margin-left: auto; white-space: nowrap; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.lc-doc__summary { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; }
.lc-doc__actions { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.lc-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13.5px; }
.lc-check input:disabled + span { opacity: .45; }
.btn--danger-ghost { color: #ff8f8f; border-color: rgba(200, 55, 55, .4); }
.btn--danger-ghost:hover { color: #ffb3b3; border-color: #ff8f8f; }
.lc-tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.lc-tab { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.lc-tab:hover { color: var(--ink); border-color: var(--ink); }
.lc-tab.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.lc-status-list .is-hidden { display: none; }
.lc-status { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.lc-status:last-child { border-bottom: 0; }
.lc-status__main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lc-status__title { font-size: 14.5px; font-weight: 600; }
.lc-status__read { font-size: 12px; }
.lc-details { margin-top: 10px; }
.lc-details summary { cursor: pointer; }
.lc-details table { width: 100%; font-size: 12.5px; margin-top: 8px; }
.lc-details td { padding: 4px 8px; vertical-align: top; }
.lc-details td.mono { color: var(--text-2); word-break: break-all; }


@media (max-width: 900px) {
  .nav { overflow-x: hidden; }
  .nav:not(.is-open) .usermenu__pop, .nav:not(.is-open) .notifmenu__pop { display: none; }
  .usermenu__name { display: none; }
}


@media (max-width: 640px) {
  .news-hero__slides { min-height: 420px; }
  .news-hero__arrow { display: none; }
}
@media (max-width: 768px) {
  .rules-toc__toggle { display: inline-flex; }
  .rules-toc__list { display: none; }
  .rules-toc.is-open .rules-toc__list { display: block; }
}

.section--list { padding-top: clamp(22px, 2.6vw, 30px); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; font-size: 13px; color: var(--text-2); }
.crumbs a { color: var(--text-2); text-decoration: none; transition: color .15s; }
.crumbs a:hover { color: var(--ink); }
.crumbs__sep { color: var(--text-3); }
.crumbs span[aria-current='page'] { color: var(--ink-2); font-weight: 600; }




@keyframes heroUnderlineIn {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}
@keyframes heroUnderlinePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .6; }
}
.hero.is-revealed .hero__title .accent::after {
  transform-origin: center;
  animation:
    heroUnderlineIn .9s cubic-bezier(.2, .7, .2, 1) 1.2s both,
    heroUnderlinePulse 4.5s ease-in-out 2.6s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero.is-revealed .hero__title .accent::after,
  .hero.is-revealed .hero__title .hero-letter { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html.js .hero__inner { opacity: 1; }
  .hero.is-revealed .hero__kicker, .hero.is-revealed .hero__lede, .hero.is-revealed .hero__cta .btn { animation: none; }
}

.hero__title .hero-letter { display: inline-block; }
.hero__title .hero-letter--space { width: .28em; }
.hero.is-revealed .hero__title .hero-letter {
  animation: heroLetterIn .55s cubic-bezier(.2, .7, .2, 1) both;
  will-change: opacity, transform, filter;
}
@keyframes heroLetterIn {
  from { opacity: 0; transform: translateY(.32em); filter: blur(9px); }
  to { opacity: 1; transform: none; filter: none; }
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

html.js #about[data-reveal] { transition-delay: 1.05s; }

.hero.is-revealed .hero__kicker {
  animation: heroKickerIn .55s cubic-bezier(.2, .7, .2, 1) .45s both;
}
@keyframes heroKickerIn {
  from { opacity: 0; transform: translateY(12px) scale(.96); filter: blur(5px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero.is-revealed .hero__lede {
  animation: heroLedeIn .65s cubic-bezier(.2, .7, .2, 1) .95s both;
}
@keyframes heroLedeIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero.is-revealed .hero__cta .btn {
  animation: heroCtaIn .55s cubic-bezier(.2, .7, .2, 1) 1.15s both;
}
.hero.is-revealed .hero__cta .btn:last-child { animation-delay: 1.32s; }
@keyframes heroCtaIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.skip-shutter { position: fixed; inset: 0; z-index: 160; pointer-events: none; }
.skip-shutter__panel { position: absolute; left: 0; right: 0; height: 50.1%; background: var(--ink); }
.skip-shutter__panel--top { top: 0; transform: translateY(-101%); }
.skip-shutter__panel--bottom { bottom: 0; transform: translateY(101%); }
.skip-shutter.is-on .skip-shutter__panel--top { animation: shutterSnapTop .75s cubic-bezier(.16, 1, .3, 1) forwards; }
.skip-shutter.is-on .skip-shutter__panel--bottom { animation: shutterSnapBottom .75s cubic-bezier(.16, 1, .3, 1) forwards; }
@keyframes shutterSnapTop {
  0% { transform: translateY(-101%); }
  16% { transform: translateY(0); }
  24% { transform: translateY(0); }
  100% { transform: translateY(-101%); }
}
@keyframes shutterSnapBottom {
  0% { transform: translateY(101%); }
  16% { transform: translateY(0); }
  24% { transform: translateY(0); }
  100% { transform: translateY(101%); }
}

.hero.is-revealed.is-skipped .hero__inner,
.hero.is-revealed.is-skipped .hero__title .hero-letter {
  animation: none;
}
@keyframes heroRevealSkip {
  from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero.is-revealed.is-skipped .hero__title { animation: heroRevealSkip .36s cubic-bezier(.16, 1, .3, 1) .1s both; }
.hero.is-revealed.is-skipped .hero__kicker { animation: heroRevealSkip .3s cubic-bezier(.16, 1, .3, 1) .18s both; }
.hero.is-revealed.is-skipped .hero__lede { animation: heroRevealSkip .3s cubic-bezier(.16, 1, .3, 1) .26s both; }
.hero.is-revealed.is-skipped .hero__cta .btn { animation: heroRevealSkip .3s cubic-bezier(.16, 1, .3, 1) .34s both; }
.hero.is-revealed.is-skipped .hero__cta .btn:last-child { animation-delay: .42s; }

.hero.is-revealed.is-skipped .hero__title .accent::after {
  animation:
    heroUnderlineIn .65s cubic-bezier(.16, 1, .3, 1) .5s both,
    heroUnderlinePulse 4.5s ease-in-out 1.9s infinite;
}

.hero.is-revealed.is-skipped ~ #about {
  opacity: 1;
  transform: none;
  transition: opacity .35s ease .45s, transform .35s ease .45s;
}

@media (prefers-reduced-motion: reduce) {
  .skip-shutter__panel { animation: none !important; }
}

.footer-watermark {
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(150px, 24vw, 380px);
  line-height: .8;
  letter-spacing: .38em;
  padding-left: .38em;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
  opacity: .14;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.site-footer__main, .site-footer__bottom { position: relative; z-index: 1; }

html.js .footer-watermark[data-reveal] {
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
}
html.js .footer-watermark[data-reveal].is-in {
  opacity: .14;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.js .footer-watermark[data-reveal] { opacity: .13; transform: none; transition: none; }
}

.dash-hud {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  margin: -6px 0 26px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-2);
}
.dash-hud__cell { display: inline-flex; align-items: center; gap: 8px; }
.dash-hud__cell.mono { text-transform: none; letter-spacing: .03em; }
.dash-hud__cell.is-warn { color: #E3AD5C; }
.dash-hud__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.dash-hud__dot.is-ok { background: #46AA6E; box-shadow: 0 0 0 3px rgba(70, 170, 110, .16); }
.dash-hud__dot.is-warn { background: #E3AD5C; box-shadow: 0 0 0 3px rgba(227, 173, 92, .16); }

.dash-mission {
  position: relative;
  display: flex; align-items: center; gap: 20px;
  padding: 22px 26px;
  border-left: 3px solid var(--ink);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.dash-mission::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, var(--line) 0%, transparent 68%);
  opacity: .5; pointer-events: none;
}
.dash-mission__icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink);
  background: var(--surface);
}
.dash-mission__body { min-width: 0; }
.dash-mission__title { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .02em; margin-top: 3px; }
.dash-mission__text { margin-top: 5px; color: var(--text-2); font-size: 14px; line-height: 1.55; }
.dash-mission__cta { margin-left: auto; flex: none; }
@media (max-width: 640px) {
  .dash-mission { flex-wrap: wrap; }
  .dash-mission__cta { margin-left: 0; width: 100%; }
  .dash-mission__cta .btn { width: 100%; }
}

.char-card__media img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.char-card:hover .char-card__media img { transform: scale(1.06); }
.char-card.has-fav .char-card__media { box-shadow: inset 0 0 0 1px rgba(227, 173, 92, .5); }

.char-pager {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
}
.char-pager__btn {
  min-width: 34px; height: 34px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text-2);
  font-family: var(--mono, monospace); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.char-pager__btn:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.char-pager__btn.is-active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}