.replica-badge{position:fixed;bottom:5px;left:50%;transform:translateX(-50%);z-index:120;padding:4px 9px;border:1px solid #dcec8033;border-radius:6px;background:#101f18ed;color:#dcec80;font:700 10px/1.4 monospace;letter-spacing:1px;cursor:pointer}.replica-overlay{position:fixed;inset:0;background:#07110dbb;backdrop-filter:blur(5px);z-index:10000;display:grid;place-items:center;padding:20px}.replica-dialog{width:min(440px,100%);max-height:90dvh;overflow:auto;background:#0f1c17;border:1px solid #3c493c;border-radius:14px;color:#f5f5ec;padding:26px;box-shadow:0 18px 80px #0006;font:14px/1.6 Arial,sans-serif}.replica-dialog header{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}.replica-dialog header h2{font:700 18px monospace;letter-spacing:.5px;margin:0}.replica-dialog button{cursor:pointer}.replica-dialog header button{width:32px;height:32px;border:0;border-radius:7px;background:#ffffff0c;color:#efefdf;font-size:22px}.replica-dialog p{color:#aeb9ae;margin:12px 0}.replica-dialog label{display:block;margin:16px 0 6px;color:#c6d0c5;font:700 11px monospace}.replica-dialog input,.replica-dialog textarea{display:block;box-sizing:border-box;width:100%;border:1px solid #405143;border-radius:6px;background:#17271d;color:#f9f9f0;padding:12px;font:inherit}.replica-dialog textarea{min-height:110px;resize:vertical}.replica-primary{display:block;width:100%;border:0;border-radius:7px;background:#dbee7e;color:#122015;padding:12px;margin:16px 0 0;font-weight:700}.replica-secondary{border:1px solid #425243;border-radius:6px;background:transparent;color:#c7d3c6;padding:8px 12px;margin:12px 5px 0 0}.replica-error{color:#ffb7ac!important}.replica-success{color:#dbee7e!important}.replica-chat{max-height:300px;min-height:90px;overflow:auto}.replica-message{border-top:1px solid #ffffff12;padding:12px 0}.replica-message strong{color:#dbee7e;font-size:12px}.replica-message time{float:right;color:#7f9686;font-size:10px}.replica-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0}.replica-note{color:#dbee7e!important;border:1px solid #dbee7e44;border-radius:6px;padding:10px!important;font:12px/1.5 Arial,sans-serif!important;margin:12px 0!important}.replica-toast{position:fixed;z-index:12000;left:50%;bottom:38px;transform:translateX(-50%);max-width:85vw;background:#dbee7e;color:#0e1c14;padding:12px 20px;border-radius:8px;font:600 13px/1.5 Arial,sans-serif;box-shadow:0 4px 30px #0004}.replica-dialog :focus-visible{outline:2px solid #dbee7e;outline-offset:3px}@media(max-width:600px){.replica-dialog{padding:20px}.replica-badge{font-size:9px;bottom:3px}.replica-dialog header h2{font-size:16px}}

.replica-share-card {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: #101f18;
}

.replica-share-download {
  display: inline-block;
}

.replica-search-status {
  margin: 16px 0;
  color: #c6d0c5;
}

@media (max-width: 720px), (max-height: 480px) {
  .sky-game-stage .sky-game-panel:not(.is-collapsed) {
    top: auto;
    bottom: 0;
    min-height: 0;
    height: min(57%, calc(100% - 126px));
    border-radius: 14px 14px 0 0;
  }

  .sky-game-stage .sky-game-panel.is-expanded:not(.is-collapsed) {
    height: min(68%, calc(100% - 126px));
  }

  .sky-game-stage .sky-game-panel__content {
    overscroll-behavior: contain;
  }
}

@media (min-width: 721px) and (max-height: 480px) {
  .sky-game-stage .sky-game-panel:not(.is-collapsed) {
    width: min(425px, 55vw);
  }

  .sky-game-stage .sky-game-panel.is-collapsed {
    top: auto;
    bottom: 0;
  }
}
