/* Existing Igroteka visual styles, restored into editable source. */

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/8a480f0b521d4e75-s.p.1qq4vpdcun5oj.woff2) format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2) format("woff2");
  unicode-range:
    U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geist Fallback;
  src: local(Arial);
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0%;
  size-adjust: 104.76%;
}
.geist_618e9938-module__hjzkMa__className {
  font-family:
    Geist,
    Geist Fallback;
  font-style: normal;
}
.geist_618e9938-module__hjzkMa__variable {
  --font-geist: "Geist", "Geist Fallback";
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/4fa387ec64143e14-s.p.2tuy5pz7dlieh.woff2) format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/fonts/797e433ab948586e-s.p.0r6juujl39pe6.woff2) format("woff2");
  unicode-range:
    U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Geist Mono Fallback;
  src: local(Arial);
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0%;
  size-adjust: 134.59%;
}
.geist_mono_5fd6c9bf-module__mUfs1G__className {
  font-family:
    Geist Mono,
    Geist Mono Fallback;
  font-style: normal;
}
.geist_mono_5fd6c9bf-module__mUfs1G__variable {
  --font-geist-mono: "Geist Mono", "Geist Mono Fallback";
}
:root {
  --ink: #262230;
  --muted: #625c6b;
  --line: #ded8e5;
  --paper: #f8f4fb;
  --card: #fffefd;
  --orange: #ff6743;
  --orange-dark: #df4c2b;
  --purple: #7258dc;
  --purple-dark: #4b369d;
  --green: #2c9b72;
  --yellow: #f5ca58;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-geist), Arial, sans-serif;
  text-rendering: optimizelegibility;
  background-image:
    radial-gradient(circle at 5% 22%, #7258dc14, #0000 23%),
    radial-gradient(circle at 94% 68%, #ff674312, #0000 24%);
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
button,
a,
input,
select,
textarea {
  transition:
    border-color 0.18s,
    background-color 0.18s,
    color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #7258dc47;
}
.shell {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.topbar {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  z-index: 20;
  background: #fffefde0;
  border-bottom: 1px solid #4a39621f;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 70px;
  padding: 0 max(24px, 50vw - 590px);
  display: grid;
  position: sticky;
  top: 0;
}
.brand {
  color: var(--ink);
  letter-spacing: -0.5px;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 750;
  text-decoration: none;
  display: flex;
}
.brand-mark {
  color: #fff;
  background: var(--purple);
  border-radius: 11px 14px 10px 13px;
  place-items: center;
  width: 36px;
  height: 36px;
  display: grid;
  transform: rotate(-4deg);
  box-shadow: 0 6px 14px #553cb440;
}
.topnav {
  border: 1px solid var(--line);
  background: #f8f4fbcc;
  border-radius: 99px;
  align-items: center;
  gap: 2px;
  height: 38px;
  padding: 4px;
  display: flex;
}
.topnav a {
  color: var(--muted);
  border-radius: 99px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}
.topnav a:hover {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 2px 8px #32264614;
}
.status {
  color: var(--muted);
  justify-self: end;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}
.status span {
  background: #3aaa73;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px #d8eee2;
}
.hero {
  color: #fff;
  background-color: #272230;
  background-image:
    radial-gradient(circle at 18% 10%, #7e5eeb61, #0000 28%),
    radial-gradient(circle at 88% 78%, #ff674340, #0000 31%),
    radial-gradient(#ffffff21 1px, #0000 1px);
  background-position: 0 0;
  background-repeat: repeat;
  background-size:
    auto,
    auto,
    21px 21px;
  background-attachment: scroll;
  background-origin: padding-box;
  background-clip: border-box;
  padding: 76px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero:after {
  content: "";
  background: var(--paper);
  border-radius: 50% 50% 0 0;
  height: 70px;
  position: absolute;
  bottom: -42px;
  left: -3%;
  right: -3%;
}
.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 70px;
  display: grid;
}
.hero-copy {
  z-index: 1;
  position: relative;
}
.eyebrow {
  gap: 8px;
  margin-bottom: 24px;
  display: flex;
}
.eyebrow span {
  color: #e7defd;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #ffffff14;
  border: 1px solid #ffffff30;
  border-radius: 99px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
}
.hero h1 {
  letter-spacing: -0.06em;
  max-width: 680px;
  margin: 0;
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 760;
  line-height: 0.98;
}
.hero h1 em {
  color: var(--yellow);
  letter-spacing: -0.045em;
  font-family: Georgia, serif;
  font-weight: 500;
}
.hero p {
  color: #c9c1d1;
  max-width: 590px;
  margin: 25px 0 0;
  font-size: 17px;
  line-height: 1.55;
}
.hero-actions {
  align-items: center;
  gap: 10px;
  margin-top: 29px;
  display: flex;
}
.hero-actions a {
  color: #fff;
  border: 1px solid #fff3;
  border-radius: 11px;
  align-items: center;
  gap: 15px;
  height: 45px;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
}
.hero-actions a:first-child {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 10px 24px #ff674345;
}
.hero-actions a:first-child:hover {
  background: #ff795b;
  transform: translateY(-2px);
}
.hero-actions a:last-child:hover {
  background: #ffffff17;
}
.hero-actions span {
  font-size: 18px;
  font-weight: 400;
}
.hero-visual {
  place-items: center;
  min-height: 350px;
  display: grid;
  position: relative;
}
.hero-board {
  background: #fffdfb;
  border: 1px solid #ffffff2e;
  border-radius: 21px;
  width: min(100%, 470px);
  padding: 14px;
  transform: rotate(2deg);
  box-shadow: 0 28px 70px #0a06115c;
}
.board-top {
  color: #8b8490;
  align-items: center;
  gap: 6px;
  height: 37px;
  padding: 0 7px;
  display: flex;
}
.board-top > span {
  background: #ff7960;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.board-top > span:nth-child(2) {
  background: #f1c550;
}
.board-top > span:nth-child(3) {
  background: #45b989;
}
.board-top b {
  font: 9px var(--font-geist-mono);
  margin-left: auto;
}
.board-cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  display: grid;
}
.board-card {
  color: #fff;
  border-radius: 14px;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: 150px;
  padding: 12px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.board-card:after {
  content: "";
  border: 1px solid #ffffff40;
  border-radius: 50%;
  width: 74px;
  height: 74px;
  position: absolute;
  top: -25px;
  right: -29px;
}
.board-card small {
  font: 9px var(--font-geist-mono);
  opacity: 0.75;
}
.board-card strong {
  font: 700 27px var(--font-geist-mono);
}
.board-card svg {
  width: 31px;
  height: 31px;
}
.board-card span {
  font-size: 11px;
  font-weight: 700;
}
.card-code {
  background: var(--orange);
  transform: rotate(-2deg);
}
.card-magic {
  background: var(--purple);
  transform: translateY(7px);
}
.card-play {
  background: var(--green);
  transform: rotate(2deg);
}
.board-caption {
  color: var(--ink);
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 8px;
  margin-top: 15px;
  padding: 12px 10px 4px;
  display: grid;
}
.board-caption svg {
  color: var(--purple);
  grid-row: span 2;
}
.board-caption strong {
  font-size: 12px;
}
.board-caption span {
  color: var(--muted);
  font-size: 9px;
}
.hero-sticker {
  z-index: 2;
  color: #28222f;
  place-items: center;
  font-family: Georgia, serif;
  font-weight: 800;
  display: grid;
  position: absolute;
  box-shadow: 0 9px 20px #0a061140;
}
.sticker-a {
  background: var(--yellow);
  border-radius: 18px 21px 16px 23px;
  width: 69px;
  height: 69px;
  font-size: 25px;
  bottom: 20px;
  left: -14px;
  transform: rotate(-13deg);
}
.sticker-star {
  color: #fff;
  background: #ff8367;
  border-radius: 50%;
  width: 47px;
  height: 47px;
  font-size: 24px;
  top: 5px;
  right: -5px;
  transform: rotate(11deg);
}
.workspace {
  z-index: 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  grid-template-columns: 1fr 1fr;
  margin-top: -28px;
  scroll-margin-top: 90px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px #38284c1f;
}
.editor-panel,
.preview-panel {
  min-width: 0;
  padding: 30px;
}
.preview-panel {
  border-left: 1px solid var(--line);
  background: #f0ebf8 radial-gradient(#7258dc1f 1px, #0000 1px) 0 0/17px 17px;
}
.panel-heading,
.library-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  display: flex;
}
.panel-heading > div,
.library-heading > div {
  align-items: center;
  gap: 10px;
  display: flex;
}
.panel-heading h2,
.library-heading h2 {
  letter-spacing: -0.02em;
  margin: 0;
  font-size: 17px;
}
.step {
  font-family: var(--font-geist-mono);
  color: var(--purple-dark);
  background: #f0ebff;
  border: 1px solid #d8cdf8;
  border-radius: 6px;
  padding: 4px 6px;
  font-size: 10px;
  font-weight: 700;
}
.text-button,
.example-button {
  cursor: pointer;
  color: var(--muted);
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: flex;
}
.text-button:hover,
.example-button:hover {
  color: var(--orange);
}
.clear-editor-button {
  color: #655d6e;
  cursor: pointer;
  background: #faf8fc;
  border: 1px solid #ddd5e5;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 680;
  display: flex;
}
.clear-editor-button:hover {
  color: #b4422e;
  background: #fff2ef;
  border-color: #e4a89b;
}
.field-label {
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 650;
  display: block;
}
.title-input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  outline: none;
  width: 100%;
  margin-bottom: 23px;
  padding: 13px 14px;
}
.title-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #fbe0d5;
}
.folder-select {
  border: 1px solid var(--line);
  width: 100%;
  color: var(--ink);
  background: #fff;
  border-radius: 10px;
  outline: none;
  margin-bottom: 23px;
  padding: 12px 14px;
}
.folder-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px #fbe0d5;
}
.folder-field-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}
.folder-field-heading > button {
  color: var(--purple-dark);
  cursor: pointer;
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 5px;
  margin: -5px 0 5px;
  padding: 5px 0;
  font-size: 11px;
  font-weight: 720;
  display: flex;
}
.folder-field-heading > button:hover {
  color: var(--orange-dark);
}
.quick-folder-wrap {
  margin: -13px 0 22px;
}
.quick-folder-form {
  color: var(--purple);
  background: #f6f2ff;
  border: 1px solid #d5caee;
  border-radius: 11px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  padding: 9px;
  animation: 0.18s ease-out quick-folder-in;
  display: grid;
}
.quick-folder-form input {
  min-width: 0;
  color: var(--ink);
  background: 0 0;
  border: 0;
  outline: 0;
  font-size: 12px;
}
.quick-folder-form > button {
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 720;
  display: flex;
}
.quick-folder-form > button:disabled {
  opacity: 0.48;
  cursor: default;
}
.quick-folder-form .quick-folder-close {
  color: #6f6678;
  background: #e7e0f4;
  width: 31px;
  padding: 0;
}
.quick-folder-error {
  color: #a4362b;
  margin: 6px 3px 0;
  font-size: 11px;
  font-weight: 620;
}
@keyframes quick-folder-in {
  0% {
    opacity: 0;
    transform: translateY(-5px);
  }
}
.code-label-row {
  justify-content: space-between;
  align-items: center;
  display: flex;
}
.code-tools {
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  display: flex;
}
.paste-button {
  color: var(--orange-dark);
  cursor: pointer;
  background: #fff1eb;
  border: 1px solid #f0bda8;
  border-radius: 7px;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 650;
  display: flex;
}
.paste-button:hover {
  background: #ffe4d9;
}
.code-box {
  background: #242321;
  border: 1px solid #3b3938;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff12;
}
.code-top {
  border-bottom: 1px solid #3c3a38;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  display: flex;
}
.code-top span {
  background: #ee6b5e;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.code-top span:nth-child(2) {
  background: #e7b84c;
}
.code-top span:nth-child(3) {
  background: #62bd72;
}
.code-top small {
  color: #8e8a85;
  font-family: var(--font-geist-mono);
  margin-left: auto;
  font-size: 10px;
}
.code-box textarea {
  resize: vertical;
  color: #e8e3dc;
  width: 100%;
  height: 316px;
  font:
    12px/1.65 var(--font-geist-mono),
    monospace;
  tab-size: 2;
  background: #242321;
  border: 0;
  outline: 0;
  padding: 16px;
  display: block;
}
.code-box textarea::placeholder {
  color: #77736d;
}
.publish-button {
  color: #fff;
  background: var(--orange);
  cursor: pointer;
  border: 0;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  height: 49px;
  margin-top: 18px;
  font-weight: 700;
  display: flex;
  box-shadow: 0 8px 18px #f0642c38;
}
.publish-button:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}
.publish-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.under-note,
.preview-note {
  text-align: center;
  color: #989088;
  margin: 10px 0 0;
  font-size: 11px;
}
.error-message {
  color: #a33228;
  background: #fff0ee;
  border: 1px solid #f1c8c4;
  border-radius: 9px;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 13px;
}
.live-dot {
  color: var(--green);
  font: 700 9px var(--font-geist-mono);
  letter-spacing: 0.12em;
  align-items: center;
  gap: 5px;
  display: flex;
}
.live-dot:before {
  content: "";
  background: #35a876;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}
.device-frame {
  background: #fff;
  border: 1px solid #cfc5dc;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 16px 38px #3d2c5929;
}
.browser-bar {
  color: #aaa39b;
  background: #f8f6f2;
  border-bottom: 1px solid #ddd8d2;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  height: 38px;
  padding: 0 10px;
  display: grid;
}
.browser-bar > div:first-child {
  gap: 5px;
  display: flex;
}
.browser-bar > div:first-child span {
  background: #d7d1ca;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}
.browser-bar > svg {
  margin-left: auto;
}
.address {
  color: #958e86;
  text-align: center;
  font: 9px var(--font-geist-mono);
  background: #ebe7e1;
  border-radius: 5px;
  padding: 4px;
}
.device-frame iframe {
  background: #fff;
  border: 0;
  width: 100%;
  height: 432px;
  display: block;
}
.success-card {
  background: #f1fbf5;
  border: 1px solid #b9dfca;
  border-radius: 15px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 20px 22px;
  display: grid;
}
.success-icon {
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}
.success-card strong {
  font-size: 14px;
}
.success-card p {
  color: #5d7969;
  margin: 3px 0 0;
  font-size: 12px;
}
.success-actions {
  gap: 8px;
  display: flex;
}
.success-actions button,
.success-actions a {
  color: #287653;
  cursor: pointer;
  background: #fff;
  border: 1px solid #abd2bd;
  border-radius: 8px;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  font-size: 12px;
  text-decoration: none;
  display: flex;
}
.success-actions .create-another-button {
  border-color: var(--purple);
  background: var(--purple);
  color: #fff;
  font-weight: 720;
}
.success-actions .create-another-button:hover {
  border-color: var(--purple-dark);
  background: var(--purple-dark);
  transform: translateY(-1px);
}
.library {
  padding-top: 76px;
  padding-bottom: 76px;
  scroll-margin-top: 75px;
}
.library-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 18px;
}
.library-heading h2 {
  color: #1f1b28;
  letter-spacing: -0.045em;
  font-size: 28px;
  font-weight: 800;
}
.library-heading p {
  color: #5f5867;
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 550;
}
.new-folder-button {
  border: 1px solid var(--purple);
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  box-shadow: 0 7px 16px #5b43be2e;
}
.new-folder-button:hover {
  border-color: var(--purple-dark);
  background: var(--purple-dark);
  transform: translateY(-1px);
}
.library-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  display: grid;
}
.folder-sidebar {
  background: #fffefdf7;
  border: 1px solid #d1c6e2;
  border-radius: 19px;
  position: sticky;
  top: 88px;
  overflow: hidden;
  box-shadow: 0 14px 34px #412f581c;
}
.folder-mobile-toggle {
  display: none;
}
.folder-sidebar-body {
  padding: 13px;
}
.folder-create {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 5px;
  padding: 2px 2px 10px;
  display: grid;
}
.folder-create input,
.folder-rename input {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  outline: 0;
  min-width: 0;
  padding: 8px 9px;
  font-size: 11px;
}
.folder-create input:focus,
.folder-rename input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px #fbe0d5;
}
.folder-create > button {
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
}
.folder-create > button:disabled {
  opacity: 0.45;
  cursor: default;
}
.folder-create .icon-button {
  width: 30px;
  color: var(--muted);
  background: #eee9e2;
  place-items: center;
  padding: 0;
  display: grid;
}
.folder-list {
  scrollbar-width: thin;
  scrollbar-color: #cfc5dd transparent;
  max-height: 610px;
  padding: 1px 8px 2px 1px;
  overflow: hidden auto;
}
.folder-list > button,
.folder-main {
  color: #4f4957;
  cursor: pointer;
  text-align: left;
  background: 0 0;
  border: 0;
  border-radius: 12px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 49px;
  padding: 7px 11px;
  display: grid;
}
.folder-list > button > svg,
.folder-main > svg {
  color: #7869a8;
}
.folder-list > button:hover,
.folder-row:hover {
  color: #211d29;
  background: #f4f0f8;
}
.folder-list > button.active,
.folder-row.active {
  color: #fff;
  background: linear-gradient(135deg, #755bdd, #5f43ca);
  width: calc(100% - 6px);
  transform: translate(6px);
  box-shadow: 0 8px 17px #5239b13d;
}
.folder-list > button.active > svg,
.folder-row.active .folder-main > svg {
  color: #fff;
}
.folder-list button span {
  -webkit-line-clamp: 2;
  letter-spacing: -0.012em;
  -webkit-box-orient: vertical;
  font-size: 13.5px;
  font-weight: 670;
  line-height: 1.2;
  display: -webkit-box;
  overflow: hidden;
}
.folder-list button b,
.folder-list-label b {
  color: #5f5867;
  min-width: 25px;
  font: 10px var(--font-geist-mono);
  text-align: center;
  background: #e9e3ef;
  border-radius: 99px;
  padding: 4px 6px;
}
.folder-list > button.active b,
.folder-row.active b {
  color: var(--purple-dark);
  background: #dcd3ff;
}
.folder-list-label {
  color: #5e5767;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  justify-content: space-between;
  padding: 20px 10px 9px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
}
.folder-row {
  color: #4f4957;
  border-radius: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  transition:
    transform 0.16s,
    box-shadow 0.16s;
  display: grid;
}
.folder-main {
  color: inherit;
}
.folder-row-actions {
  opacity: 0;
  padding-right: 4px;
  transition: opacity 0.15s;
  display: flex;
}
.folder-row:hover .folder-row-actions,
.folder-row:focus-within .folder-row-actions {
  opacity: 1;
}
.folder-row-actions button,
.folder-rename button {
  color: #918981;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 6px;
  place-items: center;
  width: 25px;
  height: 28px;
  display: grid;
}
.folder-row-actions button:hover {
  color: var(--ink);
  background: #fff;
}
.folder-row-actions button:last-child:hover {
  color: #bd4134;
  background: #ffebe8;
}
.folder-row.active .folder-row-actions button {
  color: #ffffffdb;
}
.folder-row.active .folder-row-actions button:hover {
  color: var(--purple-dark);
  background: #fff;
}
.folder-rename {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 3px;
  padding: 4px;
  display: grid;
}
.folder-rename button {
  background: #eee9e2;
  height: 31px;
}
.folder-rename button:first-of-type {
  color: #fff;
  background: var(--green);
}
.folder-search {
  color: #81788d;
  background: #faf8fc;
  border: 1px solid #d9d1e2;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  height: 40px;
  margin: 0 1px 8px;
  padding: 0 9px;
  display: flex;
}
.folder-search:focus-within {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 3px #e7e0ff;
}
.folder-search input {
  color: #28222f;
  background: 0 0;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 550;
}
.folder-search button {
  color: #716978;
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 6px;
  place-items: center;
  width: 24px;
  height: 24px;
  display: grid;
}
.folder-search button:hover {
  background: #ece6f2;
}
.folder-search-empty {
  color: #716a78;
  text-align: center;
  margin: 18px 8px;
  font-size: 12px;
  font-weight: 600;
}
.folder-action-error {
  color: #a4362b;
  background: #fff1ef;
  border: 1px solid #efc1bb;
  border-radius: 8px;
  margin: 0 3px 9px;
  padding: 8px 9px;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}
.library-content {
  min-width: 0;
}
.library-toolbar {
  grid-template-columns: minmax(180px, 1fr) 160px;
  gap: 9px;
  margin-bottom: 17px;
  display: grid;
}
.game-search {
  color: #766e80;
  background: #fff;
  border: 1px solid #d6cedf;
  border-radius: 12px;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 13px;
  display: flex;
}
.game-search:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #e7e0ff;
}
.game-search input {
  color: #211d28;
  background: 0 0;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 550;
}
.game-search button {
  width: 26px;
  height: 26px;
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  border-radius: 6px;
  place-items: center;
  display: grid;
}
.game-search button:hover {
  background: #eee9e2;
}
.sort-select {
  color: #4e4757;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d6cedf;
  border-radius: 12px;
  outline: 0;
  min-width: 0;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 620;
}
.sort-select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px #e7e0ff;
}
.results-heading {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 12px;
  display: flex;
}
.results-heading > div {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}
.results-heading h3 {
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #211d28;
  letter-spacing: -0.025em;
  margin: 0;
  font-size: 18px;
  font-weight: 780;
  overflow: hidden;
}
.results-heading span {
  color: #716a63;
  min-width: 23px;
  font: 9px var(--font-geist-mono);
  text-align: center;
  background: #e9e4dc;
  border-radius: 99px;
  padding: 3px 6px;
}
.results-heading p {
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--muted);
  margin: 0;
  font-size: 10px;
  overflow: hidden;
}
.empty {
  min-height: 230px;
  color: var(--muted);
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
}
.empty-icon {
  border: 1px dashed #c8c0b7;
  border-radius: 18px;
  place-items: center;
  width: 58px;
  height: 58px;
  display: grid;
  transform: rotate(-4deg);
}
.empty h3 {
  color: var(--ink);
  margin: 17px 0 5px;
  font-size: 15px;
}
.empty p {
  margin: 0;
  font-size: 13px;
}
.game-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  display: grid;
}
.game-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 80px;
  border: 1px solid var(--line);
  background: #fffefdf0;
  border-radius: 15px;
  grid-template-columns: 64px minmax(100px, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
  display: grid;
}
.game-card:hover {
  border-color: #ccc0e1;
  transform: translateY(-3px) rotate(-0.15deg);
  box-shadow: 0 13px 29px #402f571a;
}
.game-card.editing {
  border-color: #eea587;
  box-shadow: inset 0 0 0 1px #f8cdbd;
}
.game-art {
  color: #fff;
  background: var(--orange);
  border-radius: 11px 13px 10px 14px;
  grid-row: span 2;
  justify-content: center;
  align-items: center;
  height: 58px;
  display: flex;
  position: relative;
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.game-art:after {
  content: "";
  border: 1px solid #ffffff40;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  position: absolute;
  top: -18px;
  right: -18px;
}
.art-1 {
  background: var(--purple);
}
.art-2 {
  background: var(--green);
}
.art-3 {
  background: #d99e24;
}
.game-info {
  min-width: 0;
}
.game-info h3 {
  color: #211d28;
  letter-spacing: -0.018em;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 760;
  overflow: hidden;
}
.game-info p {
  color: #655e6d;
  margin: 0;
  font-size: 11px;
  font-weight: 540;
}
.move-game {
  border: 1px solid var(--line);
  min-width: 0;
  max-width: 132px;
  height: 30px;
  color: var(--muted);
  background: #faf8f4;
  border-radius: 7px;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  display: flex;
}
.move-game select {
  width: 100%;
  min-width: 0;
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  outline: 0;
  font-size: 10px;
}
.move-game:focus-within {
  border-color: var(--orange);
}
.game-actions {
  grid-column: 2/-1;
  justify-content: flex-end;
  gap: 4px;
  display: flex;
}
.game-actions button,
.game-actions a {
  border: 1px solid var(--line);
  color: #756e67;
  cursor: pointer;
  background: 0 0;
  border-radius: 7px;
  place-items: center;
  width: 29px;
  height: 29px;
  display: grid;
}
.game-actions button:hover,
.game-actions a:hover {
  color: var(--ink);
  background: #f2eee8;
}
.game-actions .danger:hover {
  color: #c44637;
  background: #fff0ed;
  border-color: #efc6c0;
}
.show-more {
  border: 1px solid var(--line);
  background: var(--card);
  min-width: 170px;
  height: 39px;
  color: var(--muted);
  cursor: pointer;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 18px auto 0;
  font-size: 11px;
  font-weight: 650;
  display: flex;
}
.show-more:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.show-more span {
  font: 9px var(--font-geist-mono);
  background: #eee9e2;
  border-radius: 99px;
  padding: 2px 5px;
}
.site-footer {
  color: #fff;
  background: #28232f;
  border-top: 1px solid #d9d0e2;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 38px;
  min-height: 108px;
  padding: 22px max(24px, 50vw - 590px);
  display: grid;
}
.footer-project {
  align-items: center;
  gap: 10px;
  display: flex;
}
.footer-project > span {
  background: var(--purple);
  border-radius: 10px;
  place-items: center;
  width: 35px;
  height: 35px;
  display: grid;
  transform: rotate(-3deg);
}
.footer-project div,
.footer-author {
  flex-direction: column;
  gap: 3px;
  display: flex;
}
.footer-project strong {
  font-size: 14px;
}
.footer-project small,
.footer-author span {
  color: #aaa1b3;
  font-size: 10px;
}
.footer-author strong {
  font-size: 12px;
  font-weight: 690;
}
.site-footer > a {
  color: #fff;
  background: #ffffff0f;
  border: 1px solid #ffffff29;
  border-radius: 10px;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
}
.site-footer > a:hover {
  background: var(--purple);
  border-color: #8e75ef;
  transform: translateY(-2px);
}
.modal-backdrop {
  z-index: 50;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #231f1c8c;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}
.modal {
  background: var(--card);
  text-align: center;
  border-radius: 18px;
  width: min(400px, 100%);
  padding: 30px;
  position: relative;
  box-shadow: 0 30px 70px #00000040;
}
.modal-close {
  color: var(--muted);
  cursor: pointer;
  background: 0 0;
  border: 0;
  position: absolute;
  top: 14px;
  right: 14px;
}
.modal-close svg {
  width: 18px;
}
.modal-trash {
  color: #bd4134;
  background: #ffebe8;
  border-radius: 50%;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: grid;
}
.modal h2 {
  margin: 0;
  font-size: 20px;
}
.modal p {
  color: var(--muted);
  margin: 10px 0 22px;
  font-size: 13px;
  line-height: 1.5;
}
.modal > div:last-child {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  display: grid;
}
.modal .cancel,
.modal .delete {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 11px;
  font-weight: 650;
}
.modal .delete {
  color: #fff;
  background: #bd4134;
  border-color: #bd4134;
}
.spin {
  animation: 1s linear infinite spin;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 850px) {
  .hero {
    padding: 64px 0 90px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero-copy {
    text-align: center;
  }
  .eyebrow,
  .hero-actions {
    justify-content: center;
  }
  .hero h1,
  .hero p {
    margin-inline: auto;
  }
  .hero-visual {
    width: min(500px, 88%);
    margin-inline: auto;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .preview-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .library-layout {
    grid-template-columns: 265px minmax(0, 1fr);
  }
  .game-grid {
    grid-template-columns: 1fr;
  }
  .success-card {
    grid-template-columns: auto 1fr;
  }
  .success-actions {
    grid-column: 1/-1;
  }
  .site-footer {
    grid-template-columns: 1fr auto;
  }
  .footer-author {
    grid-area: 2/1;
  }
  .site-footer > a {
    grid-area: 1/2 / span 2;
  }
}
@media (max-width: 700px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }
  .topnav {
    display: none;
  }
  .library-layout {
    grid-template-columns: 1fr;
  }
  .folder-sidebar {
    position: static;
  }
  .folder-mobile-toggle {
    background: var(--card);
    width: 100%;
    height: 44px;
    color: var(--muted);
    cursor: pointer;
    text-align: left;
    border: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    display: grid;
  }
  .folder-mobile-toggle span {
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #211d28;
    font-size: 14px;
    font-weight: 750;
    overflow: hidden;
  }
  .folder-mobile-toggle svg:last-child {
    transition: transform 0.2s;
  }
  .folder-mobile-toggle[aria-expanded="true"] svg:last-child {
    transform: rotate(180deg);
  }
  .folder-sidebar-body {
    border-top: 1px solid var(--line);
    display: none;
  }
  .folder-sidebar-body.open {
    display: block;
  }
  .folder-list {
    max-height: 330px;
  }
  .folder-row-actions {
    opacity: 1;
  }
}
@media (max-width: 560px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }
  .topbar {
    height: 60px;
    padding-inline: 16px;
  }
  .status {
    display: none;
  }
  .hero {
    padding: 48px 0 76px;
  }
  .hero-layout {
    gap: 34px;
  }
  .hero h1 {
    font-size: clamp(40px, 12vw, 50px);
  }
  .hero p {
    margin-top: 20px;
    font-size: 14px;
  }
  .eyebrow {
    margin-bottom: 19px;
  }
  .eyebrow span {
    font-size: 9px;
  }
  .hero-actions {
    margin-top: 23px;
  }
  .hero-actions a {
    height: 42px;
    padding-inline: 13px;
  }
  .hero-actions a:last-child {
    display: none;
  }
  .hero-visual {
    width: calc(100% - 18px);
    min-height: 270px;
  }
  .hero-board {
    border-radius: 17px;
    padding: 10px;
  }
  .board-top {
    height: 31px;
  }
  .board-cards {
    gap: 6px;
  }
  .board-card {
    height: 115px;
    padding: 9px;
  }
  .board-card strong {
    font-size: 20px;
  }
  .board-card svg {
    width: 25px;
  }
  .board-card span {
    font-size: 9px;
  }
  .board-caption {
    margin-top: 9px;
    padding-top: 8px;
  }
  .sticker-a {
    border-radius: 15px;
    width: 52px;
    height: 52px;
    font-size: 19px;
    bottom: 9px;
    left: -5px;
  }
  .sticker-star {
    width: 38px;
    height: 38px;
    font-size: 19px;
    top: 0;
    right: -5px;
  }
  .workspace {
    border-radius: 16px;
  }
  .editor-panel,
  .preview-panel {
    padding: 21px 17px;
  }
  .panel-heading {
    align-items: flex-start;
  }
  .clear-editor-button {
    margin-top: -4px;
  }
  .quick-folder-form {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .quick-folder-form > button:not(.quick-folder-close) {
    grid-column: 1/-1;
    height: 32px;
  }
  .quick-folder-form .quick-folder-close {
    grid-area: 1/3;
  }
  .code-box textarea {
    height: 275px;
  }
  .device-frame iframe {
    height: 360px;
  }
  .success-card {
    padding: 17px;
  }
  .success-actions {
    flex-direction: column;
  }
  .success-actions button,
  .success-actions a {
    justify-content: center;
  }
  .library {
    padding-top: 50px;
  }
  .library-heading {
    align-items: flex-end;
  }
  .library-heading h2 {
    font-size: 24px;
  }
  .library-heading p {
    font-size: 12px;
  }
  .new-folder-button {
    padding: 9px 10px;
    font-size: 11px;
  }
  .library-toolbar {
    grid-template-columns: 1fr;
  }
  .sort-select {
    height: 40px;
  }
  .game-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }
  .game-art {
    height: 52px;
  }
  .move-game {
    grid-column: 2/-1;
    max-width: none;
  }
  .game-actions {
    border-top: 1px solid #eee9e3;
    grid-column: 1/-1;
    justify-content: flex-end;
    padding-top: 8px;
  }
  .folder-create {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .folder-create .icon-button {
    grid-area: 1/2;
  }
  .folder-create > button:not(.icon-button) {
    grid-column: 1/-1;
    height: 31px;
  }
  .code-label-row {
    align-items: flex-start;
  }
  .code-tools {
    margin-top: -5px;
  }
  .site-footer {
    text-align: left;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 25px 20px;
  }
  .footer-author,
  .site-footer > a {
    grid-area: auto/1;
  }
  .site-footer > a {
    width: fit-content;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  :before,
  :after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
