| 1 | * { |
| 2 | margin: 0; |
| 3 | padding: 0; |
| 4 | box-sizing: border-box; |
| 5 | } |
| 6 | |
| 7 | body { |
| 8 | font-family: 'Arial', sans-serif; |
| 9 | background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 10 | min-height: 100vh; |
| 11 | color: #333; |
| 12 | } |
| 13 | |
| 14 | #app { |
| 15 | min-height: 100vh; |
| 16 | display: flex; |
| 17 | align-items: center; |
| 18 | justify-content: center; |
| 19 | } |
| 20 | |
| 21 | .screen { |
| 22 | width: 100%; |
| 23 | min-height: 100vh; |
| 24 | display: flex; |
| 25 | align-items: center; |
| 26 | justify-content: center; |
| 27 | } |
| 28 | |
| 29 | .screen.hidden { |
| 30 | display: none; |
| 31 | } |
| 32 | |
| 33 | /* Auth Screen */ |
| 34 | .auth-container { |
| 35 | background: white; |
| 36 | padding: 40px; |
| 37 | border-radius: 10px; |
| 38 | box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); |
| 39 | max-width: 400px; |
| 40 | width: 100%; |
| 41 | } |
| 42 | |
| 43 | .auth-container h1 { |
| 44 | text-align: center; |
| 45 | color: #667eea; |
| 46 | margin-bottom: 10px; |
| 47 | font-size: 2.5em; |
| 48 | } |
| 49 | |
| 50 | .auth-container p { |
| 51 | text-align: center; |
| 52 | color: #666; |
| 53 | margin-bottom: 30px; |
| 54 | } |
| 55 | |
| 56 | .tabs { |
| 57 | display: flex; |
| 58 | margin-bottom: 20px; |
| 59 | border-bottom: 2px solid #eee; |
| 60 | } |
| 61 | |
| 62 | .tab-btn { |
| 63 | flex: 1; |
| 64 | padding: 10px; |
| 65 | background: none; |
| 66 | border: none; |
| 67 | cursor: pointer; |
| 68 | font-size: 1em; |
| 69 | color: #999; |
| 70 | border-bottom: 3px solid transparent; |
| 71 | transition: all 0.3s; |
| 72 | } |
| 73 | |
| 74 | .tab-btn.active { |
| 75 | color: #667eea; |
| 76 | border-bottom-color: #667eea; |
| 77 | } |
| 78 | |
| 79 | .tab-btn:hover { |
| 80 | color: #667eea; |
| 81 | } |
| 82 | |
| 83 | .tab-content { |
| 84 | display: none; |
| 85 | } |
| 86 | |
| 87 | .tab-content.active { |
| 88 | display: block; |
| 89 | } |
| 90 | |
| 91 | .tab-content form { |
| 92 | display: flex; |
| 93 | flex-direction: column; |
| 94 | gap: 15px; |
| 95 | } |
| 96 | |
| 97 | input { |
| 98 | padding: 12px; |
| 99 | border: 1px solid #ddd; |
| 100 | border-radius: 5px; |
| 101 | font-size: 1em; |
| 102 | transition: border-color 0.3s; |
| 103 | } |
| 104 | |
| 105 | input:focus { |
| 106 | outline: none; |
| 107 | border-color: #667eea; |
| 108 | box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); |
| 109 | } |
| 110 | |
| 111 | button { |
| 112 | padding: 12px; |
| 113 | border: none; |
| 114 | border-radius: 5px; |
| 115 | font-size: 1em; |
| 116 | cursor: pointer; |
| 117 | transition: all 0.3s; |
| 118 | font-weight: bold; |
| 119 | } |
| 120 | |
| 121 | .primary { |
| 122 | background: #667eea; |
| 123 | color: white; |
| 124 | } |
| 125 | |
| 126 | .primary:hover { |
| 127 | background: #5568d3; |
| 128 | transform: translateY(-2px); |
| 129 | box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4); |
| 130 | } |
| 131 | |
| 132 | .secondary { |
| 133 | background: #f0f0f0; |
| 134 | color: #333; |
| 135 | } |
| 136 | |
| 137 | .secondary:hover { |
| 138 | background: #e0e0e0; |
| 139 | } |
| 140 | |
| 141 | .error-message { |
| 142 | color: #e74c3c; |
| 143 | text-align: center; |
| 144 | margin-top: 15px; |
| 145 | display: none; |
| 146 | } |
| 147 | |
| 148 | .error-message.show { |
| 149 | display: block; |
| 150 | } |
| 151 | |
| 152 | /* Main Menu Screen */ |
| 153 | .main-menu { |
| 154 | background: white; |
| 155 | padding: 40px; |
| 156 | border-radius: 10px; |
| 157 | box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); |
| 158 | max-width: 800px; |
| 159 | width: 100%; |
| 160 | } |
| 161 | |
| 162 | .main-menu h1 { |
| 163 | text-align: center; |
| 164 | color: #667eea; |
| 165 | margin-bottom: 20px; |
| 166 | } |
| 167 | |
| 168 | .user-info { |
| 169 | text-align: right; |
| 170 | margin-bottom: 30px; |
| 171 | padding-bottom: 20px; |
| 172 | border-bottom: 1px solid #eee; |
| 173 | } |
| 174 | |
| 175 | .user-info p { |
| 176 | margin-bottom: 10px; |
| 177 | color: #666; |
| 178 | } |
| 179 | |
| 180 | .saves-section h2 { |
| 181 | color: #333; |
| 182 | margin-bottom: 20px; |
| 183 | } |
| 184 | |
| 185 | .saves-grid { |
| 186 | display: grid; |
| 187 | grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); |
| 188 | gap: 15px; |
| 189 | margin-bottom: 20px; |
| 190 | } |
| 191 | |
| 192 | .save-card { |
| 193 | background: #f9f9f9; |
| 194 | border: 2px solid #ddd; |
| 195 | border-radius: 5px; |
| 196 | padding: 15px; |
| 197 | cursor: pointer; |
| 198 | transition: all 0.3s; |
| 199 | } |
| 200 | |
| 201 | .save-card:hover { |
| 202 | border-color: #667eea; |
| 203 | box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2); |
| 204 | transform: translateY(-2px); |
| 205 | } |
| 206 | |
| 207 | .save-card h3 { |
| 208 | margin-bottom: 10px; |
| 209 | color: #667eea; |
| 210 | } |
| 211 | |
| 212 | .save-card p { |
| 213 | font-size: 0.9em; |
| 214 | color: #666; |
| 215 | margin-bottom: 5px; |
| 216 | } |
| 217 | |
| 218 | /* Game Setup Screen */ |
| 219 | .game-setup { |
| 220 | background: white; |
| 221 | padding: 40px; |
| 222 | border-radius: 10px; |
| 223 | box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); |
| 224 | max-width: 1000px; |
| 225 | width: 100%; |
| 226 | } |
| 227 | |
| 228 | .game-setup h2 { |
| 229 | color: #667eea; |
| 230 | margin-bottom: 30px; |
| 231 | } |
| 232 | |
| 233 | .setup-step { |
| 234 | display: block; |
| 235 | } |
| 236 | |
| 237 | .setup-step.hidden { |
| 238 | display: none; |
| 239 | } |
| 240 | |
| 241 | .setup-step p { |
| 242 | margin-bottom: 15px; |
| 243 | font-size: 1.1em; |
| 244 | color: #333; |
| 245 | } |
| 246 | |
| 247 | .setup-step input { |
| 248 | display: block; |
| 249 | width: 100%; |
| 250 | margin-bottom: 20px; |
| 251 | } |
| 252 | |
| 253 | .kobold-grid { |
| 254 | display: grid; |
| 255 | grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); |
| 256 | gap: 15px; |
| 257 | margin-bottom: 20px; |
| 258 | } |
| 259 | |
| 260 | .kobold-card { |
| 261 | background: #f9f9f9; |
| 262 | border: 2px solid #ddd; |
| 263 | border-radius: 5px; |
| 264 | padding: 15px; |
| 265 | text-align: center; |
| 266 | cursor: pointer; |
| 267 | transition: all 0.3s; |
| 268 | } |
| 269 | |
| 270 | .kobold-card:hover { |
| 271 | border-color: #667eea; |
| 272 | transform: translateY(-3px); |
| 273 | } |
| 274 | |
| 275 | .kobold-card.selected { |
| 276 | border-color: #27ae60; |
| 277 | background: #eafef0; |
| 278 | } |
| 279 | |
| 280 | .kobold-sprite { |
| 281 | width: 80px; |
| 282 | height: 80px; |
| 283 | background: #ddd; |
| 284 | margin: 0 auto 10px; |
| 285 | border-radius: 3px; |
| 286 | } |
| 287 | |
| 288 | .kobold-stats { |
| 289 | font-size: 0.8em; |
| 290 | color: #666; |
| 291 | text-align: left; |
| 292 | line-height: 1.4; |
| 293 | } |
| 294 | |
| 295 | .counter { |
| 296 | text-align: center; |
| 297 | font-size: 1.1em; |
| 298 | color: #666; |
| 299 | margin-bottom: 20px; |
| 300 | } |
| 301 | |
| 302 | .full-width { |
| 303 | width: 100%; |
| 304 | } |
| 305 | |
| 306 | /* Game Screen */ |
| 307 | .game-container { |
| 308 | background: white; |
| 309 | width: 95%; |
| 310 | max-width: 1400px; |
| 311 | height: 90vh; |
| 312 | border-radius: 10px; |
| 313 | box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); |
| 314 | display: flex; |
| 315 | flex-direction: column; |
| 316 | } |
| 317 | |
| 318 | .game-header { |
| 319 | padding: 20px; |
| 320 | border-bottom: 2px solid #eee; |
| 321 | display: flex; |
| 322 | justify-content: space-between; |
| 323 | align-items: center; |
| 324 | } |
| 325 | |
| 326 | .game-header h1 { |
| 327 | color: #667eea; |
| 328 | } |
| 329 | |
| 330 | .game-time { |
| 331 | font-size: 1.1em; |
| 332 | color: #666; |
| 333 | } |
| 334 | |
| 335 | .game-time span { |
| 336 | margin-left: 20px; |
| 337 | } |
| 338 | |
| 339 | .game-main { |
| 340 | display: flex; |
| 341 | flex: 1; |
| 342 | overflow: hidden; |
| 343 | } |
| 344 | |
| 345 | .game-left { |
| 346 | flex: 1; |
| 347 | display: flex; |
| 348 | flex-direction: column; |
| 349 | border-right: 2px solid #eee; |
| 350 | overflow-y: auto; |
| 351 | } |
| 352 | |
| 353 | .environment { |
| 354 | flex: 1; |
| 355 | background: linear-gradient(to bottom, #87ceeb, #90ee90); |
| 356 | position: relative; |
| 357 | overflow-y: auto; |
| 358 | } |
| 359 | |
| 360 | .placements { |
| 361 | display: flex; |
| 362 | flex-wrap: wrap; |
| 363 | gap: 10px; |
| 364 | padding: 10px; |
| 365 | background: #f9f9f9; |
| 366 | } |
| 367 | |
| 368 | .placement { |
| 369 | width: 60px; |
| 370 | height: 60px; |
| 371 | background: #ddd; |
| 372 | border-radius: 5px; |
| 373 | cursor: pointer; |
| 374 | display: flex; |
| 375 | align-items: center; |
| 376 | justify-content: center; |
| 377 | color: #666; |
| 378 | font-size: 0.8em; |
| 379 | text-align: center; |
| 380 | padding: 5px; |
| 381 | transition: all 0.3s; |
| 382 | } |
| 383 | |
| 384 | .placement:hover { |
| 385 | background: #ccc; |
| 386 | transform: scale(1.05); |
| 387 | } |
| 388 | |
| 389 | .game-right { |
| 390 | width: 300px; |
| 391 | display: flex; |
| 392 | flex-direction: column; |
| 393 | overflow-y: auto; |
| 394 | padding: 15px; |
| 395 | gap: 15px; |
| 396 | } |
| 397 | |
| 398 | .panel { |
| 399 | background: #f9f9f9; |
| 400 | border: 1px solid #ddd; |
| 401 | border-radius: 5px; |
| 402 | padding: 15px; |
| 403 | overflow-y: auto; |
| 404 | } |
| 405 | |
| 406 | .panel h3 { |
| 407 | color: #667eea; |
| 408 | margin-bottom: 10px; |
| 409 | } |
| 410 | |
| 411 | .events-list, |
| 412 | .tribe-list { |
| 413 | display: flex; |
| 414 | flex-direction: column; |
| 415 | gap: 10px; |
| 416 | } |
| 417 | |
| 418 | .event-item, |
| 419 | .tribe-item { |
| 420 | background: white; |
| 421 | border: 1px solid #ddd; |
| 422 | border-radius: 3px; |
| 423 | padding: 10px; |
| 424 | cursor: pointer; |
| 425 | transition: all 0.3s; |
| 426 | } |
| 427 | |
| 428 | .event-item:hover, |
| 429 | .tribe-item:hover { |
| 430 | background: #f0f0f0; |
| 431 | border-color: #667eea; |
| 432 | } |
| 433 | |
| 434 | .tribe-item { |
| 435 | display: flex; |
| 436 | justify-content: space-between; |
| 437 | align-items: center; |
| 438 | } |
| 439 | |
| 440 | .tribe-item-name { |
| 441 | font-weight: bold; |
| 442 | color: #333; |
| 443 | } |
| 444 | |
| 445 | .tribe-item-age { |
| 446 | font-size: 0.8em; |
| 447 | color: #999; |
| 448 | } |
| 449 | |
| 450 | /* Modal */ |
| 451 | .modal { |
| 452 | position: fixed; |
| 453 | top: 0; |
| 454 | left: 0; |
| 455 | right: 0; |
| 456 | bottom: 0; |
| 457 | background: rgba(0, 0, 0, 0.7); |
| 458 | display: flex; |
| 459 | align-items: center; |
| 460 | justify-content: center; |
| 461 | z-index: 1000; |
| 462 | } |
| 463 | |
| 464 | .modal.hidden { |
| 465 | display: none; |
| 466 | } |
| 467 | |
| 468 | .modal-content { |
| 469 | background: white; |
| 470 | border-radius: 10px; |
| 471 | padding: 40px; |
| 472 | max-width: 600px; |
| 473 | width: 90%; |
| 474 | max-height: 80vh; |
| 475 | overflow-y: auto; |
| 476 | position: relative; |
| 477 | } |
| 478 | |
| 479 | .modal-close { |
| 480 | position: absolute; |
| 481 | top: 10px; |
| 482 | right: 10px; |
| 483 | background: none; |
| 484 | border: none; |
| 485 | font-size: 2em; |
| 486 | cursor: pointer; |
| 487 | color: #999; |
| 488 | } |
| 489 | |
| 490 | .modal-close:hover { |
| 491 | color: #333; |
| 492 | } |
| 493 | |
| 494 | .event-story { |
| 495 | font-size: 1.1em; |
| 496 | line-height: 1.6; |
| 497 | color: #333; |
| 498 | margin-bottom: 20px; |
| 499 | white-space: pre-wrap; |
| 500 | } |
| 501 | |
| 502 | /* Storage Window */ |
| 503 | .storage-header { |
| 504 | margin-bottom: 15px; |
| 505 | padding-bottom: 10px; |
| 506 | border-bottom: 1px solid #eee; |
| 507 | } |
| 508 | |
| 509 | .food-display { |
| 510 | font-size: 1.1em; |
| 511 | font-weight: bold; |
| 512 | color: #667eea; |
| 513 | } |
| 514 | |
| 515 | .storage-items { |
| 516 | display: flex; |
| 517 | flex-direction: column; |
| 518 | gap: 8px; |
| 519 | max-height: 200px; |
| 520 | overflow-y: auto; |
| 521 | } |
| 522 | |
| 523 | .storage-item { |
| 524 | padding: 10px; |
| 525 | background: #f9f9f9; |
| 526 | border-radius: 5px; |
| 527 | cursor: pointer; |
| 528 | transition: all 0.2s; |
| 529 | } |
| 530 | |
| 531 | .storage-item:hover { |
| 532 | background: #efe; |
| 533 | transform: translateX(5px); |
| 534 | } |
| 535 | |
| 536 | .storage-item-name { |
| 537 | font-weight: bold; |
| 538 | color: #333; |
| 539 | } |
| 540 | |
| 541 | /* Item Modal */ |
| 542 | .item-modal { |
| 543 | max-width: 400px; |
| 544 | } |
| 545 | |
| 546 | .item-modal-header { |
| 547 | margin-bottom: 15px; |
| 548 | border-bottom: 2px solid #667eea; |
| 549 | padding-bottom: 10px; |
| 550 | } |
| 551 | |
| 552 | .item-modal-header h2 { |
| 553 | color: #667eea; |
| 554 | margin: 0; |
| 555 | } |
| 556 | |
| 557 | .item-description { |
| 558 | margin-bottom: 15px; |
| 559 | line-height: 1.5; |
| 560 | color: #555; |
| 561 | } |
| 562 | |
| 563 | .item-stat-mods { |
| 564 | margin-bottom: 15px; |
| 565 | padding: 10px; |
| 566 | background: #f5f5f5; |
| 567 | border-radius: 5px; |
| 568 | } |
| 569 | |
| 570 | .stat-mod { |
| 571 | display: flex; |
| 572 | justify-content: space-between; |
| 573 | padding: 5px 0; |
| 574 | font-size: 0.9em; |
| 575 | } |
| 576 | |
| 577 | .stat-mod.positive { |
| 578 | color: #28a745; |
| 579 | } |
| 580 | |
| 581 | .stat-mod.negative { |
| 582 | color: #dc3545; |
| 583 | } |
| 584 | |
| 585 | .stat-mod.neutral { |
| 586 | color: #999; |
| 587 | } |
| 588 | |
| 589 | .item-modal-actions { |
| 590 | display: flex; |
| 591 | flex-direction: column; |
| 592 | gap: 10px; |
| 593 | } |
| 594 | |
| 595 | .kobold-select { |
| 596 | padding: 10px; |
| 597 | border: 1px solid #ddd; |
| 598 | border-radius: 5px; |
| 599 | font-size: 1em; |
| 600 | } |
| 601 | |
| 602 | #giveItemBtn:disabled { |
| 603 | opacity: 0.5; |
| 604 | cursor: not-allowed; |
| 605 | } |
| 606 | |
| 607 | /* Kobold Modal */ |
| 608 | .kobold-modal { |
| 609 | max-width: 500px; |
| 610 | max-height: 80vh; |
| 611 | overflow-y: auto; |
| 612 | } |
| 613 | |
| 614 | .kobold-modal-header { |
| 615 | margin-bottom: 15px; |
| 616 | border-bottom: 2px solid #667eea; |
| 617 | padding-bottom: 10px; |
| 618 | } |
| 619 | |
| 620 | .kobold-modal-header h2 { |
| 621 | color: #667eea; |
| 622 | margin: 0 0 5px 0; |
| 623 | } |
| 624 | |
| 625 | .kobold-age { |
| 626 | color: #999; |
| 627 | margin: 0; |
| 628 | font-size: 0.9em; |
| 629 | } |
| 630 | |
| 631 | .kobold-description { |
| 632 | margin-bottom: 15px; |
| 633 | line-height: 1.5; |
| 634 | color: #555; |
| 635 | } |
| 636 | |
| 637 | .kobold-tabs { |
| 638 | display: flex; |
| 639 | gap: 10px; |
| 640 | margin-bottom: 15px; |
| 641 | border-bottom: 1px solid #eee; |
| 642 | } |
| 643 | |
| 644 | .kobold-tab-btn { |
| 645 | padding: 10px 15px; |
| 646 | background: none; |
| 647 | border: none; |
| 648 | cursor: pointer; |
| 649 | font-size: 1em; |
| 650 | color: #999; |
| 651 | border-bottom: 3px solid transparent; |
| 652 | transition: all 0.3s; |
| 653 | } |
| 654 | |
| 655 | .kobold-tab-btn.active { |
| 656 | color: #667eea; |
| 657 | border-bottom-color: #667eea; |
| 658 | } |
| 659 | |
| 660 | .kobold-tab-btn:hover { |
| 661 | color: #667eea; |
| 662 | } |
| 663 | |
| 664 | .kobold-tab-content { |
| 665 | display: none; |
| 666 | } |
| 667 | |
| 668 | .kobold-tab-content.active { |
| 669 | display: block; |
| 670 | } |
| 671 | |
| 672 | .kobold-stats-grid { |
| 673 | display: grid; |
| 674 | grid-template-columns: 1fr 1fr; |
| 675 | gap: 10px; |
| 676 | } |
| 677 | |
| 678 | .stat-item { |
| 679 | padding: 10px; |
| 680 | background: #f9f9f9; |
| 681 | border-radius: 5px; |
| 682 | } |
| 683 | |
| 684 | .stat-name { |
| 685 | font-weight: bold; |
| 686 | color: #333; |
| 687 | font-size: 0.85em; |
| 688 | text-transform: capitalize; |
| 689 | } |
| 690 | |
| 691 | .stat-value { |
| 692 | color: #667eea; |
| 693 | font-size: 1.2em; |
| 694 | margin-top: 5px; |
| 695 | } |
| 696 | |
| 697 | .stat-label { |
| 698 | color: #999; |
| 699 | font-size: 0.75em; |
| 700 | } |
| 701 | |
| 702 | .kobold-inventory-list { |
| 703 | display: flex; |
| 704 | flex-direction: column; |
| 705 | gap: 8px; |
| 706 | } |
| 707 | |
| 708 | .kobold-inventory-item { |
| 709 | padding: 10px; |
| 710 | background: #f9f9f9; |
| 711 | border-radius: 5px; |
| 712 | cursor: pointer; |
| 713 | transition: all 0.2s; |
| 714 | } |
| 715 | |
| 716 | .kobold-inventory-item:hover { |
| 717 | background: #fef; |
| 718 | transform: translateX(5px); |
| 719 | } |
| 720 | |
| 721 | .kobold-item-name { |
| 722 | font-weight: bold; |
| 723 | color: #333; |
| 724 | } |
| 725 | |
| 726 | .kobold-inventory-empty { |
| 727 | padding: 20px; |
| 728 | text-align: center; |
| 729 | color: #999; |
| 730 | font-style: italic; |
| 731 | } |
| 732 | |
| 733 | .kobold-injuries-list { |
| 734 | display: flex; |
| 735 | flex-direction: column; |
| 736 | gap: 8px; |
| 737 | } |
| 738 | |
| 739 | .injury-item { |
| 740 | padding: 10px; |
| 741 | background: #fff7f7; |
| 742 | border: 1px solid #f2dede; |
| 743 | border-radius: 5px; |
| 744 | } |
| 745 | |
| 746 | .injury-name { |
| 747 | font-weight: bold; |
| 748 | color: #b94a48; |
| 749 | } |
| 750 | |
| 751 | .injury-desc { |
| 752 | color: #666; |
| 753 | font-size: 0.95em; |
| 754 | } |
| 755 | |
| 756 | .injury-actions { |
| 757 | margin-top: 8px; |
| 758 | display: flex; |
| 759 | gap: 8px; |
| 760 | } |
| 761 | |
| 762 | /* Config Screen */ |
| 763 | .config-container { |
| 764 | background: white; |
| 765 | padding: 40px; |
| 766 | border-radius: 10px; |
| 767 | box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); |
| 768 | max-width: 600px; |
| 769 | width: 100%; |
| 770 | } |
| 771 | |
| 772 | .config-container h2 { |
| 773 | color: #667eea; |
| 774 | margin-bottom: 30px; |
| 775 | } |
| 776 | |
| 777 | .config-section { |
| 778 | margin-bottom: 30px; |
| 779 | } |
| 780 | |
| 781 | .config-section h3 { |
| 782 | color: #333; |
| 783 | margin-bottom: 15px; |
| 784 | } |
| 785 | |
| 786 | .config-list { |
| 787 | display: flex; |
| 788 | flex-direction: column; |
| 789 | gap: 10px; |
| 790 | } |
| 791 | |
| 792 | .config-item { |
| 793 | display: flex; |
| 794 | align-items: center; |
| 795 | gap: 10px; |
| 796 | padding: 10px; |
| 797 | background: #f9f9f9; |
| 798 | border-radius: 5px; |
| 799 | } |
| 800 | |
| 801 | .config-item input[type="checkbox"] { |
| 802 | width: 18px; |
| 803 | height: 18px; |
| 804 | cursor: pointer; |
| 805 | } |
| 806 | |
| 807 | .config-item label { |
| 808 | flex: 1; |
| 809 | cursor: pointer; |
| 810 | } |
| 811 | |
| 812 | /* Participant Selection */ |
| 813 | .participants-list { |
| 814 | display: flex; |
| 815 | flex-direction: column; |
| 816 | gap: 10px; |
| 817 | margin: 20px 0; |
| 818 | max-height: 400px; |
| 819 | overflow-y: auto; |
| 820 | border: 1px solid #ddd; |
| 821 | padding: 10px; |
| 822 | border-radius: 5px; |
| 823 | } |
| 824 | |
| 825 | .participant-row { |
| 826 | display: flex; |
| 827 | align-items: center; |
| 828 | padding: 10px; |
| 829 | border: 1px solid #e0e0e0; |
| 830 | border-radius: 4px; |
| 831 | background: #fafafa; |
| 832 | } |
| 833 | |
| 834 | .participant-row.eligible { |
| 835 | background: #f0f8ff; |
| 836 | border-color: #667eea; |
| 837 | } |
| 838 | |
| 839 | .participant-row.eligible label { |
| 840 | cursor: pointer; |
| 841 | flex: 1; |
| 842 | display: flex; |
| 843 | align-items: center; |
| 844 | gap: 10px; |
| 845 | } |
| 846 | |
| 847 | .participant-row.eligible input[type="checkbox"] { |
| 848 | cursor: pointer; |
| 849 | width: 18px; |
| 850 | height: 18px; |
| 851 | } |
| 852 | |
| 853 | .participant-row.ineligible { |
| 854 | background: #f5f5f5; |
| 855 | border-color: #ccc; |
| 856 | opacity: 0.6; |
| 857 | } |
| 858 | |
| 859 | .participant-disabled { |
| 860 | display: flex; |
| 861 | justify-content: space-between; |
| 862 | align-items: center; |
| 863 | width: 100%; |
| 864 | flex: 1; |
| 865 | } |
| 866 | |
| 867 | .disabled-reason { |
| 868 | font-size: 0.85em; |
| 869 | color: #999; |
| 870 | font-style: italic; |
| 871 | margin-left: 10px; |
| 872 | } |
| 873 | |
| 874 | .participant-footer { |
| 875 | display: flex; |
| 876 | justify-content: space-between; |
| 877 | align-items: center; |
| 878 | margin-top: 20px; |
| 879 | gap: 10px; |
| 880 | } |
| 881 | |
| 882 | .participant-footer .counter { |
| 883 | font-size: 0.9em; |
| 884 | color: #666; |
| 885 | } |
| 886 | |
| 887 | .participant-footer button { |
| 888 | flex: 1; |
| 889 | max-width: 150px; |
| 890 | } |
| 891 | |
| 892 | /* Responsive */ |
| 893 | @media (max-width: 768px) { |
| 894 | .game-main { |
| 895 | flex-direction: column; |
| 896 | } |
| 897 | |
| 898 | .game-right { |
| 899 | width: 100%; |
| 900 | border-right: none; |
| 901 | border-top: 2px solid #eee; |
| 902 | } |
| 903 | |
| 904 | .kobold-grid { |
| 905 | grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); |
| 906 | } |
| 907 | } |