Python
/* Discovery is a game shelf, not a settings workspace. Studio retains its
focused editing layout; play and discovery use the same dark canvas. */
.app-shell.discovery {
display: flex;
flex-direction: column;
background: #101218;
color: #f1f2f7;
--muted: #a5aab8;
--line: #2b303b;
}
.arcade-topbar {
flex-shrink: 0;
height: 86px;
padding: 0 clamp(28px, 4vw, 64px);
display: flex;
align-items: center;
gap: 64px;
border-bottom: 1px solid #ffffff0b;
}
.arcade-topbar .brand {
color: #f8f8fc;
padding: 0;
font-size: 28px;
margin: 0;
}
.arcade-topbar .brand-mark {
background: transparent;
color: #c5f292;
width: 32px;
}
.arcade-topbar .brand-dot {
color: #c5f292;
}
.arcade-topbar nav {
display: flex;
gap: 28px;
height: 100%;
}
.arcade-topbar nav button {
color: #939bad;
font-size: 14px;
border-radius: 0;
padding: 0 2px;
position: relative;
}
.arcade-topbar nav button.active {
color: #f4f5f9;
}
.arcade-topbar nav button.active::after {
content: "";
height: 2px;
background: #c5f292;
position: absolute;
bottom: 0;
left: 0;
right: 0;
}
.arcade-topbar nav span {
font-size: 11px;
color: #a9b1c3;
padding: 2px 6px;
border-radius: 5px;
background: #ffffff0d;
margin-left: 8px;
}
.topbar-actions {
display: flex;
align-items: center;
gap: 18px;
margin-left: auto;
}
.topbar-actions .top-create {
background: #f0f3ea;
color: #1b2418;
padding: 10px 18px;
border-radius: 8px;
font-size: 13px;
}
.top-settings {
color: #a9b0c1;
}
.build-indicator {
font-size: 12px;
color: #c5f292;
}
.discovery .library-page {
flex: 1;
width: 100%;
padding: 28px clamp(28px, 4vw, 64px) 48px;
background: #101218;
}
.featured-game {
position: relative;
min-height: 430px;
height: clamp(410px, 36vw, 540px);
border-radius: 20px;
overflow: hidden;
background: #111e2b;
isolation: isolate;
border: 1px solid #ffffff12;
}
.featured-art {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 70% 50%;
}
.featured-shade {
position: absolute;
inset: 0;
background:
linear-gradient(
90deg,
#090e1af5 0%,
#090e1ae0 27%,
#090e1a60 60%,
#090e1a08 100%
),
linear-gradient(0deg, #090d1ce6, transparent 42%);
}
.featured-copy {
position: relative;
padding: clamp(32px, 4vw, 62px);
max-width: 590px;
}
.feature-label {
color: #b8e68b;
display: flex;
align-items: center;
gap: 10px;
font-size: 10px;
letter-spacing: 2px;
font-weight: 600;
}
.feature-label > span {
width: 5px;
height: 5px;
background: #b8e68b;
border-radius: 50%;
}
.featured-copy h1 {
font-size: clamp(42px, 5vw, 72px);
line-height: 1;
letter-spacing: -3px;
margin: 24px 0 17px;
font-weight: 650;
color: #fff;
}
.featured-copy p {
max-width: 365px;
font-size: 15px;
line-height: 1.75;
color: #c3c9d7;
margin: 0;
}
.feature-actions {
display: flex;
align-items: center;
gap: 12px;
margin: 27px 0 21px;
}
.hero-play {
background: #c5f292;
color: #1a2713;
padding: 13px 23px;
border: 1px solid #d3faa9;
font-weight: 600;
border-radius: 8px;
}
.hero-play:hover {
background: #d8ffad;
}
.hero-remix {
background: #ffffff0a;
border: 1px solid #ffffff35;
padding: 13px 18px;
color: #f2f4f9;
border-radius: 8px;
}
.hero-remix:hover {
background: #ffffff18;
}
.feature-meta {
color: #919bad;
font-size: 11px;
display: flex;
align-items: center;
gap: 10px;
}
.feature-meta > span {
background: #687081;
width: 3px;
height: 3px;
border-radius: 50%;
}
.featured-index {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
position: absolute;
left: 30px;
right: 30px;
bottom: 24px;
gap: 18px;
row-gap: 4px;
}
.featured-index button {
font-size: 11px;
color: #a8b0c1;
padding: 10px 0;
border-top: 1px solid #ffffff30;
border-radius: 0;
gap: 8px;
}
.featured-index button.active {
border-color: #c5f292;
color: #eef5e8;
}
.featured-index button span {
font-size: 10px;
color: #8a93a5;
}
.shelf-heading {
display: flex;
justify-content: space-between;
align-items: center;
margin: 36px 0 19px;
}
.shelf-heading h2,
.discovery .collection-header h2 {
font-size: 22px;
letter-spacing: -0.6px;
font-weight: 580;
margin: 0 0 6px;
color: #f0f2f8;
}
.shelf-heading p {
color: #8f98ab;
font-size: 13px;
margin: 0;
}
.shelf-note {
color: #7f899e;
font-size: 11px;
}
.starter-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 22px;
}
.starter-card {
min-width: 0;
}
.starter-art {
display: block;
position: relative;
width: 100%;
aspect-ratio: 1.9;
overflow: hidden;
border-radius: 12px;
padding: 0;
background: #202735;
border: 1px solid #ffffff12;
}
.starter-art img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.25s ease;
}
.starter-art:hover img {
transform: scale(1.035);
}
.starter-play {
position: absolute;
bottom: 14px;
right: 14px;
width: 40px;
height: 40px;
display: grid;
place-items: center;
background: #10151bb5;
backdrop-filter: blur(8px);
border: 1px solid #ffffff50;
color: #fff;
border-radius: 50%;
}
.starter-caption {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
padding: 15px 2px 4px;
}
.starter-caption h3 {
font-size: 16px;
font-weight: 550;
letter-spacing: -0.25px;
margin: 0 0 5px;
}
.starter-caption p {
margin: 0;
font-size: 11px;
color: #929bb0;
}
.starter-caption button {
font-size: 12px;
color: #bbc4d4;
border: 1px solid #ffffff14;
padding: 7px 10px;
border-radius: 7px;
}
.starter-caption button:hover {
color: #c5f292;
border-color: #c5f29255;
}
.discovery .collection-header {
margin: 22px 0 24px;
}
.discovery .collection-header.compact {
margin: 44px 0 21px;
}
.discovery .collection-header h1 {
color: #f1f3f8;
font-size: 38px;
letter-spacing: -1.3px;
margin: 0 0 10px;
}
.discovery .collection-header p {
color: #929cb1;
font-size: 13px;
}
.discovery .collection-header.compact .new-game {
display: none;
}
.discovery .collection-card {
background: #171c25;
border-color: #2a303b;
box-shadow: none;
}
.discovery .collection-card-info h2 {
color: #edf0f7;
}
.discovery .collection-card-info p {
color: #9ca6bb;
}
.discovery .collection-actions {
border-color: #2b313e;
background: transparent;
}
.discovery .collection-actions button {
color: #c1cadb;
}
.discovery .collection-actions .card-play {
background: #293438;
color: #d5edbb;
}
.discovery .collection-actions button:disabled {
opacity: 0.4;
}
.discovery .collection-art {
aspect-ratio: 1.9;
}
.discovery .collection-tabs {
background: #191f2a;
border-color: #293140;
}
.discovery .collection-tabs button {
color: #a3aec3;
}
.discovery .collection-tabs button.active {
background: #303a4b;
color: #fff;
box-shadow: none;
}
.discovery .collection-toolbar {
border-color: #303848;
}
.discovery .collection-tabs button.active::after {
background: #c5f292;
}
.discovery .collection-search {
background: #171d27;
border-color: #2c3545;
color: #9eaac1;
}
.discovery .collection-search input {
color: #e4eafa;
background: transparent;
}
.discovery .collection-empty {
background: #171d26;
border-color: #303848;
}
.discovery .collection-empty h2 {
color: #f1f4fa;
}
.discovery .collection-empty p {
color: #a1aec5;
}
.discovery .primary {
background: #c5f292;
color: #192415;
border-color: #c5f292;
}
.create-invitation {
margin-top: 44px;
padding: 26px 30px;
border: 1px solid #2c3341;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(115deg, #1d2430, #141921);
}
.create-invitation > div {
display: grid;
grid-template-columns: 36px 1fr;
gap: 5px 10px;
}
.create-invitation > div > svg {
grid-row: 1/3;
color: #bfe89c;
align-self: center;
}
.create-invitation h2 {
margin: 0;
font-size: 18px;
font-weight: 500;
letter-spacing: -0.4px;
}
.create-invitation p {
margin: 0;
color: #96a1b5;
font-size: 12px;
}
.create-invitation > button {
border: 1px solid #5b6875;
padding: 12px 18px;
color: #edf3f9;
font-size: 12px;
border-radius: 8px;
}
.home-loading {
padding: 80px;
color: #adb6c8;
}
.all-games-link {
color: #c2cebc;
margin: 20px 0 0 auto;
font-size: 13px;
}
.starter-playing .library-page {
padding: 0;
overflow: hidden;
}
.starter-player {
height: 100%;
display: flex;
flex-direction: column;
background: #0c1018;
}
.starter-player > header {
display: flex;
align-items: center;
gap: 24px;
padding: 18px 26px;
border-bottom: 1px solid #ffffff12;
}
.starter-player h1 {
font-size: 18px;
margin: 0;
font-weight: 550;
letter-spacing: -0.4px;
}
.starter-player button {
color: #c0c9d9;
font-size: 12px;
}
.starter-player .hero-play {
color: #1b2813;
padding: 10px 15px;
}
.player-actions {
margin-left: auto;
display: flex;
align-items: center;
gap: 18px;
}
.starter-player iframe {
flex: 1;
min-height: 0;
width: 100%;
border: 0;
background: #0b101a;
}
.starter-player footer {
display: flex;
justify-content: space-between;
padding: 14px 26px;
gap: 20px;
font-size: 11px;
color: #8592a8;
border-top: 1px solid #ffffff0b;
}
/* Settings and create dialogs remain light, with their own readable tokens. */
.discovery .modal {
color: #20242f;
--muted: #697184;
--line: #e5e8ef;
}
.discovery button:focus-visible {
outline: 2px solid #c5f292;
outline-offset: 4px;
}
@media (max-width: 1100px) {
.arcade-topbar {
gap: 36px;
height: 74px;
}
.featured-game {
height: 440px;
}
.featured-copy {
padding: 34px;
}
.featured-copy h1 {
font-size: 54px;
}
.featured-index {
left: 24px;
right: 24px;
bottom: 15px;
}
.starter-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.feature-meta {
font-size: 10px;
}
}
@media (prefers-reduced-motion: reduce) {
.starter-art img {
transition: none;
}
}