@font-face {
  font-family: Barlow;
  src: url("assets/barlow.ttf") format("truetype");
  font-weight: 600 800;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --bg: #131613;
  --surface: #1c201c;
  --raised: #252a25;
  --line: #383f37;
  --gold: #e6c46c;
  --gold-hover: #f4d88c;
  --text: #f3f2e9;
  --muted: #aeb5a9;
  --green: #93e6a4;
  --red: #ffb2a8;
  --radius: 14px;
  --display: Barlow, "Arial Narrow", sans-serif;
  --body: Inter, Arial, sans-serif;
  color-scheme: dark;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  accent-color: var(--gold);
}
input,
textarea {
  caret-color: var(--gold);
}
::selection {
  background: var(--gold);
  color: var(--bg);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #616959;
  border-radius: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 12px;
}
.skip:focus {
  top: 0;
}
.btn,
.iconbtn {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 650;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.btn:hover,
.iconbtn:hover {
  background: var(--raised);
  border-color: #69705d;
}
.btn.primary {
  background: var(--gold);
  color: #1b2119;
  border-color: var(--gold);
}
.btn.primary:hover {
  background: var(--gold-hover);
}
.btn.danger {
  color: var(--red);
}
.btn.quiet {
  border-color: transparent;
}
.btn.small {
  padding: 8px 12px;
  min-height: 38px;
  font-size: 12px;
}
.iconbtn {
  width: 44px;
  padding: 0;
}
.icon {
  height: 18px;
  width: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.stack {
  display: grid;
  gap: 18px;
}
.grow {
  flex: 1;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
  line-height: 1.6;
}
.gold {
  color: var(--gold);
}
.text-link {
  color: var(--gold);
  background: none;
  border: 0;
  padding: 4px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
}
h1 {
  font-size: clamp(40px, 4.3vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
h2 {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 14px;
}
h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
p {
  line-height: 1.65;
  color: var(--muted);
  font-size: 14px;
}
b,
strong {
  font-weight: 650;
}
.prototype-bar {
  min-height: 36px;
  background: #272d24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 4%;
  gap: 10px;
  color: #c5cbbd;
  font-size: 11px;
  letter-spacing: 0.01em;
}
.prototype-bar button {
  background: none;
  border: 0;
  font-size: 11px;
  color: var(--gold);
  padding: 4px 8px;
}
.prototype-bar .demo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.site-header {
  height: 90px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 4%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}
.brand strong {
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.07em;
  line-height: 1;
}
.brand small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 13px;
}
.nav a.active {
  color: var(--gold);
}
.avatar {
  background: #495443;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 12px;
  color: #eef1e4;
  flex: none;
}
.avatar.large {
  height: 66px;
  width: 66px;
  font-size: 22px;
}
.verified {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.unverified {
  color: #b8bdb3;
  font-size: 10px;
}
.verified .icon {
  width: 12px;
  height: 12px;
}
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 38px 4% 64px;
}
.page-title {
  margin: 20px 0 30px;
}
.page-title h1 {
  font-size: 48px;
}
.page-title p {
  margin: 0;
}
.hero {
  position: relative;
  min-height: 510px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #293b29;
}
.hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 11, 0.88),
      rgba(10, 18, 11, 0.45) 50%,
      rgba(10, 18, 11, 0.06)
    ),
    linear-gradient(0deg, rgba(10, 18, 11, 0.55), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px;
  width: 65%;
}
.hero h1 {
  font-size: clamp(48px, 5.2vw, 76px);
  text-transform: uppercase;
  max-width: 610px;
  margin: 22px 0;
}
.hero p {
  color: #e0e5d8;
  max-width: 400px;
}
.hero-meta {
  color: #d6ddcf;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.hero-meta span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.hero .status {
  background: #e5eddb;
  color: #263220;
  border: 0;
}
.hero-bottom {
  position: absolute;
  bottom: 35px;
  right: 35px;
  z-index: 1;
  color: #fff;
  text-align: right;
}
.hero-bottom span {
  font-family: var(--display);
  font-size: 40px;
}
.section-head {
  margin: 40px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.section-head h2 {
  margin: 0;
}
.section-head p {
  margin: 5px 0 0;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.event-card {
  display: block;
}
.event-cover {
  height: 230px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  background: #293b29;
}
.event-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.event-card:hover .event-cover > img {
  transform: scale(1.035);
}
.event-cover .status {
  position: absolute;
  left: 16px;
  top: 16px;
  background: #172015e8;
}
.event-card h3 {
  margin: 18px 0 9px;
  font-size: 28px;
}
.event-card .meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.event-card .row {
  justify-content: space-between;
}
.status {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #606448;
  padding: 6px 10px;
  border-radius: 5px;
  white-space: nowrap;
  color: var(--gold);
}
.status.green {
  color: var(--green);
  border-color: #476550;
}
.status.grey {
  color: #c1c7bc;
  border-color: #586052;
}
.status.red {
  color: var(--red);
  border-color: #795349;
}
.tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  margin: 28px 0;
}
.tabs button,
.tabs a {
  padding: 16px 0;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.tabs .active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.tabs .count {
  margin-left: 6px;
  color: var(--muted);
  font-size: 11px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #2b3629;
  aspect-ratio: 1.4;
  border: 0;
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
  color: white;
}
.photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo.tall {
  grid-row: span 2;
  aspect-ratio: auto;
}
.photo .photo-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 35px 14px 12px;
  background: linear-gradient(transparent, #111d);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.photo .watermark {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  opacity: 0.8;
}
.photo:focus-visible {
  outline-offset: 2px;
}
.photo:nth-child(3n + 2) > img:first-child {
  object-position: 75% 40%;
}
.photo:nth-child(3n) > img:first-child {
  object-position: 20% 60%;
}
.photo .check {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  background: #171c1799;
  border: 1px solid #ced7c3;
  border-radius: 4px;
  display: grid;
  place-items: center;
}
.photo.selected {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.photo.selected .check {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.gallery-filters {
  margin-bottom: 24px;
}
.search {
  position: relative;
  min-width: 230px;
}
.search > .icon {
  position: absolute;
  left: 13px;
  top: 13px;
  color: var(--muted);
}
.search input {
  padding-left: 40px;
}
.field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
}
.field span.optional {
  color: var(--muted);
  font-weight: 400;
}
.field small {
  font-weight: 400;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  min-height: 44px;
  background: #171b17;
  border: 1px solid #4b5447;
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--text);
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: #9ca593;
}
textarea {
  resize: vertical;
  min-height: 95px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.full {
  grid-column: 1/-1;
}
.panel {
  padding: 28px;
  background: var(--surface);
  border-radius: 14px;
}
.panel h2 {
  font-size: 28px;
}
.notice {
  padding: 15px 17px;
  background: #293124;
  border-radius: 8px;
  color: #d3dec7;
  font-size: 12px;
  line-height: 1.65;
}
.notice.error {
  background: #3c2925;
  color: #ffccc1;
}
.notice.success {
  background: #243728;
  color: #b9e8bd;
}
.notice .icon {
  vertical-align: middle;
  margin-right: 7px;
}
.error-text {
  color: var(--red);
  font-size: 12px;
  margin: 6px 0;
  line-height: 1.6;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 700px;
}
.auth-art {
  position: relative;
  overflow: hidden;
  background: #293b29;
}
.auth-art > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.auth-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #101910ed, transparent);
}
.auth-art .art-copy {
  position: absolute;
  bottom: 50px;
  left: 12%;
  right: 10%;
  z-index: 1;
}
.art-copy h1 {
  font-size: 70px;
  text-transform: uppercase;
}
.auth-form {
  padding: 64px 12%;
  align-self: center;
}
.auth-form h1 {
  font-size: 44px;
}
.auth-form form {
  display: grid;
  gap: 21px;
}
.auth-form .btn {
  width: 100%;
}
.step-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step-list li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  padding: 10px 0;
}
.step-list li:before {
  content: counter(step);
  height: 25px;
  min-width: 25px;
  border-radius: 50%;
  background: var(--raised);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 11px;
}
.success-screen {
  max-width: 530px;
  margin: 60px auto;
  text-align: center;
}
.success-symbol {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  background: #2b392b;
  color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 28px;
}
.success-symbol .icon {
  width: 33px;
  height: 33px;
}
.success-screen h1 {
  font-size: 45px;
}
.success-screen .panel {
  text-align: left;
}
.footer {
  padding: 28px 4%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  gap: 18px;
}
.footer a {
  color: var(--gold);
}
.admin-layout {
  display: grid;
  grid-template-columns: 224px 1fr;
  min-height: calc(100vh - 36px);
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  background: #171b17;
}
.sidebar .brand {
  gap: 10px;
}
.sidebar .brand img {
  width: 47px;
  height: 47px;
}
.sidebar .brand strong {
  font-size: 18px;
}
.side-nav {
  display: grid;
  gap: 6px;
}
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
}
.side-nav a:hover {
  background: var(--raised);
}
.side-nav a.active {
  background: #303626;
  color: var(--gold);
}
.side-nav .count {
  margin-left: auto;
  color: var(--gold);
  font-size: 10px;
}
.sidebar .admin-ident {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.admin-main {
  min-width: 0;
}
.admin-top {
  height: 78px;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.admin-content {
  padding: 32px 40px 60px;
  max-width: 1500px;
  margin: auto;
}
.admin-content h1 {
  font-size: 46px;
}
.admin-content .page-title {
  margin: 0 0 28px;
}
.stats {
  display: flex;
  gap: 0;
  margin: 26px 0 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.stat {
  flex: 1;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  font-family: var(--display);
  font-size: 35px;
  display: block;
  font-weight: 600;
}
.stat span {
  font-size: 11px;
  color: var(--muted);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 630px;
}
th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
}
td .row {
  gap: 13px;
}
td .thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
}
td strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.table-wrap .btn {
  white-space: nowrap;
}
.wizard {
  display: grid;
  grid-template-columns: 200px minmax(0, 720px);
  gap: 45px;
}
.wizard-steps {
  display: grid;
  align-content: start;
  gap: 5px;
}
.wizard-steps button {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 0;
  color: var(--muted);
  padding: 14px 0;
  font-size: 12px;
}
.wizard-steps button span {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 11px;
}
.wizard-steps button.active {
  color: var(--gold);
}
.wizard-steps button.active span {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.dropzone {
  border: 1px dashed #657059;
  border-radius: 10px;
  min-height: 148px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 9px;
  padding: 24px;
  background: #20271e;
  color: var(--muted);
  font-size: 12px;
}
.dropzone .icon {
  margin: auto;
  color: var(--gold);
  width: 27px;
  height: 27px;
}
.dropzone input {
  display: none;
}
.wizard-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.person-row,
.setting-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.person-row .grow > strong {
  font-size: 13px;
}
.person-row .grow > small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 5px;
}
.setting-row strong {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}
.setting-row p {
  font-size: 12px;
  margin: 0;
}
.toggle {
  appearance: none;
  width: 40px;
  height: 23px;
  border-radius: 14px;
  background: #535d4c;
  position: relative;
  cursor: pointer;
  flex: none;
}
.toggle:before {
  content: "";
  width: 17px;
  height: 17px;
  position: absolute;
  border-radius: 50%;
  background: #fff;
  left: 3px;
  top: 3px;
  transition: transform 0.15s;
}
.toggle:checked {
  background: #bca052;
}
.toggle:checked:before {
  transform: translateX(17px);
}
.review-cover {
  height: 220px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.data-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 23px;
  margin: 24px 0;
}
.data-grid small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-bottom: 7px;
}
.data-grid strong {
  font-size: 13px;
}
.qr {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  width: 160px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.qr img {
  width: 100%;
}
.upload-shell {
  max-width: 1050px;
  margin: auto;
}
.upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 1fr);
  gap: 30px;
}
.photo-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #090d09;
  aspect-ratio: 1.15;
  display: grid;
  place-items: center;
  touch-action: pan-y;
}
.photo-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 560px;
  transition: transform 0.25s;
}
.photo-stage .stage-controls {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  justify-content: space-between;
  display: flex;
}
.stage-controls .iconbtn {
  background: #151b15e6;
}
.stage-controls span {
  background: #151b15e6;
  border-radius: 5px;
  padding: 12px;
  font-size: 12px;
}
.thumb-strip {
  display: flex;
  gap: 8px;
  margin: 14px 0;
  overflow: auto;
  padding: 3px;
}
.thumb-strip button {
  background: none;
  padding: 0;
  border: 2px solid transparent;
  width: 65px;
  height: 55px;
  border-radius: 5px;
  flex: none;
  overflow: hidden;
}
.thumb-strip img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.thumb-strip .active {
  border-color: var(--gold);
}
.tag-chip {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  background: #323a29;
  border: 1px solid #596347;
  border-radius: 5px;
  padding: 8px 11px;
  color: #ebefd9;
  font-size: 12px;
}
.tag-chip button {
  border: 0;
  background: none;
  padding: 0;
  color: #d9dfcd;
  font-size: 17px;
  line-height: 1;
}
.tag-results {
  margin: 10px 0;
}
.tag-results button {
  background: none;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.tag-results button:hover {
  color: var(--gold);
}
.tag-results .avatar {
  width: 29px;
  height: 29px;
  font-size: 10px;
}
.upload-actions {
  margin-top: 26px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
.progress {
  height: 5px;
  background: #3a4235;
  border-radius: 5px;
  overflow: hidden;
  margin: 13px 0;
}
.progress > span {
  display: block;
  background: var(--gold);
  height: 100%;
}
.result-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.result-row img {
  width: 62px;
  height: 52px;
  object-fit: cover;
  border-radius: 5px;
}
.result-row strong {
  font-size: 13px;
  display: block;
  margin-bottom: 5px;
}
.result-row p {
  font-size: 12px;
  margin: 0;
}
.empty {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.empty .icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
  margin-bottom: 20px;
}
.empty p {
  max-width: 410px;
  margin: 0 auto 25px;
}
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #706448;
  color: var(--gold);
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 5px;
}
.profile-card {
  max-width: 460px;
  margin: 40px auto;
}
.profile-card .avatar {
  margin-bottom: 18px;
}
.profile-card h1 {
  font-size: 40px;
  margin-bottom: 8px;
}
.profile-actions {
  display: grid;
  gap: 10px;
  margin-top: 25px;
}
.phone-frame {
  max-width: 380px;
  background: #1b2830;
  border: 8px solid #3b423c;
  border-radius: 35px;
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 25px 60px #0004;
}
.phone-header {
  padding: 25px 20px 18px;
  background: #23333f;
  display: flex;
  align-items: center;
  gap: 12px;
}
.telegram-message {
  margin: 20px 16px;
  background: #2c414e;
  border-radius: 12px;
  overflow: hidden;
}
.telegram-message .message-body {
  padding: 18px;
  font-size: 12px;
  line-height: 1.8;
}
.telegram-message .message-body p {
  color: #deebed;
  font-size: 12px;
}
.telegram-message .message-body strong {
  color: white;
}
.telegram-message .photo-preview {
  height: 130px;
  background: #43513e;
  display: grid;
  place-items: center;
}
.telegram-message .photo-preview .avatar {
  height: 75px;
  width: 75px;
  font-size: 27px;
}
.telegram-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 2px;
}
.telegram-buttons button {
  min-height: 45px;
  border: 0;
  background: #3a5362;
  font-size: 12px;
  color: #d9eef5;
}
.phone-foot {
  padding: 20px;
  color: #b6c7cc;
  font-size: 10px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.sticky-actions {
  position: sticky;
  bottom: 12px;
  padding: 14px 18px;
  background: #343b2c;
  border: 1px solid #697252;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  z-index: 2;
}
.mobile-only {
  display: none;
}
dialog {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  width: min(94vw, 580px);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #050a05c9;
}
dialog .close {
  position: absolute;
  right: 15px;
  top: 15px;
}
dialog h2 {
  padding-right: 30px;
}
dialog.photo-dialog {
  width: min(95vw, 1120px);
}
.viewer-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 26px;
}
.viewer-layout .photo {
  aspect-ratio: 0.95;
  pointer-events: none;
}
.viewer-layout .photo .photo-bottom {
  display: none;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  background: #e5eadc;
  color: #20271c;
  border-radius: 8px;
  padding: 15px 23px;
  box-shadow: 0 6px 25px #0004;
  z-index: 100;
  font-size: 13px;
  max-width: 90vw;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.scenario-grid button {
  text-align: left;
  justify-content: start;
}
.state-label {
  font-size: 10px;
  color: var(--muted);
}
.meter {
  font-variant-numeric: tabular-nums;
}
.badge-preview {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #706448;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.badge-icon .icon {
  width: 25px;
  height: 25px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  line-height: 1.6;
}
.check-label input {
  width: 17px;
  height: 17px;
  flex: none;
}
.photo .watermark.strip {
  width: 100%;
  height: 35px;
  bottom: 0;
  top: auto;
  right: 0;
  object-fit: contain;
  background: #141a14bd;
  border-radius: 0;
}
.photo .watermark.repeated {
  width: 75px;
  height: 75px;
  right: 45%;
  top: 35%;
  opacity: 0.4;
}
.fade-in {
  animation: arrive 0.28s ease-out;
}
@keyframes arrive {
  from {
    opacity: 0.65;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (min-width: 1500px) {
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  .hero {
    min-height: 550px;
  }
}
@media (max-width: 1050px) {
  .admin-layout {
    grid-template-columns: 190px 1fr;
  }
  .admin-content {
    padding: 28px 25px;
  }
  .sidebar {
    padding: 24px 14px;
  }
  .admin-top {
    padding: 0 25px;
  }
  .wizard {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .wizard-steps {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .wizard-steps button {
    font-size: 11px;
  }
  .event-grid {
    gap: 18px;
  }
  .event-cover {
    height: 190px;
  }
  .hero-content {
    width: 80%;
  }
  .hero h1 {
    font-size: 62px;
  }
  .auth-form {
    padding: 45px 9%;
  }
  .two-column,
  .split {
    grid-template-columns: 1fr;
  }
  .admin-content .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .prototype-bar {
    padding: 7px 18px;
    font-size: 10px;
  }
  .prototype-bar .secondary-note {
    display: none;
  }
  .site-header {
    height: 78px;
    padding: 0 20px;
    gap: 12px;
  }
  .brand {
    gap: 10px;
  }
  .brand img {
    width: 44px;
    height: 44px;
  }
  .brand strong {
    font-size: 19px;
  }
  .brand small {
    font-size: 8px;
  }
  .nav {
    gap: 14px;
  }
  .nav .desktop-link {
    display: none;
  }
  .nav .btn {
    font-size: 11px;
    padding: 10px 12px;
  }
  .container {
    padding: 24px 20px 40px;
  }
  .page-title {
    margin-top: 12px;
  }
  .page-title h1 {
    font-size: 40px;
  }
  .hero {
    min-height: 535px;
    border-radius: 12px;
  }
  .hero > img {
    object-position: 63% center;
  }
  .hero:after {
    background: linear-gradient(0deg, #0d180ef5, rgba(13, 24, 14, 0.3) 85%);
  }
  .hero-content {
    width: 100%;
    padding: 28px 24px;
  }
  .hero h1 {
    font-size: 52px;
    max-width: 330px;
    margin: 20px 0;
  }
  .hero p {
    font-size: 13px;
    margin-bottom: 22px;
  }
  .hero-meta {
    gap: 10px;
    font-size: 11px;
  }
  .hero-bottom {
    display: none;
  }
  .section-head {
    margin-top: 30px;
    align-items: flex-start;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .section-head .btn {
    font-size: 11px;
    padding: 8px 10px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 29px;
  }
  .event-cover {
    height: 230px;
  }
  .event-card h3 {
    font-size: 28px;
    margin-top: 14px;
  }
  .event-card .meta {
    font-size: 12px;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .photo {
    aspect-ratio: 0.93;
  }
  .photo.tall {
    grid-row: auto;
    aspect-ratio: 0.93;
  }
  .photo .watermark {
    width: 31px;
    height: 31px;
    right: 8px;
    top: 8px;
  }
  .photo .photo-bottom {
    font-size: 9px;
    padding: 30px 9px 9px;
  }
  .gallery-filters {
    align-items: stretch;
    gap: 15px;
  }
  .gallery-filters .search {
    width: 100%;
    min-width: 0;
  }
  .tabs {
    gap: 25px;
    overflow: auto;
    margin: 22px 0;
  }
  .tabs button,
  .tabs a {
    font-size: 12px;
  }
  .panel {
    padding: 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .full {
    grid-column: auto;
  }
  .auth-layout {
    display: block;
    min-height: 0;
  }
  .auth-art {
    display: none;
  }
  .auth-form {
    padding: 40px 25px;
    max-width: 510px;
    margin: auto;
  }
  .auth-form h1 {
    font-size: 40px;
  }
  .footer {
    padding: 24px 20px;
    flex-wrap: wrap;
    line-height: 1.6;
  }
  .footer .row {
    flex-wrap: wrap;
    gap: 18px;
  }
  .success-screen {
    margin: 25px auto;
  }
  .success-screen h1 {
    font-size: 39px;
  }
  .admin-layout {
    display: block;
  }
  .sidebar {
    padding: 16px 20px;
    gap: 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand img {
    width: 40px;
    height: 40px;
  }
  .side-nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .side-nav a {
    white-space: nowrap;
    padding: 10px;
    font-size: 11px;
  }
  .side-nav a .icon {
    width: 15px;
  }
  .side-nav .count {
    display: none;
  }
  .sidebar .admin-ident {
    display: none;
  }
  .admin-top {
    height: 52px;
    padding: 0 20px;
    font-size: 10px;
  }
  .admin-content {
    padding: 26px 20px 45px;
  }
  .admin-content h1 {
    font-size: 40px;
  }
  .admin-content .page-title {
    gap: 10px;
    align-items: flex-start;
  }
  .admin-content .page-title .btn {
    padding: 10px;
    font-size: 11px;
  }
  .stats {
    margin: 23px 0;
    flex-wrap: wrap;
    row-gap: 20px;
  }
  .stat {
    padding: 0 14px;
  }
  .stat strong {
    font-size: 29px;
  }
  .stat span {
    font-size: 10px;
  }
  .wizard-steps {
    overflow: auto;
    justify-content: start;
    gap: 18px;
    padding-bottom: 8px;
  }
  .wizard-steps button {
    white-space: nowrap;
    gap: 7px;
  }
  .wizard-steps button span {
    width: 23px;
    height: 23px;
  }
  .wizard {
    gap: 20px;
  }
  .data-grid {
    gap: 20px 14px;
  }
  .upload-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .photo-stage {
    aspect-ratio: 1.1;
  }
  .upload-layout .panel {
    background: transparent;
    padding: 0;
  }
  .upload-shell .page-title h1 {
    font-size: 36px;
  }
  .upload-shell .page-title p {
    font-size: 12px;
  }
  .upload-actions .btn {
    flex: 1;
    padding: 12px 9px;
    font-size: 11px;
  }
  .sticky-actions {
    flex-wrap: wrap;
    gap: 10px;
    bottom: 8px;
  }
  .sticky-actions .btn {
    padding: 10px;
    font-size: 11px;
  }
  .viewer-layout {
    grid-template-columns: 1fr;
  }
  .viewer-layout .photo {
    aspect-ratio: 1.3;
  }
  .viewer-layout h2 {
    margin-top: 10px;
  }
  .two-column {
    gap: 20px;
  }
  dialog {
    padding: 25px 20px;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
  }
  .mobile-only {
    display: initial;
  }
  .desktop-only {
    display: none;
  }
  .check-label {
    font-size: 11px;
  }
  .row.between.mobile-stack {
    flex-direction: column;
    align-items: stretch;
  }
  .result-row {
    gap: 11px;
  }
  .result-row strong {
    font-size: 12px;
  }
  .result-row img {
    width: 48px;
    height: 44px;
  }
  .result-row .btn {
    padding: 8px;
    font-size: 10px;
  }
  .badge {
    font-size: 10px;
  }
  .search {
    min-width: 0;
  }
  .profile-card {
    margin: 15px auto;
  }
  .person-row {
    gap: 10px;
  }
  .person-row .btn {
    padding: 9px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@font-face {
  font-family: Inter;
  src: url("assets/inter-semibold.ttf") format("truetype");
  font-weight: 550 900;
  font-display: swap;
}
.search {
  display: block;
}
.upload-layout > div {
  min-width: 0;
}
.upload-layout .thumb-strip + .row {
  flex-wrap: wrap;
  gap: 10px;
}
.upload-layout .thumb-strip + .row > .row {
  margin-left: auto;
}
.search input:not([type="checkbox"]):not([type="radio"]) {
  padding-left: 40px;
}
.hero .status.green {
  color: #253b25;
  background: #e3eddb;
  border-color: transparent;
}
@media (max-width: 700px) {
  .prototype-bar {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .prototype-bar .mobile-disclosure {
    display: block;
    flex-basis: 100%;
    font-size: 9px;
    color: #c5cbbd;
    padding-top: 3px;
  }
}
.prototype-bar span.mobile-disclosure {
  display: none;
}
@media (max-width: 700px) {
  .prototype-bar span.mobile-disclosure {
    display: block;
  }
}
.watermark-pattern {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  pointer-events: none;
}
.watermark-pattern img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  opacity: 0.32;
}
.watermark-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #131813dd;
  padding: 8px 12px;
  font-size: 11px;
  color: #eee;
}
.watermark-strip img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.photo:has(.watermark-strip) .photo-bottom {
  display: none;
}
.prototype-bar button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.prototype-bar > span:last-child {
  display: flex;
  align-items: center;
}
.pending-tag {
  margin-top: 14px;
}
.photo:has(.watermark-pattern) .photo-bottom {
  background: linear-gradient(transparent, #111e);
}
.prototype-bar > span.mobile-disclosure.mobile-only {
  display: none;
}
@media (max-width: 700px) {
  .prototype-bar > span.mobile-disclosure.mobile-only {
    display: block;
  }
}

/* Connected application navigation. */
.nav > a {
  white-space: nowrap;
}
@media (max-width: 600px) {
  .site-header {
    gap: 12px;
  }
  .site-header .brand {
    gap: 8px;
  }
  .site-header .brand strong {
    font-size: 16px;
  }
  .site-header .brand small {
    display: none;
  }
  .nav {
    gap: 12px;
  }
  .nav .btn {
    padding: 10px 12px;
  }
}
