/* Liberty City Online: the git site's look, matching The Hub (dark panels, orange #ff9a2e). Built on Forgejo's own dark theme. */
@import url("./theme-forgejo-dark.css");

gitea-theme-meta-info {
  --theme-display-name: "Liberty City Online";
}

:root {
  --is-dark-theme: true;
  --color-primary: #ff9a2e;
  --color-primary-contrast: #141517;
  --color-primary-dark-1: #ffa745;
  --color-primary-dark-2: #ffb35e;
  --color-primary-dark-3: #ffc078;
  --color-primary-dark-4: #ffcd92;
  --color-primary-dark-5: #ffdaab;
  --color-primary-dark-6: #ffe6c5;
  --color-primary-dark-7: #fff3e0;
  --color-primary-light-1: #e88a25;
  --color-primary-light-2: #cf7a1f;
  --color-primary-light-3: #b56a1a;
  --color-primary-light-4: #995915;
  --color-primary-light-5: #7c4811;
  --color-primary-light-6: #5a3412;
  --color-primary-light-7: #3a2410;
  --color-primary-alpha-10: #ff9a2e19;
  --color-primary-alpha-20: #ff9a2e33;
  --color-primary-alpha-30: #ff9a2e4b;
  --color-primary-alpha-40: #ff9a2e66;
  --color-primary-alpha-50: #ff9a2e80;
  --color-primary-alpha-60: #ff9a2e99;
  --color-primary-alpha-70: #ff9a2eb3;
  --color-primary-alpha-80: #ff9a2ecc;
  --color-primary-alpha-90: #ff9a2ee1;
  --color-primary-hover: var(--color-primary-dark-1);
  --color-primary-active: var(--color-primary-dark-2);

  --color-body: #141517;
  --color-box-body: #17181a;
  --color-box-body-highlight: #1d1e21;
  --color-box-header: #1a1b1d;
  --color-nav-bg: #0f1011;
  --color-nav-hover-bg: #232427;
  --color-secondary-nav-bg: #141517;
  --color-header-wrapper: #141517;
  --color-footer: #0f1011;
  --color-menu: #17181a;
  --color-card: #17181a;
  --color-input-background: #1a1b1d;
  --color-input-toggle-background: #232427;
  --color-hover: #ff9a2e14;
  --color-active: #ff9a2e22;
  --color-accent: #ff9a2e;
  --color-small-accent: #ff9a2e33;
  --color-active-line: #3a2410;
  --color-markup-code-block: #1a1b1d;
  --color-markup-code-inline: #232427;
  --color-reaction-bg: #232427;
  --color-reaction-active-bg: #3a2410;
  --color-secondary: #2a2b2e;
  --color-secondary-alpha-50: #2a2b2e80;
  --color-light-border: #2a2b2e;
  --color-text: #e9e9ea;
  --color-text-light: #c9c9cc;
  --color-text-light-1: #b4b4b8;
  --color-text-light-2: #9a9aa0;
  --color-text-light-3: #85858b;
}

/* Headings in the game's heavy look, the rest stays readable. */
h1, h2, h3, .ui.header { letter-spacing: .01em; }
#navbar { border-bottom: 1px solid #ff9a2e4b; }
#navbar .navbar-left > .item:first-child img { border-radius: 6px; }

/* The splash (templates/custom/*.tmpl + assets/js/lco-intro.js): a terminal over the page, then a fade into the site. */
.lco-splash-layer { display: none; }
html.lco-splash body { overflow: hidden; }
html.lco-splash .lco-splash-layer, .lco-splash-layer.lco-out { display: block; }
body > *:not(.lco-splash-layer) { transition: opacity .9s ease; }
html.lco-splash body > *:not(.lco-splash-layer) { opacity: 0; }
.lco-splash-layer { position: fixed; inset: 0; z-index: 10000; overflow: auto; background: #0c0d0e; cursor: pointer; transition: opacity .9s ease; }
.lco-splash-layer.lco-out { opacity: 0; pointer-events: none; }
.lco-stage { position: relative; min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4vh 12px 0; overflow: hidden; background: radial-gradient(120% 55% at 50% 100%, rgba(255,154,46,.14), transparent 60%); }
.lco-term { position: relative; z-index: 1; width: min(900px, 100%); border: 1px solid #2a2b2e; border-radius: 12px;
  background: #121315; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px #000; overflow: hidden; cursor: default;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; font-size: 14px; line-height: 1.55; color: #d8d8da; text-align: left; }
.lco-term .lt-bar { padding: 9px 0; text-align: center; font-size: 11px; letter-spacing: .18em; color: #cfcfd2; background: #17181a; border-bottom: 1px solid #222326; }
.lco-term .lt-body { padding: 18px 22px 22px; min-height: 70vh; }
.lco-term .lt-line { white-space: pre-wrap; min-height: 1.55em; }
.lco-term .lt-gap { min-height: .9em; }
.lco-term .lt-cmd { margin: 6px 0; }
.lco-term .lt-ps { color: var(--color-primary); font-weight: 700; }
.lco-term .lt-head { margin-top: 2px; color: #e9e9ea; }
.lco-term .lt-dim { color: #808086; }
.lco-term .lt-hl { color: var(--color-primary); font-weight: 700; }
.lco-term .lt-ok { color: var(--color-primary); }
.lco-term .lt-live { color: #ffb35e; }
.lco-term .lt-link { color: #ffb35e; text-decoration: none; border-bottom: 1px dotted #ff9a2e66; }
.lco-term .lt-link:hover { color: #fff; border-bottom-color: var(--color-primary); }
.lco-term .lt-caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -2px; background: #e9e9ea; animation: lt-blink 1s steps(1) infinite; }
@keyframes lt-blink { 50% { opacity: 0; } }
.lco-term .lt-art { margin: 10px 0 14px; font: inherit; font-size: 7.5px; line-height: 1.12; letter-spacing: 0; background: none; border: 0; padding: 0; white-space: pre; font-weight: 700; }
.lco-term .lt-artrow { height: 1.12em; }
.lco-term .lt-art .a1 { color: #6b3d12; } .lco-term .lt-art .a2 { color: #a8601c; } .lco-term .lt-art .a3 { color: #e88a25; }
.lco-term .lt-art .a4 { color: #ffc078; } .lco-term .lt-art .hot { color: #fff3e0 !important; text-shadow: 0 0 6px #ff9a2e; }
.lco-skip { position: fixed; z-index: 2; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 700 12px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: #ffb35e; background: #1a120a; border: 1px solid #ff9a2e44; }
.lco-skip:hover { color: #fff; border-color: var(--color-primary); }
.lco-skip[hidden] { display: none; }
.lco-term .lt-gate { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; }
.lco-term .lt-gate-title { font-weight: 700; font-size: clamp(15px, 3.2vw, 22px); letter-spacing: .22em; color: var(--color-primary);
  animation: lt-pulse 1.6s ease-in-out infinite; text-shadow: 0 0 18px rgba(255,154,46,.45); }
.lco-term .lt-gate-sub { margin-top: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #6d6d73; }
@keyframes lt-pulse { 50% { opacity: .45; } }
.lco-glow { width: 100%; margin: 8px 0 0; padding: 0; text-align: center; overflow: hidden; white-space: pre; background: none; border: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; line-height: 1; color: #ff9a2e; opacity: .5;
  -webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%); }
@media (max-width: 640px) {
  .lco-stage { justify-content: flex-start; padding-top: 2vh; }
  .lco-term { font-size: 11.5px; }
  .lco-term .lt-body { padding: 14px 10px 16px; }
  .lco-term .lt-art { font-size: 5.6px; }
  .lco-term .lt-note { display: none; }
}
