.rts-app{--rts-bg:#071b2c;--rts-card:#0c263b;--rts-accent:#19d2cb;--rts-text:#f4f8fc;box-sizing:border-box;min-height:80vh;padding:clamp(16px,3vw,42px);background:linear-gradient(145deg,#071b2c,#103856);color:var(--rts-text);font-family:inherit}
.rts-app *{box-sizing:border-box}
.rts-head{display:flex;align-items:center;gap:22px;max-width:1500px;margin:0 auto 28px}
.rts-head img{width:clamp(84px,12vw,150px);height:clamp(84px,12vw,150px);object-fit:cover;border-radius:20px}
.rts-head p{margin:0;color:var(--rts-accent);font-size:.8rem;font-weight:800;letter-spacing:.14em}
.rts-head h1{margin:.15em 0;font-size:clamp(2rem,4vw,4rem)}
.rts-head span{opacity:.8}
.rts-tabs{display:flex;gap:12px;max-width:1500px;margin:0 auto 18px}
.rts-tabs button,.rts-follow-row button,.rts-card button,.rts-button,.rts-import-bar button,.rts-manage-tools button,.rts-item-tools button{border:0;border-radius:10px;background:var(--rts-accent);color:#06212b;font:inherit;font-weight:750;padding:10px 15px;cursor:pointer;text-decoration:none}
.rts-tabs button{background:#17354c;color:#fff}
.rts-tabs button.active{background:var(--rts-accent);color:#06212b}
.rts-follow-row,.rts-import-bar{display:flex;justify-content:space-between;align-items:center;gap:14px;max-width:1500px;margin:0 auto 24px;padding:14px 18px;border:1px solid #ffffff24;border-radius:14px;background:#0a2135}
.rts-import-bar{justify-content:flex-start;flex-wrap:wrap;border-color:#18d2cb66}
.rts-import-bar span{opacity:.75}
.rts-import-bar button{margin-left:auto}
.rts-manage-tools{max-width:1500px;margin:0 auto 18px;text-align:right}
.rts-app main{max-width:1500px;margin:auto}
.rts-app main h2{margin:0 0 16px;font-size:clamp(1.5rem,2.4vw,2.3rem)}
.rts-grid,.rts-community-grid,.rts-theme-game-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));gap:20px}
.rts-card,.rts-community-card,.rts-theme-game{overflow:hidden;border:1px solid #ffffff24;border-radius:17px;background:var(--rts-card);color:#fff;box-shadow:0 12px 30px #0002}
.rts-card>img,.rts-no-cover,.rts-community-card>img,.rts-community-cover,.rts-theme-game>img{display:grid;width:100%;aspect-ratio:16/10;object-fit:cover;background:#02070b;place-items:center}
.rts-no-cover,.rts-community-cover{color:var(--rts-accent);font-size:1.2rem;font-weight:900;letter-spacing:.12em}
.rts-card-copy,.rts-community-card>div,.rts-theme-game>div{padding:15px}
.rts-card-copy>small,.rts-community-card small{color:var(--rts-accent);font-size:.72rem;font-weight:800;letter-spacing:.06em}
.rts-card h3,.rts-community-card h3,.rts-theme-game h3{margin:7px 0;font-size:1.2rem}
.rts-card p,.rts-community-card p{min-height:2.4em;opacity:.76}
.rts-card button,.rts-button,.rts-community-card a,.rts-theme-game button{display:inline-block;margin-top:8px}
.rts-button,.rts-community-card a{padding:9px 13px;border-radius:9px;background:var(--rts-accent);color:#06212b;font-weight:750;text-decoration:none}
.rts-select{display:block;margin-top:12px;font-weight:700}
.rts-locked{display:inline-block;margin-top:12px;color:#ffd880}
.rts-item-tools{display:flex;gap:8px;margin-top:12px}
.rts-item-tools button{padding:7px 10px}
.rts-item-tools button:last-child{background:#243d50;color:#fff}
.rts-empty,.rts-error,.rts-manage-hint{padding:14px 0;opacity:.8}
.rts-player,.rts-theme-game-play{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;background:#000d;padding:2vh 2vw}
.rts-player section{position:relative;display:flex;flex-direction:column;width:min(96vw,1500px);height:min(94vh,900px);overflow:hidden;border:1px solid #ffffff33;border-radius:16px;background:#071b2c}
.rts-player section.rts-editor{height:auto;max-height:94vh}
.rts-player header{display:flex;align-items:center;justify-content:space-between;padding:8px 16px}
.rts-player h2{font-size:1.15rem}
.rts-player header button,.rts-theme-game-play>button{border:0;background:transparent;color:#fff;font-size:2rem;cursor:pointer}
.rts-player iframe,.rts-theme-game-play iframe{flex:1;width:100%;border:0;background:#000}
.rts-editor form{display:grid;gap:12px;overflow:auto;padding:0 18px 20px}
.rts-editor label{display:grid;gap:5px;font-weight:700}
.rts-editor input,.rts-editor select,.rts-editor textarea{width:100%;padding:10px;border:1px solid #ffffff33;border-radius:8px;background:#091c2a;color:#fff;font:inherit}
.rts-editor textarea{min-height:80px}
.rts-community-section{margin:20px 0 32px}
.rts-community-section h2{margin:0 0 14px}
.rts-theme-game-play iframe{width:min(96vw,1500px);height:min(94vh,900px);border-radius:14px}
.rts-theme-game-play>button{position:absolute;top:14px;right:20px;width:48px;height:48px;border-radius:50%;background:#0c263b}
@media(max-width:620px){.rts-follow-row{align-items:flex-start;flex-direction:column}.rts-import-bar button{margin-left:0}.rts-head{align-items:flex-start}.rts-player{padding:0}.rts-player section{width:100vw;height:100vh;border-radius:0}}
