File size: 2,647 Bytes
66a9988
49beda9
66a9988
 
 
 
 
 
 
 
 
 
49beda9
 
 
66a9988
 
 
 
49beda9
 
66a9988
49beda9
66a9988
 
 
 
 
 
17e05c4
49beda9
 
b419bd3
49beda9
66a9988
 
 
 
 
49beda9
 
 
66a9988
 
 
 
 
 
 
 
 
49beda9
 
 
66a9988
 
49beda9
 
 
66a9988
 
 
49beda9
 
17e05c4
 
edf77e3
 
17e05c4
edf77e3
b419bd3
 
edf77e3
17e05c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66a9988
49beda9
66a9988
 
 
 
 
 
 
 
 
 
49beda9
 
 
66a9988
 
 
 
 
 
 
49beda9
 
 
66a9988
 
 
 
 
7cde207
49beda9
 
 
66a9988
49beda9
 
 
66a9988
 
7cde207
49beda9
 
17e05c4
49beda9
66a9988
 
 
 
 
 
 
49beda9
 
 
66a9988
 
 
 
49beda9
 
 
66a9988
 
 
49beda9
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/* Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 20px;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  box-sizing: border-box;
  color: #333;
}

h1 {
  font-size: 26px;
  margin: 16px 0;
  color: #222;
  text-align: center;
}

/* Container */
.game-container {
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 1100px;
}

/* Controls */
.controls {
  margin: 16px 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

button {
  padding: 10px 18px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 12px;
  font-weight: 500;
  font-size: 15px;
  background-color: #f5f5f5;
  color: #333;
  transition: all 0.2s ease-in-out;
}

button:hover {
  background-color: #eaeaea;
  transform: translateY(-1px);
}

.mode-active {
  border: 2px solid #007aff;
  background-color: #e6f0ff;
  color: #007aff;
}

/* Layout */
.main-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}


/* Definitions (Left Column) */
.definitions {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
}

.definitions h2 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #007aff;
}

.definitions p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 18px;
  color: #444;
}

/* Grid */
.grid-wrapper {
  width: 400px;
  aspect-ratio: 1 / 1;
  background-color: #f0f0f0;
  border: 2px solid #d0d0d0;
  border-radius: 12px;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.05);
  padding: 8px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

.grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  grid-template-rows: repeat(15, 1fr);
  gap: 2px;
  background-color: #ccc;
  border-radius: 8px;
}

.cell {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-sizing: border-box;
}

.cell:hover {
  background-color: #f0f0f0;
}

.cell.filled {
  background-color: #007aff;
  border: 1px solid #005bb5;
  box-sizing: border-box;
}

/* Stats (Right Column) */
.stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 180px;
  flex-shrink: 0;
}

.stat-box {
  background-color: #f2f2f2;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.stat-value {
  font-size: 20px;
  font-weight: 600;
  color: #444;
}