/* Micro RPG Engine — parchment / arcane theme */
:root {
--parchment: #f4ecd8;
--ink: #2b2118;
--blood: #7c2d2d;
--gold: #b8860b;
--arcane: #4b3b6b;
}
.gradio-container {
background:
radial-gradient(circle at 20% 10%, #1a1320 0%, #0d0a12 60%),
#0d0a12 !important;
font-family: "Georgia", "Iowan Old Style", serif !important;
max-width: 1100px !important;
margin: auto !important;
}
#title-md h1 {
text-align: center;
color: var(--gold);
letter-spacing: 1px;
text-shadow: 0 0 18px rgba(184, 134, 11, 0.35);
margin-bottom: 0;
}
#title-md p {
text-align: center;
color: #b9a98c;
font-style: italic;
margin-top: 4px;
}
/* The story panel — looks like aged parchment */
#story {
background: linear-gradient(180deg, #f7f0dd 0%, #ece0c2 100%) !important;
color: var(--ink) !important;
border: 1px solid #6b5836 !important;
border-radius: 10px !important;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.6), inset 0 0 60px rgba(120, 90, 40, 0.15);
min-height: 360px;
padding: 22px 26px !important;
font-size: 1.08rem;
line-height: 1.65;
}
/* Force the dark ink onto every text node Gradio nests inside the panel —
otherwise the theme's light --body-text-color wins on
//. */
#story,
#story p,
#story li,
#story span,
#story strong,
#story em,
#story a {
color: var(--ink) !important;
}
#story h3 { color: var(--blood) !important; margin-top: 0; }
/* The changelog lines (rendered as blockquotes) — readable brown on parchment */
#story blockquote {
color: #5c4326 !important;
border-left: 3px solid var(--gold) !important;
background: rgba(120, 90, 40, 0.08);
font-style: italic;
}
#story blockquote * { color: #5c4326 !important; }
/* Stats sidebar */
#stats {
background: rgba(30, 22, 40, 0.85) !important;
border: 1px solid var(--arcane) !important;
border-radius: 10px !important;
color: #e8dfc8 !important;
padding: 16px 18px !important;
font-size: 0.98rem;
}
#stats .hpbar {
height: 14px; border-radius: 7px; background: #311; overflow: hidden;
border: 1px solid #511;
}
#stats .hpfill {
height: 100%; background: linear-gradient(90deg, #7c2d2d, #c0392b);
}
/* Buttons */
button.primary, .gr-button-primary {
background: linear-gradient(180deg, #5a4630, #3a2c1c) !important;
border: 1px solid var(--gold) !important;
color: var(--parchment) !important;
}
button.primary:hover { box-shadow: 0 0 14px rgba(184,134,11,0.5) !important; }
/* Input box */
#action-input textarea {
background: #1c1626 !important;
color: #efe6cf !important;
border: 1px solid #4b3b6b !important;
font-family: "Georgia", serif !important;
}
footer { visibility: hidden; }