/* tmp/friday-export/friday_countdown/source/shared/theme/theme.css */
:root {
  color-scheme: dark;
  --la-bg: #111827;
  --la-panel: #1f2937;
  --la-text: #f9fafb;
  --la-muted: #9ca3af;
  --la-border: #374151;
  --la-accent: #38bdf8;
}
[data-theme=light] {
  color-scheme: light;
  --la-bg: #f9fafb;
  --la-panel: #ffffff;
  --la-text: #111827;
  --la-muted: #4b5563;
  --la-border: #d1d5db;
  --la-accent: #0369a1;
}

/* tmp/friday-export/friday_countdown/source/front/src/style.css */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--la-bg);
  color: var(--la-text);
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
main {
  max-width: 1000px;
  margin: auto;
  padding: 32px 24px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--la-muted);
}
.badge {
  border: 1px solid var(--la-border);
  padding: 9px 16px;
  border-radius: 30px;
  color: var(--la-accent);
}
section {
  text-align: center;
  padding: 48px 0 24px;
}
.spark {
  color: var(--la-accent);
  font-size: 42px;
}
h1 {
  font-size: clamp(26px, 5vw, 42px);
  margin: 16px 0;
}
p {
  color: var(--la-muted);
  line-height: 1.8;
  margin: 8px 0;
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 32px;
}
.tile {
  border: 1px solid var(--la-border);
  background: var(--la-panel);
  border-radius: 22px;
  padding: 28px 8px;
}
.tile strong {
  display: block;
  font-size: clamp(38px, 8vw, 84px);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
}
.tile span {
  display: block;
  color: var(--la-muted);
  font-size: 14px;
  margin-top: 8px;
}
.tile:last-child strong {
  color: var(--la-accent);
}
.target {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 16px;
}
.target span {
  color: var(--la-muted);
}
.clock {
  font-size: 13px;
  margin-top: 16px;
}
button {
  border: 1px solid var(--la-border);
  border-radius: 10px;
  background: var(--la-panel);
  color: var(--la-text);
  padding: 10px 18px;
  cursor: pointer;
}
button:disabled {
  opacity: .5;
}
button:focus-visible {
  outline: 2px solid var(--la-accent);
  outline-offset: 4px;
}
#status {
  font-size: 13px;
  overflow-wrap: anywhere;
}
#status:empty {
  display: none;
}
footer {
  border-top: 1px solid var(--la-border);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 12px;
}
@media (max-width: 520px) {
  main {
    padding: 20px 14px;
  }
  section {
    padding-top: 28px;
  }
  .countdown {
    gap: 8px;
    margin: 28px 0;
  }
  .tile {
    padding: 22px 4px;
    border-radius: 14px;
  }
  .tile strong {
    letter-spacing: -1px;
  }
  header {
    font-size: 11px;
  }
  .target {
    font-size: 14px;
  }
  h1 {
    font-size: 27px;
  }
}
:root,
[data-theme=dark],
[data-theme=light] {
  color-scheme: dark;
  --la-bg:#1c1e1e;
  --la-panel:#282b2b;
  --la-text:#ece7dc;
  --la-muted:#a9aaa2;
  --la-border:#4b504d;
  --la-accent:#f59949;
}
body {
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 78px,
      var(--la-border) 79px,
      transparent 80px);
  background-attachment: fixed;
}
main {
  max-width: 940px;
}
header {
  font-family: monospace;
}
.badge {
  border-radius: 2px;
  border: 1px dashed var(--la-accent);
  background: var(--la-panel);
  font-weight: 700;
}
section {
  margin-top: 26px;
  padding: 30px 28px 24px;
  background: var(--la-bg);
  border: 2px solid var(--la-border);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .2);
  position: relative;
}
section:before,
section:after {
  content: "";
  position: absolute;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--la-border);
}
section:before {
  left: 9px;
}
section:after {
  right: 9px;
}
.cell-window {
  width: 138px;
  height: 86px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: space-evenly;
  border: 9px solid var(--la-border);
  background:
    linear-gradient(
      160deg,
      #c1d9da,
      #687d7d 60%,
      #343d3b);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, .6);
}
.cell-window i {
  width: 8px;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #353c39,
      #9b9f98,
      #363b39);
  box-shadow: 4px 0 5px rgba(0, 0, 0, .25);
}
.inmate {
  display: inline-block;
  padding: 6px 20px;
  background: var(--la-accent);
  color: var(--la-bg);
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  transform: rotate(-2deg);
}
h1 {
  letter-spacing: 2px;
  font-weight: 900;
}
.countdown {
  gap: 12px;
  margin: 30px 0;
}
.tile {
  border-radius: 3px;
  border: 2px solid var(--la-border);
  padding: 22px 6px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 7px,
      rgba(0, 0, 0, .08) 8px),
    var(--la-panel);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .15);
}
.tile strong {
  font-family:
    ui-monospace,
    Consolas,
    monospace;
  font-weight: 800;
}
.tile span {
  letter-spacing: 3px;
}
.sentence {
  max-width: 580px;
  margin: 0 auto 28px;
  text-align: left;
}
.sentence-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--la-muted);
  margin-bottom: 10px;
}
.sentence-label b {
  color: var(--la-accent);
  font-family: monospace;
}
.progress-track {
  height: 13px;
  border: 1px solid var(--la-border);
  padding: 2px;
  background: var(--la-panel);
}
#progress-fill {
  width: 0;
  height: 100%;
  background:
    repeating-linear-gradient(
      135deg,
      var(--la-accent) 0,
      var(--la-accent) 8px,
      transparent 8px,
      transparent 11px);
}
.sentence p {
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  margin-top: 16px;
}
button {
  border-radius: 2px;
  border-style: dashed;
}
footer {
  border-top-style: dashed;
}
@media (max-width: 520px) {
  main {
    padding: 16px 12px;
  }
  section {
    padding: 24px 12px 18px;
    margin-top: 20px;
  }
  .countdown {
    gap: 6px;
  }
  .tile {
    padding: 18px 2px;
  }
  .tile strong {
    font-size: clamp(28px, 9vw, 46px);
  }
  .tile span {
    font-size: 11px;
  }
  .inmate {
    letter-spacing: 2px;
  }
  h1 {
    font-size: 25px;
  }
  .target b {
    font-size: 13px;
  }
}
.release-actions {
  margin: 24px 0;
}
#release {
  background: var(--la-accent);
  color: var(--la-bg);
  border: 2px solid var(--la-accent);
  padding: 14px 42px;
  font-size: 20px;
  font-weight: 800;
  min-height: 48px;
}
.cell-window {
  overflow: hidden;
}
.cell-window i {
  transition: transform .6s ease, opacity .6s ease;
}
.released .cell-window i {
  transform: translateY(-110%);
  opacity: 0;
}
.released .countdown,
.released .sentence,
.released .target {
  display: none;
}
.released h1 {
  color: var(--la-accent);
}
#release-message {
  max-width: 520px;
  margin: 18px auto;
}
@media (prefers-reduced-motion: reduce) {
  .cell-window i {
    transition: none;
  }
}
#yard {
  margin: 10px;
  padding: 14px 32px;
  font-size: 20px;
  min-height: 48px;
  border-color: var(--la-accent);
}
button:disabled {
  cursor: not-allowed;
}
#availability {
  font-size: 13px;
}
section {
  isolation: isolate;
  overflow: hidden;
  --sun-strength:0;
  --sun-angle:0deg;
  --sun-hue:40;
}
.sunbeam {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: 88px;
  left: calc(50% - 68px);
  width: 320px;
  height: 85%;
  transform-origin: 68px 0;
  transform: rotate(var(--sun-angle));
  opacity: var(--sun-strength);
  background:
    linear-gradient(
      180deg,
      hsla(var(--sun-hue), 100%, 76%, .46),
      hsla(var(--sun-hue), 100%, 68%, .13) 65%,
      transparent);
  clip-path: polygon(0 0, 42% 0, 100% 100%, 0 100%);
  mask-image:
    repeating-linear-gradient(
      90deg,
      #000 0 21px,
      transparent 21px 31px);
  filter: blur(2px);
  transition: opacity 3s, transform 3s;
}
section {
  background-image:
    radial-gradient(
      ellipse at 50% 105px,
      hsla(var(--sun-hue), 90%, 68%, calc(var(--sun-strength)*.17)),
      transparent 70%);
}
.cell-window {
  position: relative;
  background:
    linear-gradient(
      180deg,
      #0e192c,
      #35445b);
  transition: background 3s;
  box-shadow: 0 0 26px hsla(var(--sun-hue), 100%, 70%, calc(var(--sun-strength)*.6)), inset 0 0 15px rgba(0, 0, 0, .5);
}
.cell-window:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      hsl(var(--sun-hue), 85%, 77%),
      #c0ddeb);
  opacity: var(--sun-strength);
}
.cell-window i {
  position: relative;
  z-index: 1;
}
.sun-info {
  font-size: 12px;
  margin: 0 0 18px;
}
.released .sunbeam {
  mask-image: none;
}
@media (max-width: 520px) {
  .sunbeam {
    top: 82px;
    width: 230px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sunbeam,
  .cell-window {
    transition: none;
  }
}
:root,
[data-theme=dark],
[data-theme=light] {
  --la-bg:#111416;
  --la-panel:#1d2225;
  --la-text:#f1eee7;
  --la-muted:#a2a9ab;
  --la-border:#353d40;
  --la-accent:#ffac61;
}
body {
  min-height: 100vh;
  background-image:
    radial-gradient(
      ellipse at 50% 0,
      rgba(111, 127, 133, .14),
      transparent 65%),
    repeating-linear-gradient(
      0deg,
      transparent 0 119px,
      rgba(255, 255, 255, .018) 120px);
}
main {
  max-width: 960px;
  padding: 28px 28px 36px;
}
header {
  letter-spacing: 1px;
  color: var(--la-muted);
}
.badge {
  padding: 8px 13px;
  border: 1px solid var(--la-border);
  background: var(--la-panel);
  border-radius: 5px;
  font-size: 12px;
}
section {
  margin-top: 20px;
  padding: 38px 42px 24px;
  border: 1px solid var(--la-border);
  border-radius: 16px;
  background-color: var(--la-bg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .4), inset 0 1px rgba(255, 255, 255, .05);
}
section:before,
section:after {
  top: 14px;
  width: 6px;
  height: 6px;
  background:
    linear-gradient(
      135deg,
      #788083,
      #22282b);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
section:before {
  left: 14px;
}
section:after {
  right: 14px;
}
.cell-window {
  width: 158px;
  height: 96px;
  border: 10px solid #343b3e;
  border-radius: 5px;
  margin-bottom: 16px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, .6),
    0 0 40px hsla(var(--sun-hue), 100%, 70%, calc(var(--sun-strength)*.28)),
    inset 0 0 18px rgba(0, 0, 0, .6);
}
.cell-window i {
  width: 9px;
  background:
    linear-gradient(
      90deg,
      #20272a,
      #697477 45%,
      #30393c 75%);
}
.sunbeam {
  top: 115px;
  left: calc(50% - 74px);
  width: 370px;
  filter: blur(3px);
}
.sun-info {
  font-size: 11px;
  letter-spacing: .5px;
  margin-bottom: 24px;
  color: var(--la-muted);
}
.inmate {
  padding: 6px 16px;
  border-radius: 3px;
  font-size: 11px;
  letter-spacing: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
  transform: rotate(-1.5deg);
}
h1 {
  font-size: clamp(25px, 4vw, 36px);
  letter-spacing: 2px;
  margin: 19px 0 9px;
  line-height: 1.4;
}
h1 + p {
  font-size: 13px;
  letter-spacing: 2px;
}
.countdown {
  gap: 14px;
  margin: 30px 0 26px;
}
.tile {
  position: relative;
  padding: 23px 6px 18px;
  border: 1px solid var(--la-border);
  border-radius: 10px;
  background:
    linear-gradient(
      180deg,
      #252b2e,
      #191e21);
  box-shadow: inset 0 1px rgba(255, 255, 255, .06), 0 5px 12px rgba(0, 0, 0, .18);
}
.tile:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 1px;
  background: rgba(0, 0, 0, .22);
  pointer-events: none;
}
.tile strong {
  position: relative;
  z-index: 1;
  font-size: clamp(38px, 7.6vw, 78px);
  letter-spacing: -3px;
  line-height: 1.1;
  text-shadow: 0 3px 2px rgba(0, 0, 0, .3);
}
.tile span {
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 13px;
}
.tile:last-child {
  border-color: #6a4c34;
}
.tile:last-child strong {
  color: var(--la-accent);
}
.sentence {
  max-width: 100%;
  margin-bottom: 25px;
}
.sentence-label {
  font-size: 12px;
  margin-bottom: 11px;
}
.sentence-label b {
  font-size: 15px;
}
.progress-track {
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #2a3135;
  overflow: hidden;
}
#progress-fill {
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      #b66c39,
      var(--la-accent));
  box-shadow: 0 0 12px rgba(255, 172, 97, .22);
  transition: width .5s linear;
}
.sentence p {
  font-size: 12px;
  margin-top: 17px;
  color: var(--la-muted);
}
.target {
  font-size: 13px;
  gap: 9px;
}
.target b {
  font-weight: 500;
  color: var(--la-text);
}
.clock {
  font-size: 11px;
  opacity: .8;
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.release-actions {
  margin: 26px 0 20px;
  padding-top: 24px;
  border-top: 1px solid var(--la-border);
}
button {
  border-radius: 7px;
  border-style: solid;
  transition:
    background .2s,
    transform .2s,
    box-shadow .2s;
}
#release,
#yard {
  font-size: 16px;
  padding: 12px 32px;
  margin: 0 5px;
  min-height: 48px;
  letter-spacing: 2px;
}
#release {
  border: 1px solid var(--la-accent);
  background:
    linear-gradient(
      180deg,
      #ffc18b,
      #f39a50);
  color: #21170f;
  box-shadow: 0 4px 14px rgba(245, 153, 73, .15);
}
#yard {
  border: 1px solid #866143;
  background: rgba(255, 172, 97, .06);
  color: var(--la-accent);
}
button:enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(255, 172, 97, .17);
}
button:enabled:active {
  transform: translateY(0);
}
#release:disabled,
#yard:disabled {
  opacity: 1;
  color: #8b9397;
  background: #23292c;
  border-color: #3b4448;
  box-shadow: none;
}
#availability {
  font-size: 11px;
  margin-top: 14px;
  line-height: 1.9;
}
#retry {
  padding: 7px 15px;
  font-size: 11px;
  color: var(--la-muted);
  background: transparent;
}
footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--la-border);
  text-align: left;
}
footer p {
  font-size: 11px;
  line-height: 1.8;
  color: #90999d;
}
.released section {
  border-color: #846044;
}
.released .cell-window {
  box-shadow: 0 0 50px rgba(255, 172, 97, .2);
}
.released #release-message {
  padding: 18px;
  border: 1px solid #705137;
  border-radius: 9px;
  background: rgba(255, 172, 97, .05);
}
@media (max-width: 520px) {
  main {
    padding: 16px 12px 24px;
  }
  header {
    font-size: 10px;
    letter-spacing: 0;
  }
  .badge {
    font-size: 10px;
    padding: 7px 9px;
  }
  section {
    padding: 28px 16px 20px;
    border-radius: 12px;
    margin-top: 16px;
  }
  .cell-window {
    width: 138px;
    height: 86px;
  }
  .sunbeam {
    top: 102px;
    width: 270px;
  }
  .sun-info {
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.8;
    margin-bottom: 19px;
  }
  h1 {
    font-size: 24px;
    letter-spacing: 1px;
  }
  .countdown {
    gap: 7px;
    margin: 25px 0;
  }
  .tile {
    padding: 19px 3px 15px;
    border-radius: 7px;
  }
  .tile strong {
    font-size: clamp(29px, 9vw, 46px);
    letter-spacing: -2px;
  }
  .tile span {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .target {
    font-size: 11px;
  }
  .target b {
    font-size: 12px;
  }
  #release,
  #yard {
    padding: 12px 20px;
    font-size: 15px;
    margin: 0 3px;
  }
  footer {
    margin-top: 20px;
  }
  .release-actions {
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
.community {
  margin: 24px auto 0;
  padding: 28px;
  border: 1px solid #41444b;
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      #23262d,
      #12151a);
  color: #d9dce3;
  text-align: left;
  max-width: 850px;
  box-shadow: 0 20px 65px #0005;
}
.community-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.community h2 {
  font-size: 26px;
  margin: 12px 0;
}
.community p,
.community small {
  color: #aab1bd;
  line-height: 1.7;
}
.identity {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 18px 0;
}
.identity label {
  display: grid;
  gap: 6px;
  flex: 1;
}
.identity input,
.identity select {
  box-sizing: border-box;
  background: #15181e;
  color: #f1e9df;
  border: 1px solid #505663;
  padding: 11px;
  border-radius: 9px;
  font: inherit;
  max-width: 100%;
  width: 100%;
}
.identity select {
  width: auto;
}
#lounge {
  height: 360px;
  position: relative;
  overflow: hidden;
  border: 2px solid #54535a;
  border-radius: 14px;
  background:
    linear-gradient(
      #30343d 0 22%,
      #57545a 22% 24%,
      transparent 24%),
    repeating-linear-gradient(
      0deg,
      #27292e 0 39px,
      #37393e 40px 41px);
  outline-offset: 4px;
  touch-action: manipulation;
  box-shadow: inset 0 0 70px #0008;
}
.room-window {
  position: absolute;
  top: 14px;
  left: 40%;
  width: 20%;
  height: 52px;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 18px,
      #101319 19px 24px),
    linear-gradient(
      150deg,
      #d9a46088,
      #293b55);
  border: 5px solid #15181f;
  box-shadow: 12px 30px 45px #edbb6b22;
}
.room-bench {
  position: absolute;
  bottom: 10%;
  left: 8%;
  width: 23%;
  height: 18px;
  background: #735c45;
  border: 4px solid #191b20;
  transform: skewX(-12deg);
  pointer-events: none;
}
.room-table {
  position: absolute;
  right: 9%;
  top: 45%;
  width: 70px;
  height: 45px;
  border-radius: 50%;
  background: #545c69;
  border: 6px solid #20242c;
  pointer-events: none;
}
.avatar {
  position: absolute !important;
  width: 48px;
  height: 70px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translate(-50%, -70%);
  transition: left .65s linear, top .65s linear;
  overflow: visible;
  min-width: 0 !important;
  cursor: pointer;
}
.head {
  position: absolute;
  width: 23px;
  height: 23px;
  border-radius: 45%;
  background: #e4b28e;
  top: 0;
  left: 13px;
  border-top: 6px solid #24232c;
  box-sizing: border-box;
}
.body {
  position: absolute;
  top: 23px;
  left: 9px;
  width: 31px;
  height: 27px;
  border-radius: 9px 9px 4px 4px;
  background: repeating-linear-gradient(#d68c48 0 6px, #844c2b 7px 9px);
}
[data-color=blue] .body {
  filter: hue-rotate(170deg);
}
[data-color=green] .body {
  filter: hue-rotate(65deg);
}
[data-color=purple] .body {
  filter: hue-rotate(240deg);
}
.legs {
  position: absolute;
  left: 14px;
  top: 49px;
  width: 21px;
  height: 14px;
  border-left: 7px solid #101319;
  border-right: 7px solid #101319;
  box-sizing: border-box;
}
.name {
  position: absolute;
  top: 66px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 11px;
  color: #faf0e2;
  background: #111c;
  padding: 2px 6px;
  border-radius: 4px;
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.speech {
  position: absolute;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: #f0e4d4;
  color: #29232a;
  font-size: 12px;
  border-radius: 12px;
  padding: 7px 10px;
  z-index: 5;
}
.speech:empty {
  display: none;
}
.emotes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.emotes button {
  font-size: 13px;
  padding: 9px 12px;
  background: #35303a;
  color: #eee2d7;
  border: 1px solid #6d5960;
  border-radius: 20px;
  cursor: pointer;
}
@media (max-width: 600px) {
  .community {
    padding: 17px;
    margin-top: 16px;
  }
  .community h2 {
    font-size: 22px;
  }
  .community-heading b {
    font-size: 12px;
  }
  #lounge {
    height: 320px;
  }
  .identity {
    flex-wrap: wrap;
  }
  .identity label {
    min-width: 160px;
  }
  .emotes button {
    flex: 1 0 42%;
  }
}
