File size: 2,671 Bytes
7fe39f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* 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 <p>/<span>/<li>. */
#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; }