Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f0979455d1 | ||
|
|
11796beeaa | ||
|
|
a4187191dc | ||
|
|
7a264c36df | ||
|
|
6f98f894f2 | ||
|
|
012612b06f | ||
|
|
cf424b6be1 | ||
|
|
f9f950fc7f | ||
|
|
3a1242650f | ||
|
|
98cff2185d | ||
|
|
2ce563a4b9 | ||
|
|
0842cb3458 | ||
|
|
d30e83c0a5 | ||
|
|
179843700a | ||
|
|
50541207eb | ||
|
|
9a3763dc11 | ||
|
|
dc911f3281 | ||
|
|
fd5c2b5330 | ||
|
|
256d6d5211 | ||
|
|
0fc26624d9 | ||
|
|
9101770614 | ||
|
|
179cd970ad | ||
|
|
c361dccd34 | ||
|
|
1e88304019 | ||
|
|
e559e84a69 | ||
|
|
a317e73958 | ||
|
|
5a9121b872 | ||
|
|
0edf208405 | ||
|
|
dfb972abbd | ||
|
|
eb140cdb1c | ||
|
|
e3ea03a05d | ||
|
|
693744a961 | ||
|
|
ce1535fe2d | ||
|
|
738ecc7a09 | ||
|
|
6b4aa9772d | ||
|
|
545e16f153 | ||
|
|
1c35698dbe | ||
|
|
f9e8719b2d | ||
|
|
ddd4447563 | ||
|
|
959154c3c0 | ||
|
|
4b6c18f654 | ||
|
|
d615f03e15 | ||
|
|
15d2ac0a4d | ||
|
|
cbde7b367e | ||
|
|
9fc05d18ee | ||
|
|
6119d7f21e | ||
|
|
7e170a00c7 | ||
|
|
622973c2cf | ||
|
|
e9483048f4 | ||
|
|
dcf42f2da7 | ||
|
|
f75e0f8e49 | ||
|
|
7d3b3f1101 | ||
|
|
94dc5ecbc4 | ||
|
|
85a1fe5a95 | ||
|
|
1fb6499b15 | ||
|
|
d3ea650c07 | ||
|
|
98e6982d07 | ||
|
|
706577d002 | ||
|
|
d6d31f939d | ||
|
|
6570384642 | ||
|
|
055b48697e | ||
|
|
651d262546 | ||
|
|
9c436c753e | ||
|
|
d943494ef4 | ||
|
|
d3d526c2e4 | ||
|
|
6e400d708c | ||
|
|
eb5c5d6211 | ||
|
|
74c1504e3a | ||
|
|
06445c24ef | ||
|
|
f2c895ffb0 | ||
|
|
abbba65a81 | ||
|
|
dc3ecc3a8a | ||
|
|
7c5030ca4b | ||
|
|
822331f045 | ||
|
|
10a8f0b881 | ||
|
|
b845bbfcbc | ||
|
|
ef25407484 | ||
|
|
0046ab90d0 | ||
|
|
28f51dabbc | ||
|
|
5807db67bf | ||
|
|
fda4b72967 | ||
|
|
1400848387 | ||
|
|
43317985e4 | ||
|
|
893c0d417e | ||
|
|
e6bc72d3a0 | ||
|
|
6386c891b5 | ||
|
|
05982c307b | ||
|
|
4372e6b78a | ||
|
|
f71f072774 | ||
|
|
ccb7c3f3ec | ||
|
|
b843cbd636 | ||
|
|
3f1a44b320 | ||
|
|
2ca6b21a94 | ||
|
|
6054a44acf | ||
|
|
015fa65f56 | ||
|
|
86f248bbd5 | ||
|
|
925042b559 | ||
|
|
e82ce1649f | ||
|
|
ae817c6d6d | ||
|
|
a1590a34ef | ||
|
|
43ae1ab510 | ||
|
|
78b827a0e6 | ||
|
|
2c4b9d2595 | ||
|
|
99a48a463d | ||
|
|
fec4c6c7e7 | ||
|
|
3336d01004 | ||
|
|
9061123c7e | ||
|
|
d8beaecd6f | ||
|
|
8f96945c43 | ||
|
|
b809a8de14 | ||
|
|
415ace1b8e | ||
|
|
950d79d529 | ||
|
|
1eb5e99847 | ||
|
|
4fddecb06e | ||
|
|
8b8eda6af6 | ||
|
|
c39b02f289 | ||
|
|
4903e79476 | ||
|
|
9dd8731c66 | ||
|
|
e710937ca9 | ||
|
|
8e3d9f83e0 | ||
|
|
0a54b8338e | ||
|
|
bf3fd81ace | ||
|
|
4cb428535d | ||
|
|
d085697bb9 | ||
|
|
d88bf2872a | ||
|
|
be7d6bd43e | ||
|
|
a779db7f73 | ||
|
|
b02ee52dee | ||
|
|
adf1af4ef6 | ||
|
|
c2fb772c04 | ||
|
|
a207b0129e | ||
|
|
8b3b51de55 | ||
|
|
bfcf9a07bf | ||
|
|
fff2cc2f0b | ||
|
|
e81ecf95f2 | ||
|
|
967520190d | ||
|
|
a0bb8b47dc | ||
|
|
6bcd95d668 | ||
|
|
ab4a962a39 | ||
|
|
3891706023 | ||
|
|
246e63a550 | ||
|
|
31bcf93205 | ||
|
|
db89d889f7 | ||
|
|
73d5a19ef2 | ||
|
|
adb4166a80 | ||
|
|
8222926d9c | ||
|
|
a45217c362 | ||
|
|
349c416f3a | ||
|
|
0f36b507d4 | ||
|
|
96e88c9579 | ||
|
|
d419943e86 | ||
|
|
ddaebec183 | ||
|
|
85359a136f | ||
|
|
ad1968420b | ||
|
|
5ea213feb1 | ||
|
|
aadc50cb75 | ||
|
|
7ed048d935 | ||
|
|
cdfcb641b4 | ||
|
|
8661c612b0 | ||
|
|
f41823ef6b | ||
|
|
d533f260a0 | ||
|
|
d6df7e0c8a | ||
|
|
bf3f910437 | ||
|
|
ec1d804d08 | ||
|
|
0cace5a984 | ||
|
|
77d1f93e8f | ||
|
|
44a7a77915 | ||
|
|
7de6f644f2 | ||
|
|
3dbaea294a | ||
|
|
ce79697b20 | ||
|
|
a11311994d | ||
|
|
d92cfc3110 | ||
|
|
0aa0ed68ca | ||
|
|
4639fe5a91 | ||
|
|
f92be693af | ||
|
|
3d6dfc61e0 | ||
|
|
2114598fba | ||
|
|
edd59db604 | ||
|
|
2a59d398fb | ||
|
|
4f6ec1e240 | ||
|
|
0a6be70046 | ||
|
|
7742d014f9 | ||
|
|
7c08e39607 | ||
|
|
d42c855843 | ||
|
|
af60e499a2 | ||
|
|
9a93c4fcc8 | ||
|
|
13461c693a | ||
|
|
201eef88e4 | ||
|
|
57d75ab2f5 | ||
|
|
28b59d9890 | ||
|
|
6f55622307 | ||
|
|
13bdc56f04 | ||
|
|
3a31a18c15 | ||
|
|
de8b53fce2 | ||
|
|
79bf38aa78 | ||
|
|
c737c17870 | ||
|
|
400872c55f | ||
|
|
42b728d4ea | ||
|
|
11a6356c1e | ||
|
|
a4a37f1cb2 | ||
|
|
f2fcb28f65 | ||
|
|
badd08f05e | ||
|
|
2f743e607d | ||
|
|
96203aea20 | ||
|
|
d6a929534b | ||
|
|
d856000780 | ||
|
|
d8ccf7b364 | ||
|
|
0e708f2b63 | ||
|
|
cb0ba33cd2 | ||
|
|
fc5fcca757 | ||
|
|
b594696e2b | ||
|
|
6a3e51038c | ||
|
|
354baf2e6f | ||
|
|
fe307dea41 | ||
|
|
245e213cca | ||
|
|
f21247a244 | ||
|
|
59be8b0b21 | ||
|
|
814583e482 | ||
|
|
e306c2c4a2 | ||
|
|
06e846416a | ||
|
|
678fce47f6 | ||
|
|
a7aa1d3713 | ||
|
|
500354cc39 | ||
|
|
856d38cc0c | ||
|
|
d9d05f83b4 | ||
|
|
c1121da116 | ||
|
|
9f1928bd9e | ||
|
|
221478b629 |
No files matched your search
@@ -66,6 +66,12 @@ jobs:
|
||||
run: cmake --build build --config Release --parallel 2
|
||||
- name: Run synthetic tests and report data tests as skipped
|
||||
run: ctest --test-dir build -C Release --output-on-failure --output-junit test-results.xml
|
||||
- name: Windows Server launcher with WARP software graphics
|
||||
if: runner.os == 'Windows'
|
||||
env:
|
||||
SDL_VIDEODRIVER: windows
|
||||
OPENBMH_RML_DRIVER: warp
|
||||
run: build/launcher_gui_smoke.exe
|
||||
- name: Package products and licenses
|
||||
run: python3 tools/package/make_package.py --build build --out dist --platform ${{ matrix.platform }}
|
||||
- name: Package corresponding source and pinned dependencies
|
||||
|
||||
@@ -47,16 +47,30 @@ jobs:
|
||||
run: |
|
||||
args=()
|
||||
if [[ "$RUNNER_OS" == "macOS" ]]; then args+=(-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0); fi
|
||||
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DOPENBMH_BUILD_EDITOR=ON -DBMH_DATA= "${args[@]}"
|
||||
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DOPENBMH_BUILD_EDITOR=ON -DBMH_DATA= "${args[@]}"
|
||||
- name: Check portable Windows WebP instructions
|
||||
if: runner.os == 'Windows'
|
||||
shell: python
|
||||
run: |
|
||||
import json, pathlib, re
|
||||
commands = json.loads(pathlib.Path('build/compile_commands.json').read_text())
|
||||
simd = [c for c in commands if 'libwebp' in c['file'] and re.search(r'_sse(?:2|41)\.c$', c['file'])]
|
||||
assert simd, 'No WebP runtime-dispatched SIMD sources found'
|
||||
assert all(not re.search(r'/arch:AVX', c['command'], re.I) for c in simd), 'WebP SSE paths must run without AVX'
|
||||
print('WebP SSE paths retain the Windows x64 baseline and runtime CPU detection')
|
||||
- name: Build editor and synthetic tests
|
||||
run: cmake --build build --target openbmh_editor editor_core_tests --parallel 2
|
||||
run: cmake --build build --target openbmh_editor launcher_gui_smoke editor_core_tests editor_comparison_tests editor_regulations_tests --parallel 2
|
||||
- name: Native editor core and MCP tests
|
||||
run: ctest --test-dir build -C Release -R "^editor_(core_tests|version)$" --output-on-failure --output-junit editor-tests.xml
|
||||
run: ctest --test-dir build -C Release -R "^editor_(core_tests|comparison_tests|regulations_tests|version)$" --output-on-failure --output-junit editor-tests.xml
|
||||
- name: Linux native GUI smoke
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
xvfb-run -a -s '-screen 0 1600x1000x24' python3 tests/editor_gui_smoke.py build/OpenBMHEditor
|
||||
xvfb-run -a -s '-screen 0 1600x1000x24' build/OpenBMHEditor --demo --page players --settings build/test-options.json --screenshot build/editor.png --quit-after-ms 1800
|
||||
xvfb-run -a -s '-screen 0 1600x1000x24' python3 tests/editor_startup_smoke.py build/OpenBMHEditor --launcher build/launcher_gui_smoke
|
||||
- name: Windows Server native GUI and WARP fallback
|
||||
if: runner.os == 'Windows'
|
||||
run: python3 tests/editor_startup_smoke.py build/OpenBMHEditor.exe --launcher build/launcher_gui_smoke.exe
|
||||
- name: Package editor
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
# Builds the Modern season core, its console and the data-free Modern engine tests on all
|
||||
# three platforms (docs/new_engine). The game data tests stay local.
|
||||
name: Modern engine
|
||||
on:
|
||||
push:
|
||||
branches: ['0.3']
|
||||
paths:
|
||||
- 'src/modern/game/**'
|
||||
- 'src/modern/content/**'
|
||||
- 'src/modern/app/**'
|
||||
- 'src/game/**'
|
||||
- 'src/app/**'
|
||||
- 'src/formats/**'
|
||||
- 'tests/modern_*'
|
||||
- 'CMakeLists.txt'
|
||||
- '.github/workflows/modern-engine.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/modern/game/**'
|
||||
- 'src/modern/content/**'
|
||||
- 'src/modern/app/**'
|
||||
- 'tests/modern_*'
|
||||
- '.github/workflows/modern-engine.yml'
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
concurrency:
|
||||
group: modern-engine-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
engine:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-24.04, windows-2022, macos-14]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
SDL_VIDEODRIVER: dummy
|
||||
SDL_AUDIODRIVER: dummy
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Linux dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: sudo apt-get update && sudo apt-get install -y build-essential git cmake ninja-build pkg-config libgtk-3-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxfixes-dev libxss-dev libasound2-dev libpulse-dev libgl1-mesa-dev libudev-dev
|
||||
- name: Set up MSVC
|
||||
if: runner.os == 'Windows'
|
||||
uses: ilammy/msvc-dev-cmd@a102174a2b586eec2ea151a69e6fd14404a8ce7c # v1.13.0
|
||||
with:
|
||||
arch: x64
|
||||
- name: Configure without game data
|
||||
run: cmake -S . -B build-engine -G Ninja -DCMAKE_BUILD_TYPE=Release -DOPENBMH_BUILD_EDITOR=OFF -DBMH_DATA=
|
||||
- name: Compile the Modern console, simulator and engine tests
|
||||
run: cmake --build build-engine --target openbmh_modern_cli modern_season_sim modern_world_info modern_camp_tests modern_almanac_tests modern_toto_tests modern_calendar_tests modern_traffic_tests --parallel 2
|
||||
- name: Run the data-free Modern engine tests
|
||||
run: ctest --test-dir build-engine -R "^modern_(camp|almanac|toto|calendar|traffic)_tests$" --output-on-failure --output-junit modern-engine-results.xml
|
||||
- name: Upload test report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: modern-engine-tests-${{ matrix.os }}
|
||||
path: build-engine/modern-engine-results.xml
|
||||
if-no-files-found: warn
|
||||
@@ -0,0 +1,64 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
name: Modern UI controls
|
||||
on:
|
||||
push:
|
||||
branches: ['0.3']
|
||||
paths:
|
||||
- 'src/modern/ui/**'
|
||||
- 'assets/modern/**'
|
||||
- 'src/launch/rml_*'
|
||||
- 'src/editor/archive.*'
|
||||
- 'src/editor/images.*'
|
||||
- 'src/editor/CMakeLists.txt'
|
||||
- 'tests/modern_*'
|
||||
- 'CMakeLists.txt'
|
||||
- '.github/workflows/modern-ui.yml'
|
||||
pull_request:
|
||||
paths:
|
||||
- 'src/modern/ui/**'
|
||||
- 'assets/modern/**'
|
||||
- 'tests/modern_*'
|
||||
- 'CMakeLists.txt'
|
||||
- '.github/workflows/modern-ui.yml'
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
concurrency:
|
||||
group: modern-ui-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
controls:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-24.04, windows-2022, macos-14]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
SDL_VIDEODRIVER: dummy
|
||||
SDL_AUDIODRIVER: dummy
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install Linux dependencies
|
||||
if: runner.os == 'Linux'
|
||||
run: sudo apt-get update && sudo apt-get install -y build-essential git cmake ninja-build pkg-config libgtk-3-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxfixes-dev libxss-dev libasound2-dev libpulse-dev libgl1-mesa-dev libudev-dev
|
||||
- name: Set up MSVC
|
||||
if: runner.os == 'Windows'
|
||||
uses: ilammy/msvc-dev-cmd@a102174a2b586eec2ea151a69e6fd14404a8ce7c # v1.13.0
|
||||
with:
|
||||
arch: x64
|
||||
- name: Configure opt-in UI without external assets
|
||||
run: cmake -S . -B build-ui -G Ninja -DCMAKE_BUILD_TYPE=Release -DOPENBMH_BUILD_MODERN_UI=ON -DOPENBMH_BUILD_EDITOR=OFF -DBMH_DATA=
|
||||
- name: Compile native frontend and synthetic checks
|
||||
run: cmake --build build-ui --target openbmh_play modern_ui_core_tests modern_ticket_document_tests modern_control_layout_tests modern_reports_tests modern_planning_tests modern_almanac_ui_tests modern_finance_ui_tests modern_environment_ui_tests modern_advertising_ui_tests modern_toto_ui_tests modern_lineup_ui_tests modern_transfer_ui_tests modern_career_reports_tests modern_rankings_tests modern_career_files_tests modern_statistics_projection_tests modern_toto_projection_tests modern_toto_quote_tests modern_stadium_ui_tests modern_stadium_projection_tests modern_statistics_ui_tests modern_news_ui_tests modern_settings_ui_tests modern_desktop_ui_tests modern_files_ui_tests modern_mods_ui_tests modern_entry_ui_tests modern_opening_ui_tests modern_select_menu_tests modern_career_ui_tests modern_live_ui_tests modern_national_ui_tests modern_news_catalog_tests modern_post_match_ui_tests modern_engine_dto_tests modern_report_read_tests modern_other_read_tests modern_rankings_read_tests modern_winners_read_tests modern_manager_presentation_tests modern_coach_identity_tests modern_transfer_read_tests modern_transfer_projection_tests modern_achievements_projection_tests modern_news_projection_tests modern_balance_projection_tests modern_widgets_projection_tests modern_indoor_projection_tests modern_settings_projection_tests modern_managers_projection_tests --parallel 2
|
||||
- name: Check controls, fonts, density and draft cancellation
|
||||
run: ctest --test-dir build-ui -R "^modern_(ui_|ticket_|control_|reports_|planning_|almanac_ui_|finance_ui_|environment_ui_|advertising_ui_|toto_ui_|lineup_ui_|transfer_ui_|career_reports_|rankings_|stadium_ui_|statistics_ui_|news_ui_|settings_ui_|desktop_ui_|files_ui_|mods_ui_|entry_ui_|opening_ui_|select_menu_|career_ui_|live_ui_|national_ui_|news_catalog_|post_match_ui_|engine_dto_|report_read_|career_files_|statistics_projection_|toto_projection_|toto_quote_|stadium_projection_|transfer_projection_|transfer_read_|achievements_projection_|news_projection_|balance_projection_|widgets_projection_|indoor_projection_|settings_projection_|managers_projection_|other_read_|winners_read_|manager_presentation_|coach_identity_)" -LE external-data --output-on-failure --output-junit modern-ui-results.xml
|
||||
- name: Upload test report
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: modern-ui-tests-${{ matrix.os }}
|
||||
path: build-ui/modern-ui-results.xml
|
||||
if-no-files-found: warn
|
||||
@@ -1,4 +1,4 @@
|
||||
# Working on OpenBMH
|
||||
# Working on Dreierpack Manager
|
||||
|
||||
Start with [README.md](README.md), [CONTRIBUTING.md](CONTRIBUTING.md) and [docs/architecture.md](docs/architecture.md). Use [docs/CONSOLE_CLIENTS.md](docs/CONSOLE_CLIENTS.md) when writing clients that operate the game.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-only
|
||||
cmake_minimum_required(VERSION 3.24)
|
||||
project(OpenBMH VERSION 0.2.0 LANGUAGES CXX C)
|
||||
project(OpenBMH VERSION 0.2.1 LANGUAGES CXX C)
|
||||
if(APPLE)
|
||||
enable_language(OBJC OBJCXX)
|
||||
set(CMAKE_OBJCXX_STANDARD 20)
|
||||
@@ -219,6 +219,7 @@ add_library(bmhcore STATIC
|
||||
src/game/source_tip.cpp
|
||||
src/game/table_forecast.cpp
|
||||
src/game/state.cpp
|
||||
src/game/world_layout.cpp
|
||||
src/game/rating.cpp
|
||||
src/game/match.cpp
|
||||
src/game/match_engine.cpp
|
||||
@@ -273,6 +274,17 @@ else()
|
||||
target_compile_options(bmhcore PRIVATE -Wall -Wextra)
|
||||
endif()
|
||||
|
||||
# Modern season core: a fork of the Classic season sources (docs/new_engine) that shares
|
||||
# formats, GameState and the match core with Classic through bmhcore.
|
||||
file(GLOB BMH_SEASON_MODERN_SOURCES CONFIGURE_DEPENDS src/modern/game/*.cpp)
|
||||
add_library(bmh_season_modern STATIC ${BMH_SEASON_MODERN_SOURCES})
|
||||
target_link_libraries(bmh_season_modern PUBLIC bmhcore)
|
||||
if(MSVC)
|
||||
target_compile_options(bmh_season_modern PRIVATE /W4 /utf-8 /bigobj)
|
||||
else()
|
||||
target_compile_options(bmh_season_modern PRIVATE -Wall -Wextra)
|
||||
endif()
|
||||
|
||||
add_executable(openbmh_inspect src/main.cpp)
|
||||
target_link_libraries(openbmh_inspect PRIVATE bmhcore ${BMH_SDL_TARGET})
|
||||
if(MSVC)
|
||||
@@ -326,10 +338,39 @@ endif()
|
||||
|
||||
add_subdirectory(src/ui)
|
||||
add_subdirectory(src/import)
|
||||
|
||||
# Modern session: fork of the Classic CareerSession on the Modern season core. It still
|
||||
# uses the Classic UI projections until the Modern projections exist (docs/new_engine).
|
||||
# Modern world packages: the world tables and the Classic payload of a Modern data set.
|
||||
add_library(bmh_modern_content STATIC src/modern/content/world.cpp src/modern/content/world_package.cpp
|
||||
src/modern/content/world_save.cpp
|
||||
src/modern/content/world_expand.cpp
|
||||
src/modern/content/statistics.cpp
|
||||
src/modern/content/toto_quote.cpp src/modern/content/transfer_market.cpp src/modern/content/projections.cpp src/modern/content/ui_contract.cpp src/modern/content/press_journal.cpp)
|
||||
target_link_libraries(bmh_modern_content PUBLIC bmh_content bmh_season_modern PRIVATE bmh_miniz)
|
||||
if(MSVC)
|
||||
target_compile_options(bmh_modern_content PRIVATE /W4 /utf-8)
|
||||
endif()
|
||||
|
||||
add_executable(modern_world_info tests/modern_world_info.cpp)
|
||||
target_link_libraries(modern_world_info PRIVATE bmh_modern_content)
|
||||
|
||||
add_library(bmh_modern_session STATIC src/modern/app/modern_session.cpp)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(bmh_modern_session PUBLIC bmh_season_modern bmh_modern_content bmhui Threads::Threads)
|
||||
if(MSVC)
|
||||
target_compile_options(bmh_modern_session PRIVATE /W4 /utf-8 /bigobj)
|
||||
else()
|
||||
target_compile_options(bmh_modern_session PRIVATE -Wall -Wextra)
|
||||
endif()
|
||||
option(OPENBMH_BUILD_EDITOR "Build the standalone OBW editor" OFF)
|
||||
if(OPENBMH_BUILD_EDITOR)
|
||||
option(OPENBMH_BUILD_MODERN_UI "Build the experimental native Modern UI demonstration" OFF)
|
||||
if(OPENBMH_BUILD_EDITOR OR OPENBMH_BUILD_MODERN_UI)
|
||||
add_subdirectory(src/editor)
|
||||
endif()
|
||||
if(OPENBMH_BUILD_MODERN_UI)
|
||||
add_subdirectory(src/modern/ui)
|
||||
endif()
|
||||
target_link_libraries(bmhui PUBLIC bmh_content)
|
||||
add_executable(driver_barrier_tests tests/driver_barrier_tests.cpp)
|
||||
target_link_libraries(driver_barrier_tests PRIVATE bmhcore)
|
||||
@@ -454,6 +495,10 @@ add_executable(openbmh_play
|
||||
${BMH_APP_CONTROLLER_SOURCE}
|
||||
${BMH_APP_SESSION_SDL_SOURCE})
|
||||
target_link_libraries(openbmh_play PRIVATE bmhui bmh_launcher bmhlaunch_dialog openbmh_audio ${BMH_SDL_TARGET})
|
||||
if(OPENBMH_BUILD_MODERN_UI)
|
||||
target_link_libraries(openbmh_play PRIVATE bmh_modern_ui)
|
||||
target_compile_definitions(openbmh_play PRIVATE OPENBMH_MODERN_UI=1)
|
||||
endif()
|
||||
# a game without a console window on double-click (SDL2main provides WinMain); started from a
|
||||
# console it attaches to that one for --version, --help and start errors (src/app/main.cpp)
|
||||
set_target_properties(openbmh_play PROPERTIES WIN32_EXECUTABLE TRUE OUTPUT_NAME OpenBMH)
|
||||
@@ -461,6 +506,11 @@ if(CMAKE_CONFIGURATION_TYPES)
|
||||
add_custom_command(TARGET openbmh_play POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_BINARY_DIR}/assets/launcher"
|
||||
"$<TARGET_FILE_DIR:openbmh_play>/assets/launcher")
|
||||
if(OPENBMH_BUILD_MODERN_UI)
|
||||
add_custom_command(TARGET openbmh_play POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_BINARY_DIR}/assets/modern"
|
||||
"$<TARGET_FILE_DIR:openbmh_play>/assets/modern")
|
||||
endif()
|
||||
endif()
|
||||
if(MSVC)
|
||||
target_compile_options(openbmh_play PRIVATE /utf-8)
|
||||
@@ -616,6 +666,20 @@ target_link_libraries(season_sim PRIVATE bmhui)
|
||||
if(MSVC)
|
||||
target_compile_options(season_sim PRIVATE /utf-8)
|
||||
endif()
|
||||
# The engine side of the Modern interface contract (docs/new_engine/ui-anbindung.md).
|
||||
add_executable(modern_ui_contract_tests tests/modern_ui_contract_tests.cpp)
|
||||
target_link_libraries(modern_ui_contract_tests PRIVATE bmh_modern_session)
|
||||
if(MSVC)
|
||||
target_compile_options(modern_ui_contract_tests PRIVATE /utf-8 /bigobj)
|
||||
endif()
|
||||
bmh_add_data_test(NAME modern_ui_contract_tests COMMAND modern_ui_contract_tests "${BMH_DATA}")
|
||||
|
||||
# The Modern fork of season_sim; with Classic data its output must equal season_sim's.
|
||||
add_executable(modern_season_sim tests/modern_season_sim.cpp)
|
||||
target_link_libraries(modern_season_sim PRIVATE bmh_modern_session)
|
||||
if(MSVC)
|
||||
target_compile_options(modern_season_sim PRIVATE /utf-8)
|
||||
endif()
|
||||
|
||||
# Headless terminal/protocol client; owns no game logic and has no SDL dependency.
|
||||
add_executable(openbmh_cli
|
||||
@@ -642,6 +706,42 @@ add_executable(openbmh_cli
|
||||
src/cli/json.cpp
|
||||
${BMH_APP_SESSION_SOURCE})
|
||||
target_link_libraries(openbmh_cli PRIVATE bmh_launcher bmhui bmhlaunch)
|
||||
|
||||
# The same console on the Modern session (docs/new_engine): play a Modern world in the text
|
||||
# console until the new interface is connected. The console and its desk/window actions are
|
||||
# compiled a second time with OPENBMH_MODERN_SESSION (src/app/session.hpp).
|
||||
add_executable(openbmh_modern_cli
|
||||
src/cli/main.cpp
|
||||
src/cli/protocol.cpp
|
||||
src/cli/console/console.cpp
|
||||
src/cli/console/parser.cpp
|
||||
src/cli/console/windows_start.cpp
|
||||
src/cli/console/windows_desk.cpp
|
||||
src/cli/console/windows_tables.cpp
|
||||
src/cli/console/windows_club.cpp
|
||||
src/cli/console/windows_money.cpp
|
||||
src/cli/console/windows_office.cpp
|
||||
src/cli/console/windows_squad.cpp
|
||||
src/cli/console/windows_transfer.cpp
|
||||
src/cli/console/windows_info.cpp
|
||||
src/cli/console/windows_match.cpp
|
||||
src/cli/console/windows_friendly.cpp
|
||||
src/cli/console/windows_reschedule.cpp
|
||||
src/cli/console/windows_balance.cpp
|
||||
src/cli/console/windows_environment.cpp
|
||||
src/cli/console/windows_state.cpp
|
||||
src/cli/seat_hub.cpp
|
||||
src/cli/json.cpp
|
||||
src/app/window_actions.cpp
|
||||
src/app/desktop_actions.cpp)
|
||||
target_compile_definitions(openbmh_modern_cli PRIVATE OPENBMH_MODERN_SESSION)
|
||||
target_link_libraries(openbmh_modern_cli PRIVATE bmh_launcher bmhui bmhlaunch bmh_modern_session)
|
||||
if(WIN32)
|
||||
target_link_libraries(openbmh_modern_cli PRIVATE ws2_32)
|
||||
endif()
|
||||
if(MSVC)
|
||||
target_compile_options(openbmh_modern_cli PRIVATE /utf-8 /bigobj)
|
||||
endif()
|
||||
if(WIN32)
|
||||
target_link_libraries(openbmh_cli PRIVATE ws2_32) # --listen (Winsock)
|
||||
endif()
|
||||
@@ -1111,6 +1211,58 @@ if(MSVC)
|
||||
endif()
|
||||
add_test(NAME quit_confirmation_unit_tests COMMAND quit_confirmation_unit_tests)
|
||||
|
||||
add_executable(modern_camp_tests tests/modern_camp_tests.cpp)
|
||||
target_link_libraries(modern_camp_tests PRIVATE bmh_season_modern)
|
||||
add_test(NAME modern_camp_tests COMMAND modern_camp_tests)
|
||||
add_executable(modern_almanac_tests tests/modern_almanac_tests.cpp)
|
||||
target_link_libraries(modern_almanac_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_almanac_tests COMMAND modern_almanac_tests)
|
||||
add_executable(modern_transfer_read_tests tests/modern_transfer_read_tests.cpp)
|
||||
target_link_libraries(modern_transfer_read_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_transfer_read_tests COMMAND modern_transfer_read_tests)
|
||||
|
||||
add_executable(modern_toto_quote_tests tests/modern_toto_quote_tests.cpp)
|
||||
target_link_libraries(modern_toto_quote_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_toto_quote_tests COMMAND modern_toto_quote_tests)
|
||||
|
||||
add_executable(modern_winners_read_tests tests/modern_winners_read_tests.cpp)
|
||||
target_link_libraries(modern_winners_read_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_winners_read_tests COMMAND modern_winners_read_tests)
|
||||
|
||||
add_executable(modern_coach_identity_tests tests/modern_coach_identity_tests.cpp)
|
||||
target_link_libraries(modern_coach_identity_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_coach_identity_tests COMMAND modern_coach_identity_tests)
|
||||
|
||||
add_executable(modern_manager_presentation_tests tests/modern_manager_presentation_tests.cpp)
|
||||
target_link_libraries(modern_manager_presentation_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_manager_presentation_tests COMMAND modern_manager_presentation_tests)
|
||||
|
||||
add_executable(modern_rankings_read_tests tests/modern_rankings_read_tests.cpp)
|
||||
target_link_libraries(modern_rankings_read_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_rankings_read_tests COMMAND modern_rankings_read_tests)
|
||||
|
||||
add_executable(modern_other_read_tests tests/modern_other_read_tests.cpp)
|
||||
target_link_libraries(modern_other_read_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_other_read_tests COMMAND modern_other_read_tests)
|
||||
|
||||
add_executable(modern_report_read_tests tests/modern_report_read_tests.cpp)
|
||||
target_link_libraries(modern_report_read_tests PRIVATE bmh_modern_content)
|
||||
add_test(NAME modern_report_read_tests COMMAND modern_report_read_tests)
|
||||
add_executable(modern_toto_tests tests/modern_toto_tests.cpp)
|
||||
target_link_libraries(modern_toto_tests PRIVATE bmh_season_modern)
|
||||
add_test(NAME modern_toto_tests COMMAND modern_toto_tests)
|
||||
|
||||
add_executable(modern_traffic_tests tests/modern_traffic_tests.cpp)
|
||||
target_link_libraries(modern_traffic_tests PRIVATE bmh_season_modern)
|
||||
add_test(NAME modern_traffic_tests COMMAND modern_traffic_tests)
|
||||
add_executable(modern_calendar_tests tests/modern_calendar_tests.cpp)
|
||||
target_link_libraries(modern_calendar_tests PRIVATE bmh_season_modern)
|
||||
add_test(NAME modern_calendar_tests COMMAND modern_calendar_tests)
|
||||
|
||||
add_executable(world_layout_tests tests/world_layout_tests.cpp)
|
||||
target_link_libraries(world_layout_tests PRIVATE bmhcore)
|
||||
add_test(NAME world_layout_tests COMMAND world_layout_tests)
|
||||
|
||||
add_executable(fixture_table_tests tests/fixture_table_tests.cpp)
|
||||
target_link_libraries(fixture_table_tests PRIVATE bmhcore)
|
||||
add_test(NAME fixture_table_unit_tests COMMAND fixture_table_tests)
|
||||
|
||||
@@ -1,123 +1,19 @@
|
||||
# OpenBMH
|
||||
# Dreierpack Manager
|
||||
|
||||
The separate [OpenBMH Editor 0.5.0](docs/EDITOR.md) uses native RmlUI,
|
||||
supports German/English, three themes, image editing and a local MCP server.
|
||||
Download its own `editor-v0.5.0` release or build with
|
||||
`-DOPENBMH_BUILD_EDITOR=ON`. Edited worlds are independent of the Classic runtime.
|
||||
A football-management game with a modern interface, based on the shared C++ game and session implementation developed for OpenBMH.
|
||||
|
||||
A modern and faithful open source rebuild of the *Bundesliga Manager Hattrick* engine.
|
||||
This repository now contains the secured development snapshot, including the modern SDL/RmlUI interface, the OBW content pipeline and the RmlUI data editor. The original-game community implementation is maintained separately in [OpenBMH](https://github.com/Weyoune/openbmh).
|
||||
|
||||
OpenBMH is a standalone C++20 engine with an SDL2 interface for *Bundesliga Manager Hattrick* (1994/95) and its English edition, *Football Limited*. The project develops a playable reconstruction alongside a platform for new rules, content and interfaces. Keeping the familiar game enjoyable and making it easier to extend are equally important goals.
|
||||
## Development status
|
||||
|
||||
Version 0.2 imports a game installation supplied by the player into a portable Classic mod. The running game reads the converted OBW content. Game data, artwork, music, manuals and the original executable are not distributed with OpenBMH. Its aim is recognisable behaviour and plausible results; documented compatibility decisions and safety fixes take precedence over reproducing every original fault.
|
||||
The implementation and its full history were imported from the former development branch at commit `6f98f894f26730049feb99105224d475c553ff04`. The original repository's initial commit is retained as well. Product/executable names inside this initial snapshot have not yet all been changed; this import is not a new product release.
|
||||
|
||||
This is an independent community project, with no affiliation with or endorsement by the original rights holders, the DFL or the Bundesliga. It is an engine implementation, not an official source release or a remaster.
|
||||
- [Build instructions](docs/BUILDING.md)
|
||||
- [Data editor](docs/EDITOR.md)
|
||||
- [Modern interface documentation](docs/new_ui/)
|
||||
- [OBW format](docs/formats/OBW.md)
|
||||
- [Architecture](docs/architecture.md)
|
||||
- [Contributing](CONTRIBUTING.md)
|
||||
- [Imported build/reference README](docs/migration/IMPORTED_README.md)
|
||||
|
||||
## Get started
|
||||
|
||||
Check the [releases page](https://github.com/Weyoune/openbmh/releases) for available packages and their platform notes. A Windows package uses the name `OpenBMH-<version>-windows-x64.zip`. Availability and native validation are stated for each release; source build instructions do not establish platform support on their own.
|
||||
|
||||
These instructions describe **0.2.0**, released separately from the editor. See the [0.2 release notes](docs/release/0.2/RELEASE_NOTES.md).
|
||||
|
||||
1. Extract OpenBMH into a writable directory.
|
||||
2. Start `OpenBMH.exe` on Windows, or `OpenBMH` on Linux/macOS. Its RmlUI launcher initially has an empty **Name | Art** list. The night-stadium design uses a small version label in the lower-right corner.
|
||||
3. Choose **Add**, select your own BMH or Football Limited installation, and enter a unique mod name and starting display year. The default names are `BMH-classic` and `FTDL-classic` (the English format identifier is `FLTD-classic`).
|
||||
4. Optionally transfer saved games and settings from the installation or another folder. The import reports files it could not migrate.
|
||||
5. Select the resulting Classic mod and choose **Start**. After import, its original installation is no longer needed for play.
|
||||
|
||||
Converted contents live in `mods/<name>/content.obw` next to the program. Saves (`.obs`), settings (`.obsettings`), desktop layouts (`.oblayout`) and high scores (`.obscore`) live separately in `userdata/<content-id>/`. **Delete** asks before removing a mod and retains personal data; importing identical contents reconnects them. **Rename** renames the mod directory. Externally modified Classic packages are rejected; import the installation again to repair them. Keep backups of the portable directory.
|
||||
|
||||
For direct startup or the console:
|
||||
|
||||
```sh
|
||||
./OpenBMH --mod "mods/BMH-classic/content.obw"
|
||||
./openbmh_cli --console --mod "mods/BMH-classic/content.obw"
|
||||
```
|
||||
|
||||
Both frontends use native content and saves. Use **Add** to migrate older files rather than passing an original executable or `.FBM` to the running game. The starting year changes the Classic year display; original weekday and scheduling rules are preserved. Modern worlds are reserved for a later version.
|
||||
|
||||
The launcher uses SDL2, RmlUI and OpenGL 3.3 (macOS: OpenGL 4.1); keep its `assets` directory next to the executable. Folder selection uses the operating system's dialog. See the [0.2 migration contract](docs/formats/obw/runtime-0.2.md) for compatibility and validation limits. Platform builds and automated tests are separate from human interactive acceptance on Windows and macOS.
|
||||
|
||||
## Features and direction
|
||||
|
||||
The graphical client and console share career management, matches, transfers, contracts, finances, training, stadium management and save handling. The console supports command batches, structured views and multiple manager clients. Audio is decoded from the user's installation where supported.
|
||||
|
||||
Version 0.1 establishes the playable engine and development interfaces. Later milestones introduce an open data format and typed model, configurable rules, a scalable interface and independently distributable content. These are goals rather than delivery dates; the [roadmap](docs/ROADMAP.md) describes their dependencies.
|
||||
|
||||
The standalone [`openbmh_import` tool](docs/formats/obw/import.md) produces the same complete Classic content packages, including media and frozen player portrait recipes. A mod directory contains its sealed `content.obw`; legacy save migration is performed through the launcher.
|
||||
|
||||
## Build from source
|
||||
|
||||
The following recipes target version 0.2. They require Git, CMake 3.24 or newer and a C++20 compiler. The first configure fetches pinned open-source dependencies. Native build and package results are documented for each release; these instructions do not claim an untested platform result.
|
||||
|
||||
Clone the public repository, then run the commands for your system:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/Weyoune/openbmh.git
|
||||
cd openbmh
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
Install Visual Studio 2022 or its Build Tools with **Desktop development with C++**, a Windows SDK and CMake. From Developer PowerShell, using the Visual Studio generator:
|
||||
|
||||
```powershell
|
||||
cmake -S . -B build-windows -G "Visual Studio 17 2022" -A x64
|
||||
cmake --build build-windows --config Release
|
||||
ctest --test-dir build-windows -C Release --output-on-failure
|
||||
.\build-windows\Release\OpenBMH.exe
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
On Debian or Ubuntu, install the compiler and development libraries. This example uses the default GTK3 file dialog backend:
|
||||
|
||||
```sh
|
||||
sudo apt install build-essential git cmake ninja-build pkg-config libgtk-3-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxfixes-dev libxss-dev libasound2-dev libpulse-dev libgl1-mesa-dev libudev-dev
|
||||
cmake -S . -B build-linux -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build-linux
|
||||
ctest --test-dir build-linux --output-on-failure
|
||||
./build-linux/OpenBMH
|
||||
```
|
||||
|
||||
Use a newer CMake if your distribution ships a version older than 3.24. A Linux binary can still require system libraries such as GTK3; a ZIP is not a guarantee of portability across distributions.
|
||||
|
||||
### macOS
|
||||
|
||||
Apple's Command Line Tools supply the compiler and SDK; full Xcode is not required. Install CMake and Ninja separately, for example with Homebrew. On Apple Silicon:
|
||||
|
||||
```sh
|
||||
xcode-select --install
|
||||
brew install cmake ninja
|
||||
cmake -S . -B build-macos -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64
|
||||
cmake --build build-macos
|
||||
ctest --test-dir build-macos --output-on-failure
|
||||
./build-macos/OpenBMH
|
||||
```
|
||||
|
||||
On Intel Macs omit the arm64 setting or select `x86_64`. These commands build terminal executables; they do not create a signed application bundle.
|
||||
|
||||
Game-data tests are optional: add `-DBMH_DATA="path/to/game"` when configuring to supply your own installation. The repository includes no original test data. See [BUILDING](docs/BUILDING.md) for test skips, system SDL2 and packaging details.
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Build from source](docs/BUILDING.md) and [platform notes](docs/BUILD_PLATFORMS.md)
|
||||
- [Architecture](docs/architecture.md), [file formats](docs/formats/README.md) and [random generators](docs/RNG.md)
|
||||
- [Console reference](docs/CLI_CONCEPT/README.md), [structured protocol](docs/protocol.md) and [client/agent introduction](docs/CONSOLE_CLIENTS.md)
|
||||
- [Compatibility decisions](docs/COMPATIBILITY.md)
|
||||
|
||||
## Contribute
|
||||
|
||||
Reports with reproducible steps, documentation corrections and focused patches are welcome. Discuss larger design changes in an issue before implementing them. [CONTRIBUTING.md](CONTRIBUTING.md) explains the review and testing conventions. Do not upload original game files, screenshots, recordings, copied text databases or saved games to public issues or pull requests.
|
||||
|
||||
## How the project was developed
|
||||
|
||||
The implementation grew from study of file formats and behaviour of a legally obtained game installation. The public repository contains independently written implementation and format documentation. It does not contain the proprietary implementation or its extracted resources.
|
||||
|
||||
## License and thanks
|
||||
|
||||
OpenBMH's own code and documentation are licensed under **GNU GPL version 3 only**, SPDX **GPL-3.0-only**. [LICENSE](LICENSE) contains the unchanged GPLv3 text; the example wording in its appendix does not change this project's version choice. Game content has separate ownership and is not covered by this license.
|
||||
|
||||
Release source is identified by the matching version tag: [v0.1.2](https://github.com/Weyoune/openbmh/tree/v0.1.2) for the published 0.1.2 version. This branch develops 0.2; it is not a published release. Binary releases must accompany or offer the corresponding source and build/relinking materials required by the applicable licenses. The tag identifies application source; it does not replace required materials for linked third-party components.
|
||||
|
||||
Bundled components retain their own licenses, including Nuked OPL3 under LGPL-2.1-or-later. See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) and [ACKNOWLEDGEMENTS.md](ACKNOWLEDGEMENTS.md).
|
||||
Source code uses GPL-3.0-only; retain existing author and third-party notices. Original game databases, executables and extracted proprietary game content are not distributed here.
|
||||
@@ -11,4 +11,5 @@
|
||||
<footer><div id="state"></div><div id="status-message"></div><div id="bottom-actions"></div></footer>
|
||||
</div>
|
||||
<div id="overlay"><div id="modal"><div class="modal-head"><h2 id="modal-title"></h2><button data-action="cancel-modal" class="close">×</button></div><div id="modal-content"></div><div id="modal-error"></div><div id="modal-buttons"></div></div></div>
|
||||
<div id="history-overlay" data-action="history-close"><div id="history-menu"></div></div>
|
||||
</body></rml>
|
||||
@@ -142,7 +142,7 @@ button.quiet:hover { background-color: var(--hover); }
|
||||
aside { width: 220dp; flex-shrink: 0; padding: 28dp 14dp 18dp; display: flex; flex-direction: column; background-color: var(--sidebar); border-right: 1dp var(--divider); }
|
||||
.eyebrow { font-size: 11dp; font-weight: bold; letter-spacing: 1.5dp; color: var(--muted); text-transform: uppercase; }
|
||||
#nav-label { padding: 0 14dp 18dp; }
|
||||
#navigation { display: flex; flex-direction: column; gap: 5dp; }
|
||||
#navigation { display: flex; flex-direction: column; gap: 5dp; min-height: 0; overflow-y: auto; }
|
||||
.nav { width: 100%; display: flex; align-items: center; padding: 11dp 13dp; text-align: left; border-color: transparent; background-color: transparent; decorator: none; font-size: 15dp; }
|
||||
.nav .glyph { width: 20dp; height: 20dp; margin-right: 16dp; flex-shrink: 0; }
|
||||
.nav.selected { background-color: var(--selected); color: var(--accent); border-color: var(--accent-border); }
|
||||
@@ -161,12 +161,23 @@ input[type=checkbox]:checked { background-color: var(--toggle-on); decorator: no
|
||||
input[type=range] { height: 24dp; padding: 0; }
|
||||
input[type=range] track { height: 4dp; background-color: var(--scrollbar); margin: 9dp 0; border-radius: 2dp; }
|
||||
input[type=range] bar { width: 16dp; height: 16dp; border-radius: 8dp; background-color: var(--accent); margin-top: 3dp; }
|
||||
select { padding-right: 25dp; }
|
||||
/* Modern Desktop pickers, in density-independent editor dimensions. The
|
||||
native RmlUI controls retain their values, input and change events. */
|
||||
select { padding-right: 30dp; cursor: pointer; background-color: transparent; decorator: linear-gradient(var(--control-top), var(--control-bottom)); box-shadow: inset 0 1dp #eff6fc12, 0 1dp 2dp #0002; }
|
||||
select:hover { background-color: var(--hover); decorator: none; }
|
||||
select selectvalue { padding: 0; }
|
||||
select selectarrow { width: 9dp; height: 9dp; margin-right: 9dp; margin-top: 11dp; decorator: none; border-bottom: 2dp var(--muted); border-right: 2dp var(--muted); transform: rotate(45deg); }
|
||||
select selectbox { background-color: var(--popup); color: var(--text); border: 1dp var(--border); border-radius: 8dp; padding: 5dp; max-height: 290dp; overflow-y: auto; }
|
||||
select option { font-size: 14dp; padding: 8dp; border-radius: 4dp; }
|
||||
select option:hover, select option:checked { background-color: var(--selected); color: var(--selected-text); }
|
||||
/* RmlUI anchors the arrow to the content box. Use the reserved right padding
|
||||
and center the rotated glyph within the control's 18dp content height. */
|
||||
select selectarrow { width: 8dp; height: 8dp; margin-right: -15dp; margin-top: 3dp; decorator: none; border-bottom: 1.5dp var(--muted); border-right: 1.5dp var(--muted); transform: rotate(45deg); }
|
||||
select selectbox { width: 100%; min-width: 180dp; background-color: var(--popup); color: var(--text); border: 1dp var(--border); border-radius: 9dp; padding: 5dp; margin-top: 7dp; margin-bottom: 7dp; max-height: 320dp; overflow-y: auto; box-shadow: 0 9dp 28dp #0008; }
|
||||
select option { display: flex; align-items: center; min-height: 34dp; padding: 5dp 7dp; border-radius: 5dp; white-space: nowrap; cursor: pointer; }
|
||||
select option:hover { background-color: var(--hover); }
|
||||
select option:disabled { opacity: 0.35; cursor: unavailable; }
|
||||
.option-check { width: 6dp; height: 10dp; margin: 0 12dp 3dp 3dp; flex-shrink: 0; border-right: 1.5dp var(--accent); border-bottom: 1.5dp var(--accent); transform: rotate(45deg); opacity: 0; }
|
||||
option:checked .option-check { opacity: 1; }
|
||||
selectvalue .option-check { display: none; }
|
||||
.option-label { overflow: hidden; text-overflow: ellipsis; }
|
||||
.option-label, .option-check { pointer-events: none; focus: none; }
|
||||
#search { width: 250dp; margin-right: auto; }
|
||||
#filter-nation, #filter-league { width: 205dp; }
|
||||
#filter-team { width: 240dp; }
|
||||
@@ -178,6 +189,29 @@ select option:hover, select option:checked { background-color: var(--selected);
|
||||
.table-header button:hover { color: var(--text); }
|
||||
.table-header button:first-child { flex: 2; }
|
||||
.table-scroll { flex: 1; overflow-y: auto; }
|
||||
.comparison-layout { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
|
||||
.comparison-bar { display: flex; align-items: center; gap: 12dp; margin-bottom: 14dp; flex-shrink: 0; }
|
||||
.comparison-bar label, .comparison-bar span { color: var(--muted); font-size: 12dp; }
|
||||
.comparison-bar span { margin-left: auto; }
|
||||
#comparison-set { width: 310dp; }
|
||||
.comparison-panel { min-height: 0; }
|
||||
.comparison-x { flex: 1; min-height: 0; overflow-x: auto; overflow-y: hidden; display: flex; }
|
||||
.comparison-table { flex-shrink: 0; display: flex; flex-direction: column; min-height: 0; }
|
||||
.comparison-head { display: flex; flex-shrink: 0; align-items: stretch; background-color: var(--wash); border-bottom: 1dp var(--border); padding-right: 20dp; }
|
||||
.comparison-head button { border: 0; border-radius: 0; decorator: none; background-color: transparent; color: var(--muted); font-size: 13dp; padding: 12dp 10dp; white-space: normal; }
|
||||
.comparison-head button:disabled { opacity: 1; cursor: default; }
|
||||
.comparison-head small { font-size: 11dp; }
|
||||
.comparison-direction { width: 7dp; height: 7dp; border-bottom: 1.5dp var(--accent); border-right: 1.5dp var(--accent); transform: rotate(45deg); margin-left: 8dp; margin-bottom: 3dp; }
|
||||
.comparison-direction.ascending { transform: rotate(225deg); margin-bottom: 0; }
|
||||
.comparison-body { flex: 1; min-height: 0; overflow-y: auto; }
|
||||
.comparison-row { display: flex; align-items: center; border: 0; border-bottom: 1dp var(--divider); border-radius: 0; decorator: none; background-color: transparent; padding: 0; min-height: 47dp; text-align: left; }
|
||||
.comparison-cell { flex-shrink: 0; padding: 14dp 10dp; text-align: right; font-size: 14dp; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
||||
.comparison-cell.text { text-align: left; }
|
||||
.comparison-name-text { display: block; overflow: hidden; text-overflow: ellipsis; }
|
||||
.comparison-note { flex-shrink: 0; margin-top: 12dp; font-size: 12dp; line-height: 1.6; color: var(--muted); }
|
||||
.comparison-choices { display: flex; flex-wrap: wrap; max-height: 430dp; overflow-y: auto; margin-top: 16dp; gap: 6dp; }
|
||||
.comparison-choices label { width: 31%; display: flex; align-items: center; padding: 10dp 4dp; font-size: 14dp; }
|
||||
.comparison-choices input { flex-shrink: 0; margin-right: 10dp; border-radius: 4dp; }
|
||||
.record { display: flex; align-items: center; width: 100%; min-height: 49dp; padding: 9dp 16dp; border: 0; border-bottom: 1dp var(--divider); border-radius: 0; background-color: transparent; decorator: none; text-align: left; }
|
||||
.record:hover { background-color: var(--hover); }
|
||||
.record.selected { background-color: var(--selected); border-left: 3dp var(--accent); padding-left: 13dp; }
|
||||
@@ -197,6 +231,7 @@ select option:hover, select option:checked { background-color: var(--selected);
|
||||
textarea { height: 110dp; font-size: 12dp; line-height: 1.5; }
|
||||
.form-section { padding-top: 8dp; margin-bottom: 15dp; font-size: 12dp; font-weight: bold; color: var(--accent); }
|
||||
.form-help { font-size: 11dp; color: var(--muted); line-height: 1.5; margin-top: 6dp; }
|
||||
.connection-actions { margin-top: 20dp; }
|
||||
.inspector-actions { padding: 16dp 20dp; border-top: 1dp var(--divider); display: flex; gap: 8dp; flex-shrink: 0; }
|
||||
.inspector-actions button { flex: 1; }
|
||||
.empty { margin: auto; padding: 45dp; text-align: center; color: var(--muted); line-height: 1.7; }
|
||||
@@ -214,6 +249,19 @@ footer { height: 57dp; padding: 0 28dp; display: flex; align-items: center; gap:
|
||||
.metric span { display: block; font-size: 28dp; font-weight: bold; color: var(--text); margin-top: 9dp; }
|
||||
.note { margin-top: 22dp; padding: 18dp 20dp; background-color: var(--note); border: 1dp var(--accent-border); border-radius: 10dp; color: var(--positive); font-size: 13dp; line-height: 1.6; }
|
||||
.source-json { font-size: 11dp; line-height: 1.5; white-space: pre-wrap; color: var(--muted); margin: 14dp 0; }
|
||||
.regulation-layout { flex: 1; display: flex; gap: 20dp; min-width: 0; min-height: 0; }
|
||||
.regulation-list { width: 270dp; flex: none; }
|
||||
.regulation-choice { display: block; width: 100%; text-align: left; white-space: normal; padding: 15dp 18dp; border-radius: 0; border: 0; border-bottom: 1dp var(--divider); }
|
||||
.regulation-choice small { font-size: 11dp; }
|
||||
.regulation-detail { min-width: 0; }
|
||||
.regulation-scroll { flex: 1; overflow-y: auto; padding: 25dp; }
|
||||
.regulation-scroll p { margin-top: 12dp; font-size: 15dp; line-height: 1.55; }
|
||||
.regulation-scroll h2 { line-height: 1.4; }
|
||||
.regulation-section { margin: 27dp 0; padding-top: 22dp; border-top: 1dp var(--divider); }
|
||||
.regulation-section h2 { font-size: 18dp; margin-bottom: 13dp; }
|
||||
.regulation-clause { padding: 15dp 18dp; border: 1dp var(--border); border-radius: 10dp; background-color: var(--wash); margin-bottom: 12dp; }
|
||||
.regulation-clause p { margin-top: 8dp; }
|
||||
.regulation-scroll .source-json { font-size: 13dp; line-height: 1.55; }
|
||||
.history-row, .diagnostic { padding: 15dp 20dp; border-bottom: 1dp var(--divider); line-height: 1.6; }
|
||||
.diagnostic.error { color: var(--danger); }
|
||||
.diagnostic.warning { color: var(--warning); }
|
||||
@@ -226,8 +274,17 @@ footer { height: 57dp; padding: 0 28dp; display: flex; align-items: center; gap:
|
||||
#modal-content { overflow-y: auto; line-height: 1.6; }
|
||||
#modal-buttons { margin-top: 23dp; display: flex; justify-content: flex-end; gap: 9dp; flex-shrink: 0; }
|
||||
#modal-error { color: var(--danger); font-size: 13dp; margin-top: 10dp; }
|
||||
#history-overlay { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 10; }
|
||||
#history-menu { position: absolute; width: 248dp; padding: 6dp; border: 1dp var(--border); border-radius: 10dp; background-color: var(--popup); }
|
||||
#history-menu button { width: 100%; display: flex; align-items: center; text-align: left; padding: 10dp; border-color: transparent; decorator: none; font-size: 15dp; }
|
||||
.history-arrow { width: 28dp; flex-shrink: 0; display: flex; align-items: center; }
|
||||
.history-arrow .glyph { width: 20dp; height: 20dp; }
|
||||
#history-menu small { margin: 0 0 0 auto; padding-left: 16dp; }
|
||||
.image-layout { display: flex; gap: 24dp; }
|
||||
.image-stage { flex: 1; min-height: 360dp; background-color: var(--image-stage); border: 1dp var(--border); border-radius: 10dp; display: flex; align-items: center; justify-content: center; overflow: hidden; }
|
||||
.hero-image, .mini-logo { cursor: pointer; }
|
||||
.readonly-stage { height: 500dp; }
|
||||
.image-caption { margin-top: 12dp; word-break: break-all; }
|
||||
#crop-canvas { position: relative; }
|
||||
#edit-preview { display: block; }
|
||||
#crop-box { position: absolute; border: 2dp var(--crop); background-color: var(--crop-wash); pointer-events: none; }
|
||||
@@ -240,5 +297,10 @@ scrollbarvertical slidertrack { background-color: transparent; }
|
||||
scrollbarvertical sliderbar { background-color: var(--scrollbar); border-radius: 4dp; min-height: 30dp; }
|
||||
scrollbarvertical sliderbar:hover { background-color: var(--scrollbar-hover); }
|
||||
scrollbarvertical sliderarrowdec, scrollbarvertical sliderarrowinc { height: 0; }
|
||||
scrollbarhorizontal { height: 10dp; margin: 3dp; }
|
||||
scrollbarhorizontal slidertrack { background-color: transparent; }
|
||||
scrollbarhorizontal sliderbar { background-color: var(--scrollbar); border-radius: 4dp; min-width: 40dp; }
|
||||
scrollbarhorizontal sliderbar:hover { background-color: var(--scrollbar-hover); }
|
||||
scrollbarhorizontal sliderarrowdec, scrollbarhorizontal sliderarrowinc { width: 0; }
|
||||
button:focus, input:focus, select:focus, textarea:focus { border-color: var(--focus); }
|
||||
.nav:focus { border-color: var(--focus); }
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"asset": "stadium.tga",
|
||||
"sha256": "fb8e5f1f86afe60de87b70a2f533690d1ef470241fa24ee4384ff000149edaab",
|
||||
"sha256": "8bd89b7db8dbd0e92707240c5367cb92f8f32c2903e08157d0f278ac2599d6cf",
|
||||
"origin": "Independently generated night-stadium artwork for OpenBMH. No original game assets.",
|
||||
"method": "Built-in image_gen edit; exported as uncompressed 24-bit TGA without changing pixels.",
|
||||
"distribution": "Project-supplied launcher artwork, distributed with OpenBMH under GPL-3.0-only.",
|
||||
@@ -11,5 +11,10 @@
|
||||
"Added two netted goals and corrected the pitch markings, including a single center circle."
|
||||
]
|
||||
},
|
||||
"prompt": "Use case: precise-object-edit.\nAsset type: clean stadium background artwork for the existing OpenBMH launcher, landscape approximately 16:10.\nEdit target: the provided image. Make only these two localized corrections; preserve the stadium bowl, seating tiers, roof and floodlights, camera framing, foreground railing, blue/navy palette, warm dusk glow, dreamlike cinematic style, overall exposure and dark middle area for the existing UI overlay.\n\n1. Remove the entire distant CITY SKYLINE above the far stadium rim: every building, tower, rooftop, tree silhouette and urban horizon. Seamlessly replace that band with the same dusk sky and clouds. Above the stadium's own roof/rim there must be SKY ONLY. Keep the stadium's structural roof supports and floodlights.\n\n2. Correct the FOOTBALL PITCH in the lower part of the image, preserving its overall placement and green lighting. It is a real association-football pitch seen from a slightly elevated MIDFIELD SIDELINE seat: the two short goal-line ends are LEFT and RIGHT, not near/far center. Draw one coherent rectangular pitch in consistent perspective with realistic football geometry (105 by 68 metres). Exactly ONE halfway line across the width at midfield, exactly ONE center circle centered on that line, appearing elliptical because of the low viewpoint. At EACH of the left and right short ends, add ONE clearly recognizable white football goal, with TWO uprights, ONE crossbar and netting receding behind the goal line. Goal width-to-height about 3:1 (7.32m x 2.44m); realistic size in relation to the pitch. Add correctly placed penalty areas, smaller six-yard goal areas, penalty spots and penalty arcs on BOTH ends, four corner arcs and subtle corner flags. Do not put penalty boxes across midfield. Do not add duplicate circles, fake stripes, random white line fragments, a center-front goal, or a running track. Adjust only the grass/lines/goal areas as needed to fit a sensible single pitch. Both goals and correct layout should be visible within the existing image framing, even if a future UI overlay may cover part of them.\n\nNo UI panels, lettering, logos, advertisements with text, watermarks, players or extra architecture. Keep the original stylized mood; accuracy of the football equipment and markings matters more than adding detail.\n\nGrass cleanup:\nEdit the attached stadium illustration. This is an intermediate cleanup of the grass only, before correct markings are added separately.\nCOMPLETELY REMOVE EVERY WHITE PAINTED LINE AND SPOT ON THE GRASS. The entire playing field in the bottom part of the image must be continuous UNMARKED GREEN GRASS. NO center circle, NO halfway line, NO penalty boxes, NO goal-area lines, NO arcs, NO white grass markings whatsoever. Repaint the whole grass surface, not just a thin stroke. White goal frames with nets at the left and right edges must remain, since these are objects, not paint on grass. Keep corner flags. Everything above the pitch and the foreground rail must be unchanged: sky without any city silhouette, stadium, stands, lights, same composition and night colors.\nThe immediate output must show two goals beside an EMPTY UNMARKED RECTANGLE OF GREEN TURF. No text, no UI.\n\nFinal markings:\nUse case: precise-object-edit.\nEdit only the unmarked GRASS in the supplied stadium image. Add a single realistic association-football pitch's thin white painted markings, in the existing perspective of a midfield sideline view, with the two goals at the LEFT and RIGHT ends.\nDraw one complete perspective rectangle for the touchlines and goal lines, the goal lines aligned with the two existing goal mouths. At its middle draw exactly ONE straight halfway line from far touchline to near touchline and exactly ONE complete elliptical center circle centered on it, with one small center spot. Draw a rectangular penalty area and a smaller six-yard goal area at EACH goal end, with a penalty spot and a penalty arc outside each penalty area facing midfield. Draw tiny quarter-circle corner arcs at the four corners. The lines must follow one coherent standard full-size football pitch layout and perspective; no extra arcs or duplicate midfield circles.\nThe middle of the field is between the two left/right goals; do not draw a second circle near the far sideline. The width-to-depth of the visible center ellipse should be about 5:1 due to foreshortening. All marks are thin, subtle white paint, grounded on the existing grass.\nPreserve the two existing netted goals, four corner flags, rail, sky with NO city, stands, floodlights, dark navy twilight style, composition, and every part above the grass exactly as they are. Do not add people, text, branding, UI or watermarks."
|
||||
"prompt": "Use case: precise-object-edit.\nAsset type: clean stadium background artwork for the existing OpenBMH launcher, landscape approximately 16:10.\nEdit target: the provided image. Make only these two localized corrections; preserve the stadium bowl, seating tiers, roof and floodlights, camera framing, foreground railing, blue/navy palette, warm dusk glow, dreamlike cinematic style, overall exposure and dark middle area for the existing UI overlay.\n\n1. Remove the entire distant CITY SKYLINE above the far stadium rim: every building, tower, rooftop, tree silhouette and urban horizon. Seamlessly replace that band with the same dusk sky and clouds. Above the stadium's own roof/rim there must be SKY ONLY. Keep the stadium's structural roof supports and floodlights.\n\n2. Correct the FOOTBALL PITCH in the lower part of the image, preserving its overall placement and green lighting. It is a real association-football pitch seen from a slightly elevated MIDFIELD SIDELINE seat: the two short goal-line ends are LEFT and RIGHT, not near/far center. Draw one coherent rectangular pitch in consistent perspective with realistic football geometry (105 by 68 metres). Exactly ONE halfway line across the width at midfield, exactly ONE center circle centered on that line, appearing elliptical because of the low viewpoint. At EACH of the left and right short ends, add ONE clearly recognizable white football goal, with TWO uprights, ONE crossbar and netting receding behind the goal line. Goal width-to-height about 3:1 (7.32m x 2.44m); realistic size in relation to the pitch. Add correctly placed penalty areas, smaller six-yard goal areas, penalty spots and penalty arcs on BOTH ends, four corner arcs and subtle corner flags. Do not put penalty boxes across midfield. Do not add duplicate circles, fake stripes, random white line fragments, a center-front goal, or a running track. Adjust only the grass/lines/goal areas as needed to fit a sensible single pitch. Both goals and correct layout should be visible within the existing image framing, even if a future UI overlay may cover part of them.\n\nNo UI panels, lettering, logos, advertisements with text, watermarks, players or extra architecture. Keep the original stylized mood; accuracy of the football equipment and markings matters more than adding detail.\n\nGrass cleanup:\nEdit the attached stadium illustration. This is an intermediate cleanup of the grass only, before correct markings are added separately.\nCOMPLETELY REMOVE EVERY WHITE PAINTED LINE AND SPOT ON THE GRASS. The entire playing field in the bottom part of the image must be continuous UNMARKED GREEN GRASS. NO center circle, NO halfway line, NO penalty boxes, NO goal-area lines, NO arcs, NO white grass markings whatsoever. Repaint the whole grass surface, not just a thin stroke. White goal frames with nets at the left and right edges must remain, since these are objects, not paint on grass. Keep corner flags. Everything above the pitch and the foreground rail must be unchanged: sky without any city silhouette, stadium, stands, lights, same composition and night colors.\nThe immediate output must show two goals beside an EMPTY UNMARKED RECTANGLE OF GREEN TURF. No text, no UI.\n\nFinal markings:\nUse case: precise-object-edit.\nEdit only the unmarked GRASS in the supplied stadium image. Add a single realistic association-football pitch's thin white painted markings, in the existing perspective of a midfield sideline view, with the two goals at the LEFT and RIGHT ends.\nDraw one complete perspective rectangle for the touchlines and goal lines, the goal lines aligned with the two existing goal mouths. At its middle draw exactly ONE straight halfway line from far touchline to near touchline and exactly ONE complete elliptical center circle centered on it, with one small center spot. Draw a rectangular penalty area and a smaller six-yard goal area at EACH goal end, with a penalty spot and a penalty arc outside each penalty area facing midfield. Draw tiny quarter-circle corner arcs at the four corners. The lines must follow one coherent standard full-size football pitch layout and perspective; no extra arcs or duplicate midfield circles.\nThe middle of the field is between the two left/right goals; do not draw a second circle near the far sideline. The width-to-depth of the visible center ellipse should be about 5:1 due to foreshortening. All marks are thin, subtle white paint, grounded on the existing grass.\nPreserve the two existing netted goals, four corner flags, rail, sky with NO city, stands, floodlights, dark navy twilight style, composition, and every part above the grass exactly as they are. Do not add people, text, branding, UI or watermarks.",
|
||||
"serialization": {
|
||||
"format": "uncompressed 24-bit TGA, bottom-to-top rows",
|
||||
"previous_sha256": "fb8e5f1f86afe60de87b70a2f533690d1ef470241fa24ee4384ff000149edaab",
|
||||
"reason": "Compatible row stride in the pinned Direct3D 11 loader; decoded RGB pixels are unchanged."
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 4.5 MiB After Width: | Height: | Size: 4.5 MiB |
@@ -0,0 +1,72 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.advertising-page {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.advertising-boards {position:absolute;left:0;right:0;top:0;height:310dp;border:2dp var(--border);border-radius:18dp;background-color:#13232e40;}
|
||||
.advertising-board {position:absolute;min-width:0;min-height:0;padding:16dp 12dp 40dp;border:2dp var(--border);border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#90a6b51c,#6b83950d);color:var(--text);font-size:28dp;display:flex;align-items:center;justify-content:center;}
|
||||
.advertising-board:hover {background-color:#c5d9e726;}
|
||||
.advertising-board small {position:absolute;left:0;right:0;width:100%;bottom:10dp;text-align:center;font-size:22dp;line-height:25dp;color:var(--muted);}
|
||||
.advertising-board small>span,.advertising-free {display:block;width:100%;text-align:center;white-space:nowrap;}
|
||||
.advertising-free {font-size:27dp;line-height:31dp;color:#bdcdd8;}
|
||||
.advertising-board.selected,.advertising-card.selected {border-color:var(--accent);}
|
||||
.ad-brand {display:flex;align-items:center;justify-content:center;min-width:0;max-width:100%;background-color:#f5efdc;color:#12334b;padding:10dp 16dp;font-size:38dp;font-weight:bold;line-height:1.2;letter-spacing:1dp;overflow:hidden;}
|
||||
.ad-brand>span {display:block;width:100%;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.ad-brand-1 {background-color:#154c7b;color:#fcf6c9;}
|
||||
.ad-brand-2 {background-color:#f4cc55;color:#3e3630;}
|
||||
.ad-brand-3 {background-color:#daddce;color:#ab2d2d;}
|
||||
.ad-brand-4 {background-color:#c73529;color:#ffebc5;}
|
||||
.advertising-board .ad-brand {width:100%;min-height:62dp;padding:8dp;border-radius:5dp;font-size:26dp;letter-spacing:.5dp;}
|
||||
.advertising-card {position:absolute;min-width:0;padding:0;border:2dp var(--border);border-radius:18dp;background-color:#11263266;color:var(--text);font-size:30dp;overflow:hidden;}
|
||||
.advertising-card:hover {background-color:#20374380;}
|
||||
.advertising-card>strong {position:absolute;left:0;right:0;top:0;height:64dp;border-bottom:2dp var(--border);background-color:#90a8b410;font-size:30dp;font-weight:normal;display:flex;align-items:center;justify-content:center;}
|
||||
.advertising-card>strong>span {display:block;width:100%;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.advertising-art {position:absolute;left:61.25dp;top:65dp;width:510dp;height:510dp;}
|
||||
.advertising-shirt .advertising-art {top:100dp;}
|
||||
.advertising-card>output {position:absolute;left:0;right:0;bottom:0;height:70dp;border-top:2dp var(--border);background-color:#10232e66;color:#b8dfd0;font-size:33dp;display:flex;align-items:center;justify-content:center;}
|
||||
.advertising-card>output>span {display:block;width:100%;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.advertising-shirt>.ad-brand {position:absolute;left:35%;top:52%;width:30%;max-height:94dp;padding:4dp;font-size:21dp;border-radius:4dp;}
|
||||
.advertising-tv {left:0;top:1032dp;width:596dp;height:638dp;}
|
||||
.advertising-tv-art {position:absolute;left:26dp;top:79dp;width:540dp;height:540dp;}
|
||||
.advertising-tv>.ad-brand {position:absolute;left:14%;top:26%;width:35%;height:20%;padding:4dp;font-size:22dp;border-radius:8dp;}
|
||||
.advertising-details {position:absolute;left:636dp;right:0;top:1032dp;bottom:4dp;border:2dp var(--border);border-radius:18dp;background-color:#13232e40;}
|
||||
.advertising-hint {position:absolute;left:60dp;right:60dp;top:88dp;font-size:29dp;line-height:46.4dp;text-align:left;color:#a4bacb;}
|
||||
.advertising-hint h2 {margin:0 0 30dp;font-size:38dp;line-height:60.8dp;font-weight:normal;color:var(--text);}
|
||||
.advertising-hint p {margin:12dp 0;}
|
||||
.advertising-offer {position:absolute;left:32dp;right:32dp;top:28dp;height:310dp;}
|
||||
.ad-offer-mark {position:absolute;left:0;top:70dp;width:430dp;height:170dp;}
|
||||
.ad-offer-mark .ad-brand {width:430dp;height:170dp;padding:16dp;border-radius:12dp;font-size:38dp;}
|
||||
.ad-offer-arrows {position:absolute;left:458dp;top:70dp;width:84dp;height:170dp;display:flex;flex-direction:column;gap:18dp;}
|
||||
.ad-offer-arrow {width:84dp;height:76dp;flex-shrink:0;padding:0;border-radius:12dp;font-size:52dp;line-height:52dp;display:flex;align-items:center;justify-content:center;color:#bfd5e4;}
|
||||
.ad-offer-arrow>span {display:block;width:100%;text-align:center;}
|
||||
.ad-offer-facts {position:absolute;left:570dp;right:0;top:82dp;height:146dp;font-size:30dp;line-height:34dp;}
|
||||
.ad-offer-facts>div {height:56dp;display:flex;gap:28dp;}
|
||||
.ad-offer-facts>div>span {display:block;width:200dp;flex-shrink:0;color:#9fb7c9;white-space:nowrap;}
|
||||
.ad-offer-facts>div:first-child>span {color:var(--text);}
|
||||
.ad-offer-facts>div>strong {display:block;flex:1;min-width:0;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.advertising-actions {position:absolute;left:32dp;right:32dp;top:356dp;height:82dp;display:flex;gap:24dp;}
|
||||
.advertising-control {flex:1;min-width:0;height:82dp;padding:12dp 24dp;border-radius:12dp;font-size:30dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);}
|
||||
.advertising-totals {position:absolute;left:32dp;right:32dp;bottom:28dp;height:105dp;border-top:2dp var(--border);padding-top:24dp;display:flex;gap:24dp;font-size:25dp;line-height:29dp;}
|
||||
.advertising-totals>div {flex:1;min-width:0;}
|
||||
.advertising-totals>div>span {display:block;width:100%;color:#a0b7c8;white-space:nowrap;}
|
||||
.advertising-totals output {display:block;width:100%;margin-top:12dp;font-size:33dp;line-height:38dp;white-space:nowrap;color:var(--text);}
|
||||
.advertising-totals>div:last-child>output {color:#b8dfd0;}
|
||||
body.silver .advertising-boards,body.silver .advertising-details,body.silver .advertising-card,body.silver .advertising-card>output {background-color:#f1f6fa80;}
|
||||
body.silver .advertising-board {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.silver .advertising-board:hover,body.silver .advertising-card:hover {background-color:#ffffff80;}
|
||||
body.silver .advertising-free,body.silver .advertising-hint,body.silver .ad-offer-facts>div>span,body.silver .advertising-totals>div>span {color:#526779;}
|
||||
body.silver .ad-offer-arrow {color:#233443;}
|
||||
body.silver .advertising-card>output,body.silver .advertising-totals>div:last-child>output {color:#25617a;}
|
||||
body.silver .advertising-control {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .advertising-boards,body.matchday .advertising-details,body.matchday .advertising-card,body.matchday .advertising-card>output {background-color:#1d1e2466;}
|
||||
body.matchday .advertising-board {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.matchday .advertising-board:hover,body.matchday .advertising-card:hover {background-color:#ffffff12;}
|
||||
body.matchday .advertising-free,body.matchday .advertising-hint,body.matchday .ad-offer-facts>div>span,body.matchday .advertising-totals>div>span {color:#b7b4b9;}
|
||||
body.matchday .ad-offer-arrow {color:#efeded;}
|
||||
body.matchday .advertising-card>output,body.matchday .advertising-totals>div:last-child>output {color:#efb2aa;}
|
||||
body.matchday .advertising-control {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
|
||||
/* Engine money keeps its sign semantics independently of the skin accent. */
|
||||
body .advertising-page .advertising-card>output.money-amount,
|
||||
body .advertising-page .advertising-totals>div>output.money-amount {color:var(--money);}
|
||||
body .advertising-page .advertising-card>output.money-amount.is-negative,
|
||||
body .advertising-page .advertising-totals>div>output.money-amount.is-negative {color:var(--danger);}
|
||||
|
||||
.engine-ad-preview-label {position:absolute;left:32dp;right:32dp;bottom:150dp;height:34dp;font-size:25dp;line-height:30dp;color:var(--muted);}
|
||||
@@ -0,0 +1,123 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Historical DTO values only; logical coordinates match the HTML glass window. */
|
||||
.almanac {position:absolute;left:0;top:0;width:2612dp;height:1864dp;font-size:32dp;line-height:1.3;color:var(--text);}
|
||||
.almanac h2,.almanac h3,.almanac p {margin:0;}
|
||||
.alm-toolbar {position:absolute;left:0;top:0;width:2612dp;height:94dp;z-index:22;}
|
||||
.alm-control {display:flex;align-items:center;justify-content:center;height:94dp;padding:12dp 20dp;border:2dp var(--border);border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);font-size:32dp;font-weight:normal;color:var(--text);}
|
||||
.alm-control:hover {decorator:none;background-color:var(--hover);}
|
||||
.alm-control:focus-visible {border-color:var(--accent);}
|
||||
.alm-control span {display:block;line-height:41.6dp;}
|
||||
.alm-back {position:absolute;left:0;top:0;width:420dp;}
|
||||
.alm-heading {position:absolute;left:444dp;top:21dp;width:1724dp;height:52dp;font-size:40dp;line-height:52dp;font-weight:normal;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.alm-year-context {position:absolute;left:2192dp;top:0;width:420dp;height:94dp;display:flex;align-items:center;justify-content:flex-end;font-size:34dp;color:var(--muted);}
|
||||
.alm-year-context span {display:block;line-height:44.2dp;}
|
||||
.alm-underlay {position:absolute;left:0;top:0;width:2612dp;height:1864dp;}
|
||||
.alm-calendar {position:absolute;left:0;top:132dp;width:2612dp;height:1598dp;}
|
||||
.alm-month {position:absolute;padding:14dp 16dp;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);}
|
||||
.alm-month h3 {position:absolute;left:16dp;right:16dp;top:14dp;height:38dp;font-size:30dp;line-height:38dp;font-weight:normal;text-align:center;}
|
||||
.alm-month-grid {position:absolute;left:16dp;top:68dp;}
|
||||
.alm-weekday {position:absolute;display:flex;align-items:center;font-size:24dp;color:var(--muted);}
|
||||
.alm-weekday span {display:block;line-height:31.2dp;}
|
||||
.alm-weekday.sunday {color:var(--danger);}
|
||||
.alm-day {position:absolute;display:flex;align-items:center;justify-content:center;min-width:0;margin:0;padding:0;border:0dp;border-radius:8dp;background-color:transparent;color:var(--muted);font-size:30dp;}
|
||||
.alm-day-text {display:block;line-height:39dp;}
|
||||
.alm-day.future {opacity:0.4;}
|
||||
.alm-day.played {background-color:var(--selected);color:var(--accent);}
|
||||
.alm-day.played:hover {background-color:var(--hover);}
|
||||
.alm-day.played:focus-visible {border:2dp var(--accent);}
|
||||
.alm-footer {position:absolute;left:0;top:1770dp;width:2612dp;height:94dp;display:flex;align-items:center;justify-content:space-between;gap:24dp;font-size:28dp;color:var(--muted);}
|
||||
.alm-key {display:flex;align-items:center;gap:16dp;flex-shrink:0;}
|
||||
.alm-key span {display:block;line-height:36.4dp;}
|
||||
.alm-key .alm-key-marker {width:20dp;height:20dp;flex-shrink:0;border-radius:5dp;background-color:var(--accent);}
|
||||
.alm-footer-info {display:block;min-width:0;line-height:36.4dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right;}
|
||||
.alm-picker-shield {position:absolute;left:0;top:0;width:2612dp;height:1864dp;margin:0;padding:0;border:0dp;border-radius:0dp;background-color:transparent;z-index:20;}
|
||||
/* The shared picker opens down from this toolbar and mirrors its check to the right. */
|
||||
.alm-toolbar .report-picker-wrapper {top:0;bottom:auto;height:94dp;}
|
||||
.alm-toolbar .report-picker-wrapper .report-picker-trigger {justify-content:center;gap:18dp;padding:12dp 20dp;text-align:center;}
|
||||
.alm-toolbar .report-picker-label {flex:none;max-width:310dp;text-align:center;}
|
||||
.alm-toolbar .report-picker-popup {top:108dp;bottom:auto;max-height:650dp;padding:12dp;border-radius:14dp;}
|
||||
.alm-toolbar .report-picker-popup .report-picker-option {flex-direction:row;justify-content:space-between;gap:0dp;height:66dp;min-height:66dp;padding:8dp 20dp;border-radius:8dp;}
|
||||
.alm-toolbar .report-picker-option-label {display:block;text-align:left;}
|
||||
.almanac .alm-toolbar .report-picker-popup .report-picker-option[aria-checked=true] {background-color:var(--selected);color:var(--accent);}
|
||||
.alm-day-list {position:absolute;left:0;top:132dp;width:2612dp;height:1598dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.alm-list-head {position:relative;display:flex;align-items:center;gap:18dp;width:100%;height:70dp;padding:0dp 28dp;border-bottom:2dp var(--border);font-size:28dp;color:var(--muted);}
|
||||
.alm-row-home,.alm-row-away {display:flex;align-items:center;min-width:0;flex:1;}
|
||||
.alm-row-score {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:160dp;}
|
||||
.alm-list-head .alm-row-home,.alm-list-head .alm-row-away {justify-content:center;}
|
||||
.alm-list-head span {display:block;line-height:36.4dp;}
|
||||
.alm-match-row {position:relative;display:block;width:100%;height:160dp;min-height:160dp;margin:0;padding:0;border:0dp;border-bottom:2dp var(--border);border-radius:12dp;background-color:transparent;color:var(--text);text-align:left;}
|
||||
.alm-match-row.striped {background-color:var(--soft);}
|
||||
.alm-match-row:hover {background-color:var(--hover);}
|
||||
.alm-match-row:focus-visible {border-color:var(--accent);background-color:var(--hover);}
|
||||
.alm-match-main {position:absolute;left:28dp;right:28dp;top:16dp;height:82dp;display:flex;align-items:center;gap:18dp;}
|
||||
.alm-match-main .alm-row-home,.alm-match-main .alm-row-away {height:82dp;}
|
||||
.alm-team {display:flex;align-items:center;gap:14dp;min-width:0;max-width:100%;font-size:34dp;line-height:44.2dp;}
|
||||
.alm-row-home .alm-team,.alm-row-away .alm-team {width:100%;}
|
||||
.alm-team-home {justify-content:flex-end;}
|
||||
.alm-team-away {justify-content:flex-start;}
|
||||
.alm-team-name {display:block;min-width:0;line-height:44.2dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.alm-crest {display:flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden;}
|
||||
.alm-crest .image-frame {flex-shrink:0;}
|
||||
.alm-no-crest {display:block;font-size:24dp;line-height:31.2dp;text-align:center;}
|
||||
.alm-list-score {height:82dp;flex-direction:column;gap:3dp;}
|
||||
.alm-list-score-value {display:block;height:52dp;line-height:52dp;font-size:40dp;white-space:nowrap;}
|
||||
.alm-list-score-phase {display:block;height:27dp;line-height:27dp;font-size:22dp;white-space:nowrap;color:var(--muted);}
|
||||
.alm-match-meta {position:absolute;left:28dp;right:28dp;top:111dp;height:31.2dp;display:flex;align-items:center;justify-content:center;font-size:24dp;color:var(--muted);}
|
||||
.alm-match-meta span {display:block;width:100%;max-width:100%;text-align:center;line-height:31.2dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.alm-summary {position:absolute;left:0;top:132dp;width:2612dp;height:360dp;padding:20dp 28dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);}
|
||||
.alm-summary-teams {position:absolute;left:28dp;right:28dp;top:20dp;height:250dp;}
|
||||
.alm-summary-team {position:absolute;top:0;width:854dp;height:250dp;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10dp;min-width:0;text-align:center;}
|
||||
.alm-summary-team.home {left:0;}
|
||||
.alm-summary-team.away {right:0;}
|
||||
.alm-summary-team-name {display:block;width:100%;max-width:100%;height:50dp;line-height:50dp;font-size:42dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.alm-summary-manager {display:block;width:100%;max-width:100%;height:39dp;line-height:39dp;font-size:30dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);}
|
||||
.alm-summary-result {position:absolute;left:886dp;top:0;width:780dp;height:250dp;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10dp;text-align:center;}
|
||||
.alm-summary-score {display:block;height:80dp;line-height:80dp;font-size:68dp;}
|
||||
.alm-summary-phase {display:block;max-width:780dp;line-height:33.8dp;font-size:26dp;color:var(--muted);}
|
||||
.alm-summary-phases {display:block;max-width:780dp;line-height:31.2dp;font-size:24dp;color:var(--muted);}
|
||||
.alm-match-facts {position:absolute;left:28dp;right:28dp;bottom:0;height:86dp;border-top:2dp var(--border);display:flex;align-items:center;gap:24dp;}
|
||||
.alm-match-fact {display:flex;align-items:center;justify-content:center;gap:16dp;flex:1;min-width:0;height:84dp;font-size:28dp;}
|
||||
.alm-fact-label {display:block;flex-shrink:0;line-height:36.4dp;white-space:nowrap;color:var(--muted);}
|
||||
.alm-fact-value {display:block;min-width:0;line-height:36.4dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.alm-tabs {position:absolute;left:0;top:520dp;width:2612dp;height:82dp;padding:6dp;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);display:flex;gap:12dp;}
|
||||
.alm-tab {display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:66dp;padding:0;border:0dp;border-radius:10dp;background-color:transparent;font-size:32dp;color:var(--muted);}
|
||||
.alm-tab span {display:block;line-height:41.6dp;}
|
||||
.alm-tab.selected {background-color:var(--selected);color:var(--text);}
|
||||
.alm-tab:hover {background-color:var(--hover);}
|
||||
.alm-detail-content {position:absolute;left:0;top:626dp;width:2612dp;height:1104dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.alm-lineups {display:flex;align-items:stretch;gap:32dp;}
|
||||
.alm-lineup {flex:1;min-width:0;padding:20dp 26dp;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);}
|
||||
.alm-lineup header {height:64dp;display:flex;align-items:center;justify-content:center;}
|
||||
.alm-lineup h3 {height:46dp;line-height:46dp;margin-top:20dp;font-size:28dp;font-weight:normal;color:var(--muted);}
|
||||
.alm-player {display:flex;align-items:center;height:66dp;gap:20dp;border-bottom:1dp var(--border);font-size:32dp;}
|
||||
.alm-player-number {display:block;flex-shrink:0;width:70dp;line-height:41.6dp;text-align:right;color:var(--muted);}
|
||||
.alm-position {display:block;flex-shrink:0;width:110dp;line-height:33.8dp;font-size:26dp;color:var(--muted);}
|
||||
.alm-player-name {display:block;min-width:0;flex:1;line-height:41.6dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.alm-empty {padding:40dp 0;font-size:30dp;line-height:39dp;text-align:center;color:var(--muted);}
|
||||
.alm-event {position:relative;display:flex;align-items:center;min-height:104dp;padding:12dp 18dp;gap:24dp;border-bottom:2dp var(--border);font-size:30dp;}
|
||||
.alm-event.striped {background-color:var(--soft);}
|
||||
.alm-event-minute {display:block;flex-shrink:0;width:160dp;line-height:36.4dp;font-size:28dp;white-space:nowrap;color:var(--accent);}
|
||||
.alm-event-team {display:block;flex-shrink:0;min-width:0;width:500dp;line-height:39dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.alm-event-description {display:block;flex:1;min-width:0;}
|
||||
.alm-event-kind {display:block;line-height:36.4dp;font-size:28dp;}
|
||||
.alm-event-text {display:block;margin-top:5dp;line-height:36.4dp;font-size:28dp;white-space:normal;color:var(--muted);}
|
||||
body.midnight .almanac {color:#dce3e9;}
|
||||
body.midnight .alm-control {border-color:#d4e0ec29;color:#e0e6ec;}
|
||||
body.midnight .alm-month,body.midnight .alm-summary,body.midnight .alm-tabs,body.midnight .alm-lineup {background-color:#101d2826;border-color:#c5d9e71a;}
|
||||
body.midnight .alm-weekday,body.midnight .alm-day {color:#9aaab9;}
|
||||
body.midnight .alm-weekday.sunday {color:#eb9f98;}
|
||||
body.midnight .alm-day.played {background-color:#7d9eb83b;color:#a9dccb;}
|
||||
body.midnight .alm-day.played:hover {background-color:#d0e2f226;}
|
||||
body.midnight .alm-year-context,body.midnight .alm-footer,body.midnight .alm-list-head,body.midnight .alm-list-score-phase,body.midnight .alm-match-meta,body.midnight .alm-summary-manager,body.midnight .alm-summary-phase,body.midnight .alm-summary-phases,body.midnight .alm-fact-label,body.midnight .alm-lineup h3,body.midnight .alm-player-number,body.midnight .alm-position,body.midnight .alm-empty,body.midnight .alm-event-text {color:#9eb4c7;}
|
||||
body.midnight .alm-key-marker {background-color:#a9dccb;}
|
||||
body.midnight .alm-match-row {color:#dce3e9;border-color:#d5e3ed15;}
|
||||
body.midnight .alm-match-row.striped,body.midnight .alm-event.striped {background-color:#e3edf605;}
|
||||
body.midnight .alm-match-row:hover {background-color:#d0e2f226;}
|
||||
body.midnight .alm-tab.selected {background-color:#7d9eb83b;color:#eff4f7;}
|
||||
body.midnight .alm-event-minute {color:#a9dccb;}
|
||||
body.midnight .alm-list-head {border-color:#d5e3ed26;}
|
||||
body.midnight .alm-player,body.midnight .alm-event {border-color:#d5e3ed15;}
|
||||
body.silver .alm-control {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .alm-control {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
|
||||
body.midnight .almanac .alm-toolbar .report-picker-popup .report-picker-option[aria-checked=true] {background-color:#7d9eb83b;color:#a9dccb;}
|
||||
@@ -0,0 +1,62 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.amount-layer {position:absolute;left:0;right:0;top:0;bottom:0;z-index:150;display:flex;align-items:center;justify-content:center;background-color:#0a131d66;}
|
||||
.amount-box {position:relative;flex-shrink:0;width:820dp;height:1154dp;padding:26dp;border:2dp var(--border);border-radius:30dp;background-color:var(--strong);color:var(--text);}
|
||||
.amount-button {display:flex;align-items:center;justify-content:center;padding:0;border:1dp var(--border);border-radius:14dp;background-color:#53616d;font-size:46dp;font-weight:normal;line-height:1.1;color:var(--text);}
|
||||
.amount-button:hover {filter:brightness(1.16);}
|
||||
.amount-button:active {filter:brightness(.88);}
|
||||
.amount-button[disabled] {opacity:.4;}
|
||||
.amount-button:focus-visible {border-color:var(--accent);}
|
||||
.amount-header {position:absolute;left:26dp;top:26dp;width:764dp;height:58dp;}
|
||||
.amount-header h2 {position:absolute;left:62dp;top:10.8dp;width:640dp;height:36.4dp;line-height:36.4dp;margin:0;font-size:28dp;font-weight:normal;text-align:center;}
|
||||
.amount-header .amount-close {position:absolute;left:0;top:7dp;width:44dp;height:44dp;border-radius:22dp;background-color:#fa6a60;border-color:#ffb0a34d;color:#572c29;font-size:34dp;}
|
||||
.amount-label {position:absolute;left:26dp;top:104dp;width:764dp;height:28dp;line-height:28dp;text-align:right;font-size:24dp;color:var(--muted);}
|
||||
#calculator-value {position:absolute;left:26dp;top:132dp;width:764dp;height:112dp;padding:6dp 8dp;border:0dp;border-radius:10dp;background-color:transparent;color:var(--text);font-size:82dp;font-weight:normal;line-height:98.4dp;text-align:right;letter-spacing:-2dp;}
|
||||
.amount-context {position:absolute;left:26dp;top:256dp;width:764dp;height:58dp;}
|
||||
.amount-limit {position:absolute;left:0;top:0;width:595.984dp;height:58dp;display:flex;align-items:center;font-size:24dp;color:var(--muted);}
|
||||
.amount-limit span {display:block;line-height:28dp;}
|
||||
.amount-context .amount-button {position:absolute;top:5dp;height:48dp;font-size:24dp;border-radius:10dp;background-color:#384957;}
|
||||
.amount-clear {left:607.984dp;width:66dp;}
|
||||
.amount-max {left:685.984dp;width:78.016dp;}
|
||||
.amount-proposal,.amount-key {position:absolute;}
|
||||
.amount-proposal {font-size:31dp;background-color:#40596b;}
|
||||
.amount-proposal.selected {background-color:var(--selected);color:var(--accent);}
|
||||
.amount-feedback {position:absolute;left:26dp;top:964dp;width:764dp;height:70dp;display:flex;align-items:center;justify-content:center;margin:0;font-size:24dp;line-height:32.4dp;text-align:center;color:var(--muted);}
|
||||
.amount-feedback span {display:block;width:100%;line-height:32.4dp;}
|
||||
.amount-feedback.invalid {color:#e7c7a7;}
|
||||
.amount-actions {position:absolute;left:26dp;top:1050dp;width:764dp;height:74dp;display:flex;gap:14dp;}
|
||||
.amount-actions .amount-button {height:74dp;width:326.078dp;font-size:28dp;background-color:#3b4b59;}
|
||||
.amount-actions .amount-button.amount-accept {width:423.922dp;background-color:var(--accent);color:var(--on-accent);}
|
||||
.amount-box.amount-review {height:auto;min-height:620dp;padding:70dp;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:42dp;text-align:center;}
|
||||
.amount-review h2 {display:block;width:100%;margin:0;line-height:50dp;font-size:44dp;font-weight:bold;}
|
||||
.amount-review>p {display:block;width:100%;margin:0;line-height:51dp;font-size:34dp;color:var(--text);}
|
||||
.amount-review>strong {display:block;width:100%;font-size:74dp;line-height:85dp;font-weight:normal;color:var(--accent);}
|
||||
.amount-review-actions {display:flex;align-items:center;justify-content:center;flex-shrink:0;gap:24dp;width:697.188dp;height:87.188dp;margin-top:28dp;}
|
||||
.amount-review-actions .amount-button {height:87.188dp;width:234.781dp;padding:24dp 38dp;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);font-size:32dp;line-height:35.2dp;flex-shrink:0;}
|
||||
.amount-review-actions #calculator-back {width:183.188dp;}
|
||||
.amount-review-actions #calculator-confirm {width:231.219dp;background-color:var(--selected);border-color:var(--accent);}
|
||||
.amount-review .amount-review-error {color:var(--danger);font-size:26dp;line-height:35dp;}
|
||||
body.midnight .amount-box {background-color:#293846fa;border-color:#dce8f13d;color:#eef2f6;}
|
||||
body.midnight .amount-review>strong {color:#c4e9dd;}
|
||||
body.midnight .amount-review>p {color:#b5cad9;}
|
||||
body.silver .amount-button {background-color:#d8e2eb;}
|
||||
body.matchday .amount-button {background-color:#514b50;}
|
||||
body.silver .amount-context .amount-button,body.matchday .amount-context .amount-button {background-color:var(--soft);}
|
||||
body.silver .amount-proposal,body.matchday .amount-proposal {background-color:var(--panel);}
|
||||
body.midnight .amount-box {background-color:transparent;decorator:linear-gradient(155deg,#364350f5,#1f2b37fa);}
|
||||
body.silver .amount-box {background-color:#eaf1f7fc;}
|
||||
body.matchday .amount-box {background-color:#2c2c32fc;}
|
||||
body.silver .amount-proposal.selected,body.matchday .amount-proposal.selected {background-color:var(--selected);color:var(--accent);}
|
||||
#calculator-value selection {color:#ffffff;background-color:#144bc1;}
|
||||
#calculator-value:focus {box-shadow:0dp 0dp 0dp 2dp #b2d7f23b;}
|
||||
body.midnight .amount-actions .amount-accept {background-color:#719dab;color:#10252d;}
|
||||
body.midnight .amount-review-actions #calculator-confirm {background-color:#96cdb536;border-color:#a5dfca73;}
|
||||
body.silver .amount-button {background-color:transparent;decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .amount-button {background-color:transparent;decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.silver .amount-button.selected,body.matchday .amount-button.selected,
|
||||
body.silver .amount-button.amount-accept,body.matchday .amount-button.amount-accept,
|
||||
body.silver .amount-review #calculator-confirm,body.matchday .amount-review #calculator-confirm {decorator:none;}
|
||||
body.silver .amount-header .amount-close,body.matchday .amount-header .amount-close {decorator:none;background-color:#fa6a60;border-color:#ffb0a34d;color:#572c29;}
|
||||
body.silver .amount-context .amount-button,body.matchday .amount-context .amount-button {background-color:transparent;}
|
||||
|
||||
/* Confirmation amounts carry money semantics, independent of the skin accent. */
|
||||
body.matchday .amount-review>strong {color:var(--money);}
|
||||
@@ -0,0 +1,84 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.bank-page {position:absolute;left:0;right:0;top:0;bottom:0;color:var(--text);}
|
||||
.bank-scene {position:absolute;left:0;top:60dp;width:2612dp;height:1470.016746dp;border:2dp var(--border);border-radius:20dp;overflow:hidden;}
|
||||
.bank-hotspots {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.bank-hotspot,.bank-hotspot:hover {position:absolute;padding:0;border:0dp;border-radius:10dp;background-color:transparent;decorator:none;}
|
||||
.bank-hotspot:focus-visible {border:4dp var(--accent);}
|
||||
#bank-interaction-hint {position:absolute;left:40dp;right:40dp;bottom:25dp;min-height:90dp;display:flex;align-items:center;justify-content:center;text-align:center;font-size:32dp;line-height:46.4dp;}
|
||||
.bank-overlay {position:absolute;left:0;right:0;top:0;bottom:0;border:2dp var(--border);border-radius:20dp;background-color:#243441f7;color:var(--text);font-size:34dp;}
|
||||
.bank-overlay>h2 {position:absolute;left:50dp;right:50dp;top:40dp;text-align:center;font-size:40dp;line-height:45dp;font-weight:normal;}
|
||||
.bank-actions {position:absolute;left:50dp;right:50dp;bottom:35dp;height:84dp;display:flex;gap:30dp;}
|
||||
.bank-actions .bank-control {flex:1;min-width:0;height:84dp;padding:12dp 24dp;font-size:32dp;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);}
|
||||
.savings-overlay {background-color:#1c2d3bba;}
|
||||
.passbook {position:absolute;left:254dp;top:35dp;width:2100dp;height:1301.109375dp;color:#342c27;}
|
||||
.passbook-left,.passbook-right {position:absolute;top:30dp;bottom:30dp;width:924dp;font-size:34dp;line-height:49.3dp;}
|
||||
.passbook-left {left:63dp;}
|
||||
.passbook-right {right:63dp;}
|
||||
.passbook h2 {position:absolute;left:0;right:0;top:0;text-align:center;font-size:52dp;line-height:60dp;font-weight:normal;color:#8b3c32;}
|
||||
.passbook h3 {position:absolute;left:0;right:0;top:90dp;font-size:46dp;line-height:54dp;font-weight:bold;text-transform:uppercase;color:#423628;}
|
||||
.passbook-left p {position:absolute;left:0;right:0;}
|
||||
.passbook-note-one {top:184dp;}
|
||||
.passbook-note-two {top:273.296875dp;}
|
||||
.passbook-note-three {top:411.890625dp;}
|
||||
.passbook-right h2 {color:#5b4837;}
|
||||
.passbook-right output {position:absolute;left:0;right:0;top:140dp;text-align:right;font-size:54dp;line-height:62dp;}
|
||||
.property-row {position:absolute;left:50dp;right:50dp;height:650dp;display:flex;align-items:center;gap:50dp;}
|
||||
.owned-property {top:115dp;}
|
||||
.offered-property {top:765dp;}
|
||||
.property-description {flex:1;min-width:0;font-size:34dp;line-height:47.6dp;}
|
||||
.property-description h3 {font-size:34dp;font-weight:normal;line-height:44.2dp;margin:10dp 0 30dp;}
|
||||
.property-description p {margin:20dp 0;}
|
||||
.property-picture {width:1000dp;height:570dp;flex-shrink:0;padding:0;border:2dp var(--border);border-radius:16dp;background-color:#172431;overflow:hidden;display:flex;align-items:center;justify-content:center;}
|
||||
.property-empty {display:block;width:100%;height:100%;background-color:#242323;}
|
||||
.stock-table {position:absolute;left:50dp;top:115dp;width:1718dp;height:1320dp;font-size:32dp;}
|
||||
.stock-row {display:flex;align-items:center;height:103.333333dp;}
|
||||
.stock-row.stock-head {height:80dp;}
|
||||
.stock-row>div {width:399.333333dp;flex-shrink:0;text-align:right;color:#d8c892;}
|
||||
.stock-row>div:first-child {width:520dp;text-align:left;}
|
||||
.stock-head>div {color:var(--text);}
|
||||
.stock-name {font-size:32dp;padding:8dp 15dp;border:0dp;border-radius:8dp;background-color:transparent;color:var(--text);}
|
||||
.stock-name[aria-pressed=true] {background-color:var(--selected);color:var(--accent);}
|
||||
.stock-chart {position:absolute;left:1818dp;top:115dp;width:740dp;height:1320dp;background-color:#172938;border-radius:16dp;overflow:hidden;}
|
||||
.credit-portrait {position:absolute;left:50dp;top:135dp;width:620dp;height:515dp;border-radius:16dp;overflow:hidden;}
|
||||
.credit-facts {position:absolute;left:740dp;top:195dp;width:1818dp;height:395dp;font-size:34dp;line-height:39dp;}
|
||||
.credit-fact {position:absolute;left:0;right:0;height:63dp;display:flex;justify-content:space-between;}
|
||||
.credit-fact>span,.credit-fact>strong {display:block;width:891.5dp;font-weight:normal;}
|
||||
.credit-fact>strong {text-align:right;white-space:nowrap;color:#b9d8e2;}
|
||||
#bank-term {width:190dp;height:63dp;padding:12dp 30dp 12dp 12dp;text-align:left;border:2dp var(--border);border-radius:10dp;background-color:#263744;color:var(--text);font-size:30dp;}
|
||||
.credit-schedule {position:absolute;left:50dp;right:50dp;top:686dp;height:642.78125dp;border:2dp var(--border);border-radius:18dp;background-color:#1a303fe6;}
|
||||
.credit-schedule-caption {position:absolute;left:36dp;right:36dp;top:28dp;height:106.390625dp;}
|
||||
.credit-schedule-caption h3 {font-size:32dp;line-height:41.59375dp;font-weight:normal;color:var(--text);}
|
||||
.credit-schedule-amount {position:absolute;left:0;top:51.59375dp;font-size:42dp;line-height:54.796875dp;color:var(--accent);}
|
||||
.credit-schedule-amount>span {padding:0 16dp;color:var(--muted);}
|
||||
.credit-schedule-context {position:absolute;right:0;top:0;text-align:right;}
|
||||
.credit-schedule-context>span {display:inline-block;padding:10dp 22dp;border:2dp var(--border);border-radius:12dp;background-color:var(--soft);font-size:28dp;line-height:36.4dp;}
|
||||
.credit-schedule-context>p {margin-top:14dp;font-size:26dp;line-height:33.8dp;color:var(--muted);}
|
||||
.credit-chart {position:absolute;left:36dp;top:152.390625dp;width:2432dp;height:420dp;}
|
||||
.credit-schedule-note {position:absolute;left:36dp;right:36dp;top:580.390625dp;font-size:26dp;line-height:36.390625dp;color:var(--muted);}
|
||||
.bank-note {font-size:28dp;line-height:42dp;color:var(--muted);}
|
||||
.credit-note {position:absolute;left:50dp;right:50dp;top:1346.78125dp;line-height:39.1875dp;}
|
||||
.bank-overview {position:absolute;left:110dp;right:110dp;top:175dp;font-size:40dp;line-height:45dp;}
|
||||
.bank-overview-row {height:113dp;display:flex;justify-content:space-between;gap:45dp;}
|
||||
.bank-overview-row>span,.bank-overview-row>strong {display:block;width:50%;font-weight:normal;}
|
||||
.bank-overview-row>strong {text-align:right;color:#b9d8e2;}
|
||||
.bank-overview-total {height:90dp;border-top:5dp var(--border);padding-top:40dp;}
|
||||
.overview-note {position:absolute;left:50dp;right:50dp;bottom:50dp;}
|
||||
body.silver .bank-overlay {background-color:#eaf1f7fc;color:#233443;}
|
||||
body.silver .savings-overlay {background-color:#f1f6fa80;}
|
||||
body.silver .property-picture {background-color:#f1f6fa80;}
|
||||
body.silver .stock-chart {background-color:#f1f6fa80;}
|
||||
body.silver .stock-row>div {color:#805b18;}
|
||||
body.silver .stock-head>div,body.silver .stock-name {color:#233443;}
|
||||
body.silver .credit-fact>strong,body.silver .bank-overview-row>strong {color:#233443;}
|
||||
body.silver #bank-term {background-color:#ffffffad;color:#233443;}
|
||||
body.silver .credit-schedule {background-color:#f1f6fa80;}
|
||||
body.silver .bank-actions .bank-control {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .bank-overlay {background-color:#2c2c32fc;color:#efeded;}
|
||||
body.matchday .savings-overlay {background-color:#1d1e2466;}
|
||||
body.matchday .property-picture,body.matchday .stock-chart {background-color:#1d1e2466;}
|
||||
body.matchday .stock-row>div {color:#e1c68b;}
|
||||
body.matchday .stock-head>div,body.matchday .stock-name {color:#efeded;}
|
||||
body.matchday .credit-fact>strong,body.matchday .bank-overview-row>strong {color:#efeded;}
|
||||
body.matchday #bank-term {background-color:#191a208a;color:#efeded;}
|
||||
body.matchday .credit-schedule {background-color:#1d1e2466;}
|
||||
body.matchday .bank-actions .bank-control {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
@@ -0,0 +1,50 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.calendar-month {position:absolute;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);}
|
||||
.calendar-month h2 {position:absolute;left:12dp;right:12dp;top:14dp;height:34dp;font-size:30dp;text-align:center;}
|
||||
.calendar-weekday {position:absolute;display:flex;align-items:center;font-size:24dp;font-weight:normal;color:var(--muted);}
|
||||
.calendar-weekday.sunday {color:var(--danger);}
|
||||
.calendar-day {position:absolute;display:flex;align-items:center;justify-content:center;padding:0;border:0dp;border-radius:8dp;background-color:transparent;font-size:30dp;}
|
||||
.calendar-day:hover {background-color:var(--hover);}
|
||||
.calendar-day.has-match {color:#e9cb86;}
|
||||
.calendar-day.selected-day {background-color:#7d9eb83b;color:#ffffff;}
|
||||
.calendar-outline {position:absolute;left:3dp;right:3dp;top:3dp;bottom:3dp;border:2dp #a8cde7;border-radius:8dp;pointer-events:none;}
|
||||
.calendar-day:focus-visible {font-effect:shadow(1dp 0dp var(--accent));}
|
||||
.calendar-info {position:absolute;left:0;right:0;bottom:140dp;height:34dp;line-height:34dp;text-align:center;font-size:30dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
#calendar-country,#calendar-league {padding:12dp 24dp;padding-right:45dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);}
|
||||
body.midnight .calendar-month {border-color:#c5d9e71a;background-color:#101d2826;}
|
||||
body.midnight .calendar-month h2 {color:#dce5ee;}
|
||||
body.midnight .calendar-weekday {color:#97a8b7;}
|
||||
body.midnight .calendar-weekday.sunday {color:#eb9f98;}
|
||||
body.midnight .calendar-day {color:#c6d2dc;}
|
||||
body.midnight .calendar-day.has-match {color:#e9cb86;}
|
||||
body.midnight .calendar-day.selected-day {color:#ffffff;}
|
||||
body.midnight .calendar-info {color:#c6d2dc;}
|
||||
body.midnight #calendar-country,body.midnight #calendar-league {color:#e0e6ec;border-color:#d4e0ec29;}
|
||||
body.silver .calendar-month {background-color:#42627d09;}
|
||||
body.silver .calendar-day.has-match {color:#805b18;}
|
||||
body.silver .calendar-day.selected-day {background-color:#a3c3dd54;color:#193b52;}
|
||||
body.silver .calendar-outline {border-color:#356f966e;}
|
||||
body.silver #calendar-country,body.silver #calendar-league {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .calendar-month {background-color:#f8e7e00a;}
|
||||
body.matchday .calendar-day.has-match {color:#e1c68b;}
|
||||
body.matchday .calendar-day.selected-day {background-color:#d48c7b26;color:#ffe5de;}
|
||||
body.matchday .calendar-outline {border-color:#e5a19770;}
|
||||
body.matchday #calendar-country,body.matchday #calendar-league {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
|
||||
/* Generic competition dates do not claim that the active club has a fixture. */
|
||||
.calendar-event-mark {position:absolute;left:43%;bottom:4dp;width:8dp;height:5dp;border-radius:2dp;background-color:var(--muted);pointer-events:none;}
|
||||
.calendar-day.valid-target .calendar-event-mark {background-color:var(--accent);width:16dp;left:36%;height:5dp;}
|
||||
.calendar-day.rescheduled-date .calendar-event-mark {background-color:var(--accent);}
|
||||
|
||||
/* Fixed scope labels have no dropdown caret and need symmetric padding. */
|
||||
#calendar-country.engine-calendar-label,#calendar-league.engine-calendar-label {padding-right:24dp;}
|
||||
|
||||
/* Availability and the chosen source are semantic green in every skin. */
|
||||
body .calendar-day.valid-target .calendar-event-mark,
|
||||
body .calendar-day.rescheduled-date .calendar-event-mark {background-color:#a9dccb;}
|
||||
body .calendar-day .calendar-outline.source-outline {border-color:#a9dccb;}
|
||||
body .postpone-layout .postpone-summary small.valid {color:#a9dccb;}
|
||||
body.silver .calendar-day.valid-target .calendar-event-mark,
|
||||
body.silver .calendar-day.rescheduled-date .calendar-event-mark {background-color:#256a4f;}
|
||||
body.silver .calendar-day .calendar-outline.source-outline {border-color:#256a4f;}
|
||||
body.silver .postpone-layout .postpone-summary small.valid {color:#256a4f;}
|
||||
@@ -0,0 +1,37 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.career-hub {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.career-hub>header {position:absolute;left:0;right:0;top:0;height:150dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;}
|
||||
.career-hub h2 {font-size:44dp;margin:0 0 12dp;}
|
||||
.career-hub header p {font-size:28dp;color:var(--muted);margin:0;}
|
||||
.career-hub header nav {display:flex;gap:14dp;}
|
||||
.career-hub header nav button {min-width:210dp;height:76dp;font-size:26dp;}
|
||||
.career-cards {position:absolute;left:0;right:0;top:176dp;bottom:216dp;}
|
||||
.career-card {position:absolute;top:0;width:1292dp;height:723dp;border:3dp var(--border);border-radius:24dp;overflow:hidden;padding:0;background-color:var(--panel);}
|
||||
.career-card>.image-frame {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.career-resign {left:0;}.career-search {right:0;}.career-add {left:0;right:0;top:749dp;width:2612dp;}
|
||||
.career-caption {position:absolute;left:0;right:0;bottom:0;padding:50dp 34dp 28dp;background-color:#0c1723ed;display:flex;align-items:baseline;justify-content:space-between;gap:24dp;color:#f7f9fc;}
|
||||
.career-caption strong {font-size:40dp;}.career-caption small {font-size:27dp;color:#d1dfe9;}
|
||||
.career-hub>footer {position:absolute;left:0;right:0;bottom:0;height:190dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;}
|
||||
.career-hub footer section>span {display:block;font-size:26dp;color:var(--muted);margin-bottom:14dp;}
|
||||
.career-hub footer section>div {display:flex;gap:16dp;}
|
||||
.career-hub footer button {height:82dp;font-size:28dp;min-width:230dp;}
|
||||
.career-hub .selected {background-color:var(--selected);border-color:var(--accent);color:var(--accent);}
|
||||
.career-dialog label {display:block;font-size:32dp;margin-bottom:20dp;}
|
||||
.career-dialog select {width:100%;height:100dp;font-size:32dp;}
|
||||
.career-dialog p {font-size:32dp;line-height:1.5;margin:28dp 0;}
|
||||
|
||||
.career-hub h2,.career-caption strong {font-weight:bold;}
|
||||
.career-hub header nav {max-width:64%;flex-wrap:wrap;}
|
||||
|
||||
/* QA CSS candidate: Gold full-width career confirmation. */
|
||||
.career-dialog {width:2484dp;}
|
||||
.career-dialog>h2 {width:100%;text-align:center;}
|
||||
|
||||
#career-dialog-layer {left:0;right:0;top:0;bottom:0;padding:0;}
|
||||
.career-dialog {display:flex;flex-direction:column;}
|
||||
.career-dialog>h2 {height:48dp;line-height:48dp;margin:0 0 35dp;flex-shrink:0;}
|
||||
.career-dialog>label {height:37dp;line-height:37dp;margin:0 0 26dp;flex-shrink:0;}
|
||||
.career-dialog>select {height:82dp;flex-shrink:0;margin:0;}
|
||||
.career-dialog>p:nth-child(4) {height:48dp;line-height:48dp;margin:58dp 0 32dp;flex-shrink:0;}
|
||||
.career-dialog>footer {height:65dp;flex-shrink:0;margin:45dp 0 0;}
|
||||
.career-dialog>footer button {height:65dp;padding:12dp 24dp;line-height:37dp;}
|
||||
@@ -0,0 +1,84 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.career-achievements,.career-highscore {position:absolute;left:0;top:0;width:2612dp;height:1864dp;color:var(--text);}
|
||||
.career-achievements-heading {position:absolute;left:0;top:0;width:2612dp;height:118dp;display:flex;align-items:center;justify-content:space-between;}
|
||||
.career-heading-copy {height:86dp;}
|
||||
.career-heading-copy h2 {height:44dp;line-height:44dp;margin:0;font-size:38dp;font-weight:normal;}
|
||||
.career-heading-copy p {height:30dp;line-height:30dp;margin:12dp 0 0;font-size:26dp;color:var(--muted);}
|
||||
.career-range {display:block;height:39dp;line-height:39dp;white-space:nowrap;font-size:34dp;color:#abc5d6;}
|
||||
.career-chart {position:absolute;border:2dp #c5d9e726;border-radius:18dp;background-color:#12243140;}
|
||||
.career-chart>header {position:absolute;left:30dp;top:24dp;width:2548dp;height:54dp;display:flex;align-items:center;justify-content:space-between;}
|
||||
.career-chart h2 {margin:0;font-size:33dp;font-weight:normal;white-space:nowrap;color:#dbe7ef;}
|
||||
.career-chart-summary {display:flex;align-items:baseline;justify-content:flex-end;}
|
||||
.career-chart-summary>span {display:block;white-space:nowrap;}
|
||||
.career-chart-year {font-size:26dp;color:#92adc0;}
|
||||
.career-chart-result {font-size:30dp;margin-left:20dp;color:#c4dce9;}
|
||||
.career-chart-art {position:absolute;left:30dp;top:78dp;width:2548dp;height:403.333333dp;pointer-events:none;}
|
||||
.career-report-actions {position:absolute;left:0;top:1770dp;width:2612dp;height:94dp;display:flex;}
|
||||
.career-report-actions .career-action {width:854.666667dp;height:94dp;margin-right:24dp;padding:12dp 24dp;font-size:30dp;flex-shrink:0;}
|
||||
.career-report-actions .career-action:last-child {margin-right:0;}
|
||||
.career-action {border:2dp #d4e0ec29;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);color:#e0e6ec;font-weight:normal;}
|
||||
.career-action .control-label {display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.career-action:hover {decorator:none;background-color:var(--hover);}
|
||||
.career-action:focus-visible {border-color:var(--accent);}
|
||||
.career-report-empty {margin:0;padding:40dp;font-size:30dp;color:var(--muted);}
|
||||
.career-achievements>.career-report-empty {position:absolute;left:0;top:150dp;}
|
||||
.career-history-layer {position:absolute;left:0;top:0;width:2612dp;height:1864dp;z-index:20;background-color:#08101980;}
|
||||
.career-history-dialog {position:absolute;left:64dp;top:314dp;width:2484dp;height:1236dp;border:2dp #e1ecf429;border-radius:22dp;background-color:#283542f5;color:#d7e5cf;}
|
||||
.career-history-dialog h2 {position:absolute;left:52dp;top:40dp;width:2376dp;height:48dp;line-height:48dp;margin:0;font-size:42dp;font-weight:bold;letter-spacing:-0.4dp;text-align:center;color:#e3ecf3;}
|
||||
.career-history-club {position:absolute;left:52dp;top:123dp;width:2376dp;height:45dp;display:flex;align-items:center;justify-content:space-between;font-size:30dp;}
|
||||
.career-history-club>.report-club-button {max-width:1120dp;padding:0;font-size:30dp;}
|
||||
.career-history-club>.report-club-button .report-club-name {width:1058dp;}
|
||||
.career-history-club>span {display:block;white-space:nowrap;font-size:26dp;color:#98b2c5;}
|
||||
.career-history-table {position:absolute;left:52dp;top:198dp;width:2376dp;height:884dp;overflow-x:hidden;overflow-y:auto;}
|
||||
.career-history-row {display:flex;width:2376dp;height:68dp;align-items:center;font-size:30dp;}
|
||||
.career-history-row.striped {background-color:#38706b19;}
|
||||
.career-history-head {font-size:28dp;color:#9fb8ca;border-bottom:4dp #4e8b7b;}
|
||||
.career-cell {display:flex;align-items:center;justify-content:center;min-width:0;flex-shrink:0;overflow:hidden;}
|
||||
.career-cell>span {display:block;width:100%;max-width:100%;min-width:0;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.history-season {width:380.16dp;height:68dp;padding:6dp 16dp;}
|
||||
.history-result {width:665.28dp;height:68dp;padding:6dp 16dp;}
|
||||
.history-heading-season>span {text-align:left;}
|
||||
.career-title {color:#a9dccb;}
|
||||
.career-history-actions {position:absolute;left:52dp;top:1127dp;width:2376dp;height:65dp;display:flex;}
|
||||
.career-history-actions .career-action {width:2376dp;height:65dp;padding:12dp 24dp;font-size:32dp;}
|
||||
.career-highscore-art {position:absolute;left:636dp;top:10dp;width:1180dp;height:393.333333dp;pointer-events:none;}
|
||||
.career-highscore-table {position:absolute;left:0;top:440dp;width:2612dp;height:1424dp;border:2dp #c5d9e720;border-radius:18dp;background-color:#13263526;overflow-x:hidden;overflow-y:auto;}
|
||||
.career-highscore-row {display:flex;width:2608dp;height:118dp;align-items:center;font-size:32dp;color:#d4e0e9;}
|
||||
.career-highscore-head {font-size:27dp;color:#a8bdcc;border-bottom:2dp #c5d9e72b;}
|
||||
.career-highscore-row.striped {background-color:#e3edf605;}
|
||||
.career-highscore-row>.career-cell {height:118dp;padding:14dp 24dp;}
|
||||
.highscore-col-0 {width:560dp;justify-content:flex-start;}
|
||||
.highscore-col-0>span {text-align:left;}
|
||||
.highscore-col-1 {width:680dp;justify-content:flex-start;}
|
||||
.highscore-col-2 {width:350dp;color:#c7ded7;}
|
||||
.highscore-col-3,.highscore-col-4,.highscore-col-5 {width:339.333333dp;}
|
||||
.career-highscore .report-club-button {width:100%;max-width:100%;padding:0;font-size:32dp;color:#d4e0e9;}
|
||||
.career-highscore .report-club-name {width:570dp;max-width:100%;}
|
||||
body.silver .career-range,body.matchday .career-range,body.silver .career-chart h2,body.matchday .career-chart h2,body.silver .career-chart-result,body.matchday .career-chart-result {color:var(--text);}
|
||||
body.silver .career-chart-year,body.matchday .career-chart-year,body.silver .career-history-club>span,body.matchday .career-history-club>span {color:var(--muted);}
|
||||
body.silver .career-chart,body.matchday .career-chart {border-color:var(--border);background-color:var(--panel);}
|
||||
body.silver .career-action,body.matchday .career-action {border-color:var(--border);color:var(--text);}
|
||||
body.silver .career-action {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .career-action {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.silver .career-history-dialog {border-color:var(--border);background-color:#eaf1f7fc;color:var(--text);}
|
||||
body.matchday .career-history-dialog {border-color:var(--border);background-color:#2c2c32fc;color:var(--text);}
|
||||
body.silver .career-history-dialog h2,body.matchday .career-history-dialog h2 {color:var(--text);}
|
||||
body.silver .career-history-head,body.matchday .career-history-head {color:var(--muted);border-color:var(--border);}
|
||||
body.silver .career-history-row.striped {background-color:#42627d09;}
|
||||
body.matchday .career-history-row.striped {background-color:#f8e7e00a;}
|
||||
body.silver .career-title,body.matchday .career-title {color:var(--accent);}
|
||||
body.silver .career-highscore-table,body.matchday .career-highscore-table {border-color:var(--border);background-color:var(--soft);}
|
||||
body.silver .career-highscore-row,body.matchday .career-highscore-row,body.silver .career-highscore .report-club-button,body.matchday .career-highscore .report-club-button {color:var(--text);}
|
||||
body.silver .career-highscore-head,body.matchday .career-highscore-head {color:var(--muted);border-color:var(--border);}
|
||||
body.silver .highscore-col-2,body.matchday .highscore-col-2 {color:var(--accent);}
|
||||
body.silver .career-highscore-row.striped {background-color:#42627d09;}
|
||||
body.matchday .career-highscore-row.striped {background-color:#f8e7e00a;}
|
||||
/* Gold uses plain club labels: retain profile behaviour without centring or accenting names. */
|
||||
.highscore-col-1>span {text-align:left;}
|
||||
.career-highscore .report-club-name,.career-history-club .report-club-name {text-align:left;}
|
||||
.career-highscore .report-club-button.current,.career-highscore .report-club-name {color:#d4e0e9;}
|
||||
.career-history-club .report-club-button.current,.career-history-club .report-club-name {color:#bed3e1;}
|
||||
body.silver .career-highscore .report-club-button.current,body.matchday .career-highscore .report-club-button.current,
|
||||
body.silver .career-highscore .report-club-name,body.matchday .career-highscore .report-club-name,
|
||||
body.silver .career-history-club .report-club-button.current,body.matchday .career-history-club .report-club-button.current,
|
||||
body.silver .career-history-club .report-club-name,body.matchday .career-history-club .report-club-name {color:var(--text);}
|
||||
@@ -0,0 +1,124 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Contracts retain the HTML roster and modal coordinates in 2612 x 1864 dp. */
|
||||
.contracts-overview {position:absolute;left:0;top:0;width:2612dp;height:1864dp;color:var(--text);}
|
||||
.contracts-heading {position:absolute;left:0;top:0;width:2612dp;height:118dp;}
|
||||
.contracts-heading-club {position:absolute;left:0;top:7dp;width:1950dp;height:104dp;}
|
||||
.contracts-club-label {display:flex;align-items:center;gap:14dp;min-width:0;width:100%;height:58dp;font-size:38dp;}
|
||||
.contracts-club-label .image-frame {flex-shrink:0;}
|
||||
.contracts-club-label span {display:block;flex:1;min-width:0;width:100%;max-width:100%;line-height:44dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.contracts-heading-club p {display:block;position:absolute;left:0;top:70dp;width:100%;height:30dp;margin:0;font-size:26dp;line-height:30dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);}
|
||||
.contracts-salary-total {position:absolute;right:0;top:9dp;max-width:620dp;height:100dp;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:12dp;}
|
||||
.contracts-salary-total span {display:block;font-size:26dp;line-height:30dp;white-space:nowrap;color:var(--muted);}
|
||||
.contracts-salary-total .contracts-total-value {font-size:42dp;line-height:48dp;color:var(--accent);}
|
||||
.contracts-roster {position:absolute;left:0;top:148dp;width:2612dp;height:1578dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);overflow-y:auto;overflow-x:hidden;}
|
||||
.contracts-table {width:100%;font-size:30dp;}
|
||||
.contracts-row {display:flex;align-items:stretch;width:100%;height:76dp;color:var(--text);}
|
||||
.contracts-row.striped {background-color:var(--soft);}
|
||||
.contracts-row.selected {background-color:var(--selected);}
|
||||
.contracts-cell {display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;min-width:0;width:11.333333%;height:76dp;padding:8dp 18dp;font-size:30dp;overflow:hidden;}
|
||||
.contracts-cell.c0 {width:32%;justify-content:flex-start;}
|
||||
.contracts-cell.c1,.contracts-cell.c2,.contracts-cell.c3 {justify-content:center;}
|
||||
.contracts-cell span {display:block;max-width:100%;line-height:34dp;white-space:nowrap;}
|
||||
.contracts-table-head {height:70dp;border-bottom:2dp var(--border);}
|
||||
.contracts-table-head .contracts-cell {height:70dp;font-size:27dp;color:var(--muted);}
|
||||
.contracts-table-head .contracts-cell span {width:100%;line-height:31dp;overflow:hidden;text-overflow:ellipsis;text-align:right;}
|
||||
.contracts-table-head .contracts-cell.c0 span {text-align:left;}
|
||||
.contracts-table-head .contracts-cell.c1 span,.contracts-table-head .contracts-cell.c2 span,.contracts-table-head .contracts-cell.c3 span {text-align:center;}
|
||||
.contract-player-button {display:flex;align-items:center;justify-content:flex-start;gap:18dp;width:100%;max-width:100%;min-width:0;padding:4dp 0;border:0dp;border-radius:0dp;background-color:transparent;color:var(--text);font-size:30dp;text-align:left;}
|
||||
.contract-player-button:hover {background-color:var(--hover);}
|
||||
.contract-player-button:focus-visible {border-color:var(--accent);}
|
||||
.contracts-row.selected .contract-player-button {color:var(--accent);}
|
||||
.contract-player-button .contract-player-rank {display:block;flex-shrink:0;width:58dp;line-height:34dp;text-align:right;color:var(--muted);}
|
||||
.contract-player-button .contract-player-name {display:block;flex:1;min-width:0;width:100%;max-width:100%;line-height:34dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.contract-value {display:block;min-width:0;width:100%;max-width:100%;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.contracts-cell.c1 .contract-value,.contracts-cell.c2 .contract-value,.contracts-cell.c3 .contract-value {text-align:center;}
|
||||
.contracts-empty {margin:90dp 40dp;font-size:32dp;line-height:46dp;text-align:center;color:var(--muted);}
|
||||
.contracts-actions {position:absolute;left:0;top:1770dp;width:2612dp;height:94dp;display:flex;gap:20dp;}
|
||||
.contract-control {display:flex;align-items:center;justify-content:center;gap:18dp;padding:12dp 24dp;border:2dp var(--border);border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);font-size:30dp;font-weight:normal;color:var(--text);}
|
||||
.contract-control>span {display:block;min-width:0;width:100%;max-width:100%;line-height:34dp;white-space:nowrap;text-align:center;}
|
||||
.contract-control>.control-label {min-width:0;width:100%;max-width:100%;white-space:nowrap;text-align:center;}
|
||||
.contract-control:hover {decorator:none;background-color:var(--hover);}
|
||||
.contract-control:focus-visible {border-color:var(--accent);}
|
||||
.contract-control.selected {decorator:none;background-color:var(--selected);border-color:var(--accent);}
|
||||
.contracts-actions .contract-control {flex:1;min-width:0;height:94dp;}
|
||||
.contracts-actions .contract-control.bonuses {flex:1.2;}
|
||||
.contracts-layer {position:absolute;left:0;top:0;width:2612dp;height:1864dp;z-index:30;display:flex;align-items:center;justify-content:center;background-color:#08101980;}
|
||||
.contracts-dialog {position:relative;flex-shrink:0;width:2050dp;height:350dp;border:2dp var(--border);border-radius:22dp;background-color:var(--strong);font-size:36dp;color:var(--text);}
|
||||
.contracts-dialog-offer {height:1201.0625dp;}
|
||||
.contracts-dialog-insurance {height:581dp;}
|
||||
.contracts-dialog-bonuses {height:1132dp;}
|
||||
.contracts-dialog h2 {position:absolute;left:52dp;top:40dp;width:1942dp;height:45dp;margin:0;font-size:40dp;line-height:45dp;font-weight:bold;letter-spacing:-0.4dp;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.contract-player-summary {position:absolute;left:52dp;top:103dp;width:1942dp;height:42dp;margin:0;font-size:28dp;line-height:42dp;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);}
|
||||
.contract-scenes {position:absolute;left:52dp;top:173dp;width:1942dp;height:295.0625dp;display:flex;gap:24dp;}
|
||||
.contract-scene {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:959dp;height:295.0625dp;border:2dp var(--border);border-radius:14dp;overflow:hidden;}
|
||||
.contract-scene .image-frame {flex-shrink:0;}
|
||||
.contract-amounts {position:absolute;left:52dp;top:496.0625dp;width:1942dp;height:147dp;display:flex;gap:24dp;}
|
||||
.contract-amount-card {flex:1;min-width:0;height:147dp;padding:24dp 28dp;border:2dp var(--border);border-radius:14dp;background-color:var(--panel);}
|
||||
.contract-amount-label {display:block;width:100%;max-width:100%;height:31dp;line-height:31dp;font-size:27dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);}
|
||||
.contract-amount-value {display:block;width:100%;max-width:100%;height:48dp;line-height:48dp;margin-top:16dp;font-size:42dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.contract-duration-heading {position:absolute;left:52dp;top:671.0625dp;width:1942dp;height:34dp;display:flex;align-items:center;justify-content:space-between;font-size:30dp;}
|
||||
.contract-duration-heading span {display:block;line-height:34dp;}
|
||||
.contract-duration-value {color:var(--accent);}
|
||||
.contract-duration {position:absolute;left:52dp;top:721.0625dp;width:1942dp;height:78dp;display:flex;gap:18dp;}
|
||||
.contract-duration .contract-control {flex:1;min-width:0;height:78dp;font-size:30dp;}
|
||||
.contract-salary {position:absolute;left:52dp;top:827.0625dp;width:1942dp;height:136dp;border-top:2dp var(--border);border-bottom:2dp var(--border);font-size:32dp;}
|
||||
.contract-salary-label {position:absolute;left:0;top:28.5dp;width:1432dp;height:75dp;display:flex;flex-direction:column;gap:12dp;}
|
||||
.contract-salary-label span {display:block;font-size:32dp;line-height:36dp;}
|
||||
.contract-salary-label .contract-salary-hint {font-size:24dp;line-height:27dp;color:var(--muted);}
|
||||
.contract-salary-input {position:absolute;right:0;top:24dp;display:flex;align-items:center;justify-content:flex-end;width:480dp;height:84dp;padding:14dp 24dp;border:2dp var(--border);border-radius:12dp;background-color:var(--input);font-size:38dp;text-align:right;}
|
||||
.contract-salary-input span {display:block;width:100%;max-width:100%;text-align:right;line-height:44dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.contract-salary-input:focus-visible {border-color:var(--accent);}
|
||||
.contract-draft-note {position:absolute;left:52dp;top:987.0625dp;width:1942dp;height:39dp;margin:0;font-size:26dp;line-height:39dp;color:var(--muted);}
|
||||
.contract-dialog-actions {position:absolute;left:52dp;right:52dp;bottom:40dp;height:86dp;display:flex;gap:20dp;}
|
||||
.contract-dialog-actions .contract-control {flex:1;min-width:0;height:86dp;font-size:30dp;}
|
||||
.contract-submit {decorator:none;background-color:var(--selected);border-color:var(--accent);color:var(--accent);}
|
||||
.contract-insurance-prompt {position:absolute;left:52dp;top:115dp;width:1942dp;height:45dp;margin:0;font-size:30dp;line-height:45dp;text-align:center;}
|
||||
.contract-insurance-options {position:absolute;left:52dp;top:196dp;width:1942dp;height:210dp;display:flex;gap:24dp;}
|
||||
.contract-insurance-options .contract-control {flex:1;min-width:0;height:210dp;padding:12dp 20dp;flex-direction:column;gap:22dp;}
|
||||
.contract-insurance-options .contract-insurance-title {display:block;max-width:100%;font-size:40dp;line-height:45dp;white-space:nowrap;}
|
||||
.contract-insurance-options .contract-insurance-caption {display:block;max-width:100%;font-size:26dp;line-height:30dp;color:var(--muted);white-space:nowrap;}
|
||||
.contract-bonuses {position:absolute;left:52dp;top:173dp;width:1942dp;height:784dp;}
|
||||
.contract-bonus-row {display:flex;align-items:center;justify-content:space-between;width:100%;height:112dp;padding:16dp 22dp;border-bottom:2dp var(--border);font-size:32dp;}
|
||||
.contract-bonus-row>span {display:block;flex:1;min-width:0;width:100%;max-width:100%;line-height:36dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.contract-bonus-row .contract-control {flex-shrink:0;width:240dp;height:78dp;padding:12dp 20dp;font-size:36dp;}
|
||||
.contract-bonus-row .contract-control span {line-height:41dp;}
|
||||
.contract-notice-text {position:absolute;left:52dp;top:121dp;width:1942dp;height:54dp;margin:0;font-size:36dp;line-height:54dp;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
body.midnight .contracts-overview {color:#d4e0e9;}
|
||||
body.midnight .contracts-heading-club {color:#e2ebf2;}
|
||||
body.midnight .contracts-heading-club p {color:#a2b8c9;}
|
||||
body.midnight .contracts-salary-total span {color:#a0b7c7;}
|
||||
body.midnight .contracts-salary-total .contracts-total-value {color:#b8dfd0;}
|
||||
body.midnight .contracts-roster {border-color:#c5d9e726;background-color:#12243140;}
|
||||
body.midnight .contracts-row {color:#d4e0e9;}
|
||||
body.midnight .contracts-row.striped {background-color:#e3edf605;}
|
||||
body.midnight .contracts-row.selected {background-color:#9acbb21a;}
|
||||
body.midnight .contracts-table-head .contracts-cell {color:#9fb7c8;}
|
||||
body.midnight .contract-player-button {color:#d4e0e9;}
|
||||
body.midnight .contracts-row.selected .contract-player-button {color:#c3e8d9;}
|
||||
body.midnight .contract-player-button .contract-player-rank {color:#91acbf;}
|
||||
body.midnight .contract-control {color:#e0e6ec;border-color:#d4e0ec29;}
|
||||
body.midnight .contract-control.selected {decorator:none;background-color:#9cafc240;border-color:#dce9f047;color:#f5f8fc;}
|
||||
body.midnight .contracts-dialog {background-color:#283542f5;border-color:#e1ecf429;color:#dce3e9;}
|
||||
body.midnight .contracts-dialog h2 {color:#e3ecf3;}
|
||||
body.midnight .contract-player-summary,body.midnight .contract-amount-label,body.midnight .contract-draft-note {color:#9fb8ca;}
|
||||
body.midnight .contract-scene {border-color:#c5d9e724;}
|
||||
body.midnight .contract-amount-card {border-color:#c5d9e71f;background-color:#10232e40;}
|
||||
body.midnight .contract-amount-value {color:#d6e7f2;}
|
||||
body.midnight .contract-duration-heading {color:#bdd1df;}
|
||||
body.midnight .contract-duration-value {color:#a9dccb;}
|
||||
body.midnight .contract-salary {border-color:#c5d9e726;color:#d4e5f0;}
|
||||
body.midnight .contract-salary-hint {color:#91adbf;}
|
||||
body.midnight .contract-salary-input {border-color:#c5d9e738;background-color:#111f2a80;color:#e3ecf5;}
|
||||
body.midnight .contract-submit {color:#d6eee5;background-color:#78b9a533;border-color:#a9dccb52;}
|
||||
body.midnight .contract-insurance-prompt {color:#abc1d1;}
|
||||
body.midnight .contract-insurance-options .contract-insurance-caption {color:#a4bdcf;}
|
||||
body.midnight .contract-bonus-row {border-color:#c5d9e71f;color:#cadde9;}
|
||||
body.silver .contract-control {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .contract-control {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
|
||||
/* Positive salary totals use money semantics rather than the skin accent. */
|
||||
body .contracts-total-value.money-amount {color:var(--money);}
|
||||
|
||||
/* Give the right-aligned total a real box and room for the currency glyph. */
|
||||
.contracts-salary-total {right:26dp;width:620dp;}
|
||||
.contracts-salary-total span {width:100%;max-width:100%;text-align:right;}
|
||||
@@ -0,0 +1,184 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Gold entry layout, expressed in RmlUI logical desktop units. */
|
||||
body {--entry-focus:#8cc8ff;--entry-selected:#78b9a51f;--entry-accent-border:#a9dccb52;--entry-dialog:#283542f5;}
|
||||
body.silver {--entry-focus:#2b729a;--entry-selected:#a3c3dd54;--entry-accent-border:#356f966e;--entry-dialog:#e7f0f5fc;}
|
||||
body.matchday {--entry-focus:#efb2aa;--entry-selected:#d48c7b26;--entry-accent-border:#e5a19770;--entry-dialog:#272a30fc;}
|
||||
.entry-setup,.entry-manager-underlay {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.entry-setup h2,.entry-manager-underlay h2 {font-weight:normal;}
|
||||
.entry-setup button,.entry-manager-underlay button,.entry-dialog button {flex-shrink:0;}
|
||||
.entry-setup button:focus-visible,.entry-manager-underlay button:focus-visible,.entry-manager-underlay input:focus-visible,.entry-manager-underlay select:focus-visible,.entry-dialog button:focus-visible {border-color:var(--entry-focus);}
|
||||
.entry-setup-heading {position:absolute;left:0;right:0;top:0;height:90dp;display:flex;align-items:baseline;justify-content:space-between;gap:30dp;}
|
||||
.entry-setup-heading h2 {margin:0;font-size:38dp;}
|
||||
.entry-setup-heading p {margin:0;color:var(--muted);font-size:28dp;}
|
||||
.entry-setup-options {position:absolute;left:0;right:0;top:116dp;bottom:342dp;}
|
||||
.entry-setup-option {position:absolute;padding:32dp 26dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);display:flex;flex-direction:column;justify-content:center;gap:24dp;}
|
||||
.entry-setup-option>h2 {margin:0;text-align:center;font-size:38dp;letter-spacing:0.6dp;flex-shrink:0;}
|
||||
.entry-setup-stepper {position:relative;display:flex;align-items:center;justify-content:space-between;gap:18dp;flex:1;min-height:0;width:100%;}
|
||||
.entry-setup-stepper button {width:94dp;height:124dp;min-width:0;padding:0;font-size:72dp;font-weight:normal;line-height:1;border-radius:16dp;}
|
||||
.entry-setup-stepper button:disabled {opacity:0.25;}
|
||||
.entry-setup-value {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6dp;min-width:0;min-height:0;flex:1;}
|
||||
.entry-setup-value>strong {display:block;height:190dp;font-size:174dp;line-height:1;font-weight:normal;flex-shrink:0;}
|
||||
.entry-setup-value>.entry-setup-duration {font-size:210dp;line-height:0.8;color:var(--accent);}
|
||||
.entry-setup-value>.entry-setup-mode {letter-spacing:14dp;padding-left:14dp;color:#dfcb91;}
|
||||
.entry-setup-value>span {display:block;font-size:32dp;color:var(--muted);flex-shrink:0;}
|
||||
.entry-setup-balls {position:relative;height:194dp;flex-shrink:0;}
|
||||
.entry-setup-people {display:flex;align-items:center;justify-content:center;gap:18dp;height:190dp;flex-shrink:0;}
|
||||
.entry-setup-people>.image-frame {flex-shrink:0;}
|
||||
.entry-setup-competitions {position:absolute;left:0;right:0;bottom:126dp;height:190dp;}
|
||||
.entry-setup-competition {position:absolute;top:0;width:1293dp;height:126dp;display:flex;align-items:center;justify-content:center;gap:24dp;font-size:32dp;}
|
||||
.entry-setup-competition[data-id=league] {left:0;}
|
||||
.entry-setup-competition[data-id=world] {right:0;}
|
||||
.entry-setup-competition>.image-frame {flex-shrink:0;}
|
||||
.entry-setup-competition>span {display:flex;align-items:center;gap:28dp;flex-shrink:0;}
|
||||
.entry-setup-competition strong {display:block;font-weight:normal;}
|
||||
.entry-setup-competition small {display:block;font-size:25dp;color:var(--muted);}
|
||||
.entry-setup-competition.selected {background-color:var(--entry-selected);border-color:var(--entry-accent-border);color:var(--accent);}
|
||||
.entry-setup-competition:disabled {opacity:0.6;}
|
||||
.entry-setup-competitions>p {position:absolute;left:0;right:0;top:142dp;margin:0;text-align:center;font-size:25dp;color:var(--muted);}
|
||||
.entry-setup-actions {position:absolute;left:0;right:0;bottom:0;height:100dp;display:flex;align-items:center;justify-content:space-between;gap:28dp;}
|
||||
.entry-setup-actions>p {margin:0;font-size:26dp;color:var(--muted);}
|
||||
.entry-setup-actions>div {display:flex;gap:22dp;flex-shrink:0;}
|
||||
.entry-setup-actions button {height:92dp;min-width:270dp;font-size:31dp;}
|
||||
.entry-setup-actions .primary {background-color:var(--entry-selected);border-color:var(--entry-accent-border);color:var(--accent);}
|
||||
|
||||
.entry-manager-layout {position:absolute;left:0;right:0;top:0;bottom:132dp;}
|
||||
.entry-manager-step {position:absolute;left:0;right:0;top:0;height:40dp;display:flex;align-items:baseline;justify-content:space-between;gap:24dp;}
|
||||
.entry-manager-step>span {display:block;font-size:34dp;flex-shrink:0;}
|
||||
.entry-manager-step>p {margin:0;font-size:28dp;color:var(--muted);}
|
||||
.entry-manager-step button {height:64dp;font-size:27dp;padding:0 28dp;}
|
||||
.entry-manager-fields {position:absolute;left:0;right:0;top:64dp;bottom:0;}
|
||||
.entry-manager-layout.is-add .entry-manager-fields {top:88dp;}
|
||||
.entry-manager-identity {position:absolute;left:0;right:0;top:0;height:330dp;}
|
||||
.entry-manager-person-card,.entry-manager-club-card,.entry-manager-portrait-section,.entry-manager-roster {position:absolute;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);min-width:0;min-height:0;}
|
||||
.entry-manager-person-card {left:0;top:0;width:1292dp;height:330dp;padding:32dp;}
|
||||
.entry-manager-person-copy {position:absolute;left:32dp;right:238dp;top:32dp;}
|
||||
.entry-manager-person-copy>label {display:block;margin:0 0 20dp;font-size:28dp;}
|
||||
#manager-name {width:100%;height:86dp;padding:14dp 20dp;font-size:38dp;line-height:1.2;}
|
||||
.entry-manager-person-copy>p {margin:20dp 0;font-size:26dp;line-height:1.4;color:var(--muted);}
|
||||
.entry-manager-profile-tag {display:block;font-size:26dp;color:var(--accent);}
|
||||
.entry-manager-face {display:block;width:174dp;height:232dp;border:2dp var(--border);border-radius:12dp;overflow:hidden;background-color:var(--panel);flex-shrink:0;}
|
||||
.entry-manager-face>.image-frame {position:absolute;left:0;top:0;flex-shrink:0;}
|
||||
.entry-manager-person-card>.entry-manager-face {position:absolute;right:32dp;top:47dp;}
|
||||
.entry-manager-club-card {right:0;top:0;width:1292dp;height:330dp;padding:28dp 30dp;}
|
||||
.entry-manager-club-card>h2,.entry-manager-options h2 {margin:0 0 20dp;font-size:28dp;}
|
||||
.entry-manager-club-button {width:100%;height:222dp;display:flex;align-items:center;justify-content:flex-start;gap:28dp;padding:0;border:0dp;background-color:transparent;text-align:left;}
|
||||
.entry-manager-club-button:hover {background-color:var(--hover);}
|
||||
.entry-manager-club-crest {display:flex;align-items:center;justify-content:center;width:176dp;height:176dp;flex-shrink:0;border:2dp var(--border);border-radius:18dp;background-color:#e8eef2;}
|
||||
.entry-manager-club-crest>.image-frame {flex-shrink:0;}
|
||||
.entry-manager-club-button>span {display:flex;flex-direction:column;gap:18dp;flex:1;min-width:0;}
|
||||
.entry-manager-club-button strong {display:block;font-size:38dp;font-weight:normal;line-height:1.15;}
|
||||
.entry-manager-club-button small {display:block;font-size:26dp;line-height:1.3;color:var(--muted);}
|
||||
.entry-manager-club-button em {display:block;font-style:normal;font-size:28dp;color:var(--accent);}
|
||||
.entry-manager-club-button em>span {padding-left:8dp;font-size:34dp;}
|
||||
.entry-manager-options {position:absolute;left:0;right:0;top:358dp;height:144dp;}
|
||||
.entry-manager-options>section {position:absolute;top:0;width:1292dp;}
|
||||
.entry-manager-options>section:first-child {left:0;}
|
||||
.entry-manager-options>section:last-child {right:0;}
|
||||
.entry-manager-options>section>div {display:flex;gap:20dp;}
|
||||
.entry-manager-options select {width:100%;min-width:0;height:88dp;font-size:30dp;}
|
||||
.entry-manager-options>section>div>select {flex:1;}
|
||||
.entry-manager-fields.is-full .entry-manager-identity,.entry-manager-fields.is-full .entry-manager-options {opacity:0.5;}
|
||||
.entry-manager-choices {position:absolute;left:0;right:0;top:530dp;bottom:0;}
|
||||
.entry-manager-portrait-section {left:0;top:0;bottom:0;width:1984dp;padding:26dp;}
|
||||
.entry-manager-portrait-section>header {position:absolute;left:26dp;right:26dp;top:26dp;height:64dp;display:flex;align-items:baseline;justify-content:space-between;gap:16dp;}
|
||||
.entry-manager-portrait-section h2,.entry-manager-roster h2 {margin:0;font-size:28dp;}
|
||||
.entry-manager-portrait-styles {display:flex;gap:4dp;padding:4dp;border:2dp var(--border);border-radius:12dp;background-color:var(--panel);flex-shrink:0;}
|
||||
.entry-manager-portrait-styles button {height:54dp;min-width:0;padding:0 20dp;border:0dp;border-radius:8dp;background-color:transparent;font-size:25dp;}
|
||||
.entry-manager-portrait-styles button[aria-pressed=true] {background-color:var(--entry-selected);color:var(--accent);}
|
||||
.entry-manager-portraits {position:absolute;left:26dp;right:26dp;top:112dp;bottom:26dp;}
|
||||
.entry-manager-portrait {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16dp;min-width:0;min-height:0;padding:14dp 8dp;border:2dp var(--border);border-radius:14dp;background-color:var(--soft);}
|
||||
.entry-manager-portrait>.entry-manager-face {position:relative;flex-shrink:0;}
|
||||
.entry-manager-portrait.selected {border-color:var(--entry-accent-border);background-color:var(--entry-selected);color:var(--accent);}
|
||||
.entry-manager-portrait-caption {display:block;font-size:24dp;white-space:nowrap;flex-shrink:0;}
|
||||
.entry-manager-portrait[tabindex="-1"] {tab-index:none;}
|
||||
.entry-manager-portrait[tabindex="0"] {tab-index:auto;}
|
||||
.entry-manager-portrait:disabled {opacity:0.4;}
|
||||
.entry-manager-roster {right:0;top:0;bottom:0;width:600dp;padding:28dp;}
|
||||
.entry-manager-roster>header {display:flex;align-items:baseline;justify-content:space-between;gap:16dp;}
|
||||
.entry-manager-roster>header>span {display:block;font-size:24dp;color:var(--muted);flex-shrink:0;}
|
||||
.entry-manager-roster-list {position:absolute;left:28dp;right:28dp;top:88dp;bottom:82dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.entry-manager-roster-row {display:flex;align-items:center;gap:20dp;min-height:120dp;margin-bottom:24dp;}
|
||||
.entry-manager-roster-row>.entry-manager-face {position:relative;width:90dp;height:120dp;border-radius:10dp;}
|
||||
.entry-manager-roster-row>div:last-child {display:flex;flex-direction:column;gap:10dp;min-width:0;flex:1;}
|
||||
.entry-manager-roster-row small {display:block;font-size:23dp;color:var(--muted);}
|
||||
.entry-manager-roster-row strong {display:block;font-size:29dp;font-weight:normal;}
|
||||
.entry-manager-roster-row>div>span {display:block;font-size:24dp;line-height:1.3;}
|
||||
.entry-manager-roster>p {position:absolute;left:28dp;right:28dp;bottom:28dp;margin:0;font-size:24dp;color:var(--muted);}
|
||||
.entry-manager-actions {position:absolute;left:0;right:0;bottom:0;min-height:96dp;display:flex;align-items:center;justify-content:space-between;gap:32dp;}
|
||||
.entry-manager-actions>p {margin:0;max-width:1450dp;font-size:26dp;line-height:1.4;color:var(--muted);}
|
||||
.entry-manager-actions>div {display:flex;gap:20dp;flex-shrink:0;}
|
||||
.entry-manager-actions button {height:92dp;padding:0 36dp;font-size:30dp;}
|
||||
.entry-manager-actions .primary {background-color:var(--entry-selected);border-color:var(--entry-accent-border);color:var(--accent);}
|
||||
|
||||
.entry-club-picker {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.entry-club-picker>header {position:absolute;left:0;right:0;top:0;height:90dp;display:flex;align-items:center;justify-content:space-between;gap:24dp;}
|
||||
.entry-club-picker h2 {margin:0;font-size:38dp;}
|
||||
.entry-club-picker header p {margin:14dp 0 0;font-size:28dp;color:var(--muted);}
|
||||
.entry-club-filters {position:absolute;left:0;right:0;top:118dp;height:88dp;display:flex;align-items:center;gap:28dp;}
|
||||
.entry-club-filters>div {display:flex;gap:20dp;flex:1;min-width:0;}
|
||||
.entry-club-filters select {min-width:0;height:88dp;font-size:30dp;flex:1;}
|
||||
.entry-club-filters>label {display:block;width:620dp;flex-shrink:0;}
|
||||
#manager-club-search {width:100%;height:88dp;padding:16dp 24dp;font-size:30dp;}
|
||||
.entry-club-results {position:absolute;left:0;right:0;top:234dp;bottom:0;}
|
||||
.entry-club-count {margin:0;font-size:26dp;color:var(--muted);}
|
||||
.entry-club-grid {position:absolute;left:0;right:0;top:51dp;bottom:0;overflow-y:auto;overflow-x:hidden;}
|
||||
.entry-club-grid-content {position:relative;width:100%;}
|
||||
.entry-club-choice {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16dp;min-width:0;padding:20dp;border:2dp var(--border);border-radius:16dp;background-color:var(--panel);}
|
||||
.entry-club-choice.selected {border-color:var(--entry-accent-border);background-color:var(--entry-selected);}
|
||||
.entry-club-crest {display:flex;align-items:center;justify-content:center;width:120dp;height:120dp;border-radius:12dp;background-color:#e8eef2;flex-shrink:0;}
|
||||
.entry-club-crest>.image-frame {flex-shrink:0;}
|
||||
.entry-club-choice>strong {display:block;font-size:30dp;font-weight:normal;text-align:center;line-height:1.2;flex-shrink:0;}
|
||||
.entry-club-choice>small {display:block;font-size:23dp;text-align:center;color:var(--muted);flex-shrink:0;}
|
||||
.entry-club-choice:disabled {opacity:0.35;}
|
||||
.entry-club-lock {position:absolute;right:18dp;top:18dp;}
|
||||
.entry-no-clubs {margin:80dp 0;text-align:center;font-size:34dp;color:var(--muted);}
|
||||
|
||||
.entry-manager-underlay[aria-hidden=true] {pointer-events:none;}
|
||||
.entry-dialog-layer {position:absolute;left:-52dp;right:-52dp;top:-40dp;bottom:-24dp;z-index:35;display:flex;align-items:center;justify-content:center;padding:70dp;background-color:#08101980;}
|
||||
.entry-dialog {width:1700dp;max-height:1800dp;padding:40dp 52dp;border:2dp var(--border);border-radius:22dp;background-color:var(--entry-dialog);overflow-y:auto;overflow-x:hidden;box-shadow:0dp 24dp 70dp #0007;}
|
||||
.entry-dialog>h2 {margin:0;font-size:42dp;font-weight:bold;color:var(--text);}
|
||||
.entry-dialog>p {margin:36dp 0;font-size:36dp;line-height:1.5;}
|
||||
.entry-confirm-identity {display:flex;align-items:center;gap:40dp;margin:48dp 0;}
|
||||
.entry-confirm-crest {display:flex;align-items:center;justify-content:center;width:200dp;height:200dp;border-radius:18dp;background-color:#e8eef2;flex-shrink:0;}
|
||||
.entry-confirm-crest>.image-frame {flex-shrink:0;}
|
||||
.entry-confirm-copy {display:flex;flex-direction:column;gap:22dp;flex:1;min-width:0;}
|
||||
.entry-confirm-copy>strong {display:block;font-size:46dp;font-weight:normal;}
|
||||
.entry-confirm-copy>span {display:block;font-size:36dp;}
|
||||
.entry-confirm-copy>small {display:block;font-size:28dp;line-height:1.4;color:var(--muted);}
|
||||
.entry-confirm-identity>.entry-manager-face {position:relative;width:150dp;height:200dp;}
|
||||
.entry-dialog>footer {display:flex;justify-content:space-evenly;gap:70dp;margin-top:45dp;}
|
||||
.entry-dialog>footer button {flex:1;height:90dp;font-size:32dp;}
|
||||
.entry-success-dialog {width:1500dp;}
|
||||
|
||||
/* Use the owned SVG check mark instead of a platform-dependent font glyph. */
|
||||
.entry-choice-status,.entry-manager-portrait-caption {display:flex;align-items:center;justify-content:center;gap:8dp;}
|
||||
.entry-choice-status>.image-frame,.entry-manager-portrait-caption>.image-frame {flex-shrink:0;}
|
||||
.entry-confirm-dialog>h2 {text-align:center;}
|
||||
|
||||
.entry-choice-status>span,.entry-manager-portrait-caption>span {display:block;}
|
||||
|
||||
/* Club and international cards mirror the approved HTML career setup. */
|
||||
.entry-career-setup .entry-setup-option {padding:26dp 22dp;gap:12dp;}
|
||||
.entry-career-setup .entry-setup-option>h2 {font-size:34dp;}
|
||||
.entry-career-setup .entry-setup-stepper button {width:90dp;height:112dp;font-size:60dp;}
|
||||
.entry-career-setup .entry-setup-value>strong {height:140dp;font-size:138dp;}
|
||||
.entry-career-setup .entry-setup-value>.entry-setup-duration {font-size:160dp;}
|
||||
.entry-career-setup .entry-setup-value>span {font-size:28dp;white-space:nowrap;}
|
||||
.entry-career-setup .entry-setup-balls,.entry-career-setup .entry-setup-people {height:140dp;}
|
||||
.entry-career-setup .entry-setup-people {gap:8dp;}
|
||||
.entry-career-setup .entry-setup-competitions {left:786dp;right:0;top:104dp;bottom:124dp;height:auto;}
|
||||
.entry-career-setup .entry-setup-competition {top:0;width:904dp;height:1580dp;display:block;padding:0;overflow:hidden;border:4dp var(--border);border-radius:22dp;background-color:#0b1724;}
|
||||
.entry-career-setup .entry-setup-competition>.image-frame {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.entry-career-setup .entry-setup-competition.selected {border-color:var(--accent);}
|
||||
.entry-career-setup .entry-setup-competition:disabled {opacity:1;}
|
||||
.entry-career-setup .entry-career-caption {position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:flex-start;gap:10dp;padding:70dp 26dp 26dp;background-color:#091522ef;color:#f3f7fb;}
|
||||
.entry-career-caption strong {font-size:34dp;}.entry-career-caption small {font-size:28dp;color:#d4ede7;}
|
||||
.entry-career-setup .entry-career-check {position:absolute;right:24dp;top:22dp;width:56dp;height:56dp;display:flex;align-items:center;justify-content:center;background-color:#10282be8;border:2dp #a4dfce;border-radius:28dp;}
|
||||
.entry-career-setup .entry-setup-competitions>p {top:1598dp;}
|
||||
.entry-manager-fields.is-national .entry-manager-options {display:none;}
|
||||
.entry-manager-fields.is-national .entry-manager-choices {top:358dp;}
|
||||
|
||||
.entry-career-setup .entry-career-caption strong {font-weight:bold;}
|
||||
|
||||
/* Mandatory active cards remain selected and fully coloured, with the lock hint. */
|
||||
.entry-career-setup .entry-setup-competition.selected[disabled] {opacity:1;}
|
||||
@@ -0,0 +1,36 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Diamond 3.6: six budgets surrounding the club's crest, no additional footer. */
|
||||
.environment-ring {position:absolute;left:0;top:0;width:2612dp;height:1864dp;}
|
||||
.environment-card {position:absolute;padding:18dp;border:2dp var(--border);border-radius:20dp;background-color:var(--panel);color:var(--text);text-align:center;box-shadow:0dp 10dp 28dp #0002;}
|
||||
.environment-card h2 {position:absolute;left:18dp;right:18dp;top:18dp;height:36dp;margin:0;font-size:30dp;line-height:36dp;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.environment-stars {position:absolute;left:18dp;right:18dp;top:66dp;height:58dp;padding:4dp;border:2dp var(--border);border-radius:12dp;background-color:var(--panel);display:flex;align-items:center;justify-content:center;}
|
||||
.environment-level {position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:46dp;margin:0;padding:0;border:0dp;border-radius:7dp;background-color:transparent;font-size:40dp;}
|
||||
.environment-level.zero {flex:0.65;font-size:30dp;color:var(--muted);}
|
||||
.environment-level-icon {display:block;flex-shrink:0;width:40dp;height:40dp;}
|
||||
.environment-level-icon .image-frame {width:40dp;height:40dp;}
|
||||
.environment-zero-label {display:block;min-width:0;width:100%;max-width:100%;font-size:30dp;line-height:30dp;white-space:nowrap;text-align:center;}
|
||||
.environment-level.selected {background-color:var(--selected);}
|
||||
.environment-level:hover {background-color:var(--hover);}
|
||||
.environment-level:focus-visible {border:2dp var(--accent);}
|
||||
.environment-selection-line {position:absolute;left:0;right:0;bottom:0;height:2dp;display:block;pointer-events:none;background-color:#e5cd8c;}
|
||||
.environment-picture {position:absolute;overflow:hidden;border-radius:12dp;}
|
||||
.environment-caption {position:absolute;left:18dp;right:18dp;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text);}
|
||||
.environment-cost {display:block;min-width:0;width:100%;max-width:100%;height:37.8dp;font-size:28dp;line-height:37.8dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;}
|
||||
.environment-standing {display:block;min-width:0;width:100%;max-width:100%;height:36.75dp;padding-top:3dp;line-height:33.75dp;font-size:25dp;white-space:nowrap;text-align:center;color:var(--muted);}
|
||||
.environment-card.youth-a .environment-standing {color:var(--danger);}
|
||||
.environment-emblem {position:absolute;left:1106dp;top:640dp;width:400dp;height:400dp;pointer-events:none;}
|
||||
.environment-ball {position:absolute;left:0;top:0;width:400dp;height:400dp;filter:drop-shadow(#0005 0dp 12dp 18dp);}
|
||||
.environment-crest {position:absolute;left:112dp;top:112dp;width:176dp;height:176dp;padding:7dp;border:0dp;border-radius:88dp;background-color:#ffffff;overflow:hidden;display:flex;align-items:center;justify-content:center;}
|
||||
.environment-crest .image-frame {flex-shrink:0;}
|
||||
.environment-crest>span {display:block;font-size:30dp;line-height:36dp;color:#526779;}
|
||||
.environment-unavailable {position:absolute;left:40dp;right:40dp;top:700dp;font-size:32dp;line-height:46dp;text-align:center;color:var(--muted);}
|
||||
body.midnight .environment-card {border-color:#c5d9e726;background-color:#12243166;color:#dce6ee;}
|
||||
body.midnight .environment-stars {border-color:#c5d9e726;background-color:#111e2b66;}
|
||||
body.midnight .environment-level.zero {color:#a2b5c5;}
|
||||
body.midnight .environment-level.selected {background-color:#9cb9c52b;}
|
||||
body.midnight .environment-level:hover {background-color:#bfd6e32b;}
|
||||
body.midnight .environment-cost {color:#bad7df;}
|
||||
body.midnight .environment-standing {color:#a1b7c8;}
|
||||
body.midnight .environment-card.youth-a .environment-standing {color:#dfa69d;}
|
||||
body.silver .environment-card,body.silver .environment-stars {background-color:#f1f6fa80;}
|
||||
body.matchday .environment-card,body.matchday .environment-stars {background-color:#1d1e2466;}
|
||||
@@ -0,0 +1,104 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Native geometry follows the private HTML save/load reference at 3840x2160. */
|
||||
.files-layout {position:absolute;left:0;right:0;top:0;bottom:190dp;}
|
||||
.files-layout.files-views {bottom:0;}
|
||||
.files-views .files-browser {width:720dp;border-radius:24dp;}
|
||||
.files-views .files-details {left:774dp;display:block;padding:20dp 0;border-width:0;background-color:transparent;overflow-x:hidden;}
|
||||
.files-browser {position:absolute;left:0;top:0;bottom:0;width:1161dp;padding:0;border-radius:18dp;overflow:hidden;}
|
||||
.files-browser-header {position:absolute;left:0;right:0;top:0;height:110dp;padding:24dp 32dp;box-sizing:border-box;border-bottom:2dp #c5d9e726;display:flex;align-items:center;justify-content:space-between;}
|
||||
.files-browser-header h2 {font-size:32dp;font-weight:normal;}
|
||||
.files-browser-header>span {padding:6dp 18dp;border-radius:10dp;background-color:#c5d9e712;font-size:26dp;}
|
||||
.files-list {position:absolute;left:0;right:0;top:110dp;bottom:0;overflow-y:auto;overflow-x:hidden;}
|
||||
.files-entry {display:flex;align-items:center;width:100%;min-height:134dp;height:auto;padding:24dp 30dp;box-sizing:border-box;border-width:0 0 2dp 0;border-color:#c5d9e712;border-radius:0;background-color:transparent;text-align:left;}
|
||||
.files-entry:hover {background-color:#bad5f20d;}
|
||||
.files-entry.selected {background-color:#6286a82e;border-left:5dp #a9dccb;padding-left:25dp;}
|
||||
.files-entry-icon {display:block;width:64dp;height:70dp;line-height:66dp;text-align:center;flex-shrink:0;border:2dp #c5d9e729;border-radius:12dp;font-size:46dp;margin-right:24dp;}
|
||||
.files-entry-icon .image-frame {margin:13dp auto 0;}
|
||||
.files-entry-copy {display:flex;flex-direction:column;flex-grow:1;min-width:0;}
|
||||
.files-entry-copy strong {font-size:32dp;font-weight:normal;margin-bottom:12dp;white-space:normal;}
|
||||
.files-entry-copy>span {font-size:24dp;opacity:.72;white-space:normal;}
|
||||
.files-details {position:absolute;left:1193dp;right:0;top:0;bottom:0;display:flex;flex-direction:column;gap:36dp;padding:40dp;box-sizing:border-box;overflow:auto;border-radius:18dp;}
|
||||
.files-detail-heading {display:flex;align-items:center;min-height:148dp;flex-shrink:0;}
|
||||
.files-detail-heading>.image-frame {margin-right:30dp;flex-shrink:0;}
|
||||
.files-crest {display:flex;align-items:center;justify-content:center;width:140dp;height:140dp;flex-shrink:0;margin-right:30dp;border:2dp var(--border);border-radius:18dp;background-color:#e7edf3;}
|
||||
.files-detail-heading p,.files-intro {font-size:24dp;opacity:.75;margin:0 0 12dp;}
|
||||
.files-detail-heading h2,.files-heading {font-size:42dp;margin:0 0 14dp;font-weight:bold;}
|
||||
.files-detail-heading span {font-size:30dp;}
|
||||
.files-name-label {display:flex;flex-direction:column;font-size:28dp;flex-shrink:0;margin:0;}
|
||||
.files-name-label>span {display:block;}
|
||||
.files-name-label input {width:100%;height:86dp;box-sizing:border-box;padding:16dp 22dp;font-size:32dp;margin-top:14dp;border-radius:12dp;}
|
||||
.files-metadata {display:flex;flex-wrap:wrap;gap:22dp;flex-shrink:0;margin:0;}
|
||||
.files-metadata-cell {display:block;min-width:0;flex-basis:45%;flex-grow:1;box-sizing:border-box;margin:0;padding:26dp;border:2dp #c5d9e71a;border-radius:14dp;background-color:#c5d9e705;}
|
||||
.files-metadata-cell span {display:block;font-size:26dp;opacity:.72;margin-bottom:18dp;}
|
||||
.files-metadata-cell strong {display:block;font-size:40dp;font-weight:normal;}
|
||||
.files-managers {flex-shrink:0;}
|
||||
.files-managers h3 {font-size:28dp;font-weight:normal;opacity:.75;margin-bottom:22dp;}
|
||||
.files-managers>div {display:flex;justify-content:space-between;margin-bottom:22dp;}
|
||||
.files-managers strong {font-size:30dp;font-weight:normal;}
|
||||
.files-managers span {font-size:26dp;opacity:.75;text-align:right;margin-left:24dp;}
|
||||
.files-timestamp {font-size:24dp;opacity:.65;line-height:1.4;flex-shrink:0;margin:auto 0 0;}
|
||||
.files-empty-list {margin:40dp;font-size:30dp;opacity:.72;line-height:1.5;}
|
||||
.files-empty-details {padding:130dp 40dp;text-align:center;}
|
||||
.files-empty-details h2 {font-size:36dp;font-weight:normal;margin-bottom:30dp;}
|
||||
.files-empty-details p {font-size:28dp;opacity:.75;line-height:1.5;}
|
||||
.files-error {color:#edb4ac;}
|
||||
.files-feedback {position:absolute;left:0;right:0;bottom:122dp;min-height:36dp;margin:0;color:#a9dccb;font-size:28dp;}
|
||||
.files-actions {position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;height:94dp;}
|
||||
.files-actions>div {display:flex;}
|
||||
.files-actions button {min-width:224dp;height:94dp;font-size:28dp;margin-right:16dp;}
|
||||
.files-confirm-actions button:last-child {margin-right:0;}
|
||||
.files-thumbnail {width:100%;margin:36dp 0 0;border:2dp var(--border);border-radius:20dp;background-color:#0f1c2b;overflow:hidden;}
|
||||
.files-thumbnail .image-frame {max-width:100%;}
|
||||
.files-save-illustration {padding:90dp 40dp;text-align:center;font-size:30dp;opacity:.75;}
|
||||
.files-save-illustration .image-frame {margin:0 auto 40dp;}
|
||||
.files-no-preview {font-size:28dp;opacity:.7;margin:70dp 0;}
|
||||
.files-views .files-browser-header {height:90dp;padding:26dp 30dp;}
|
||||
.files-views .files-browser-header>span {padding:0;background-color:transparent;font-size:27dp;color:var(--muted);}
|
||||
.files-views .files-list {top:90dp;padding:18dp;}
|
||||
.files-views .files-entry {min-height:136dp;padding:22dp;border:2dp transparent;border-radius:16dp;margin-bottom:10dp;}
|
||||
.files-views .files-entry.selected {padding-left:22dp;border-color:#a5e2cf66;background-color:#a5e2cf1a;}
|
||||
.files-views .files-entry-icon {width:42dp;height:42dp;line-height:1.2;margin-right:22dp;border:0dp;border-radius:0;}
|
||||
.files-views .files-entry-icon .image-frame {margin:0;}
|
||||
.files-views .files-entry-copy strong {font-size:31dp;margin-bottom:10dp;}
|
||||
.files-views .files-entry-copy>span {font-size:22dp;line-height:1.3;color:var(--muted);opacity:1;}
|
||||
.files-standard-badge {flex-shrink:0;font-size:19dp;border:2dp var(--border);border-radius:10dp;padding:7dp 10dp;margin-left:14dp;color:var(--muted);}
|
||||
.files-views .files-heading {font-size:46dp;margin:0 0 18dp;}
|
||||
.files-views .files-intro {font-size:29dp;line-height:1.4;color:var(--muted);opacity:1;margin:0 0 36dp;}
|
||||
.files-views .files-name-label {margin:70dp 0 50dp;}
|
||||
.files-views .files-name-label input {height:104dp;padding:24dp 28dp;font-size:34dp;margin-top:18dp;border-radius:16dp;}
|
||||
.files-views .files-save-illustration {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:42dp;min-height:570dp;padding:60dp;border:2dp var(--border);border-radius:24dp;background-color:var(--soft);opacity:1;}
|
||||
.files-views .files-save-illustration .image-frame {margin:0;}
|
||||
.files-views .files-save-illustration p {max-width:760dp;margin:0;font-size:31dp;line-height:1.5;color:var(--muted);}
|
||||
.files-views .files-metadata {gap:30dp 46dp;margin:40dp 0 0;padding:30dp;border:2dp var(--border);border-radius:20dp;background-color:var(--soft);}
|
||||
.files-views .files-metadata-cell {padding:0;border:0dp;border-radius:0;background-color:transparent;}
|
||||
.files-views .files-metadata-cell span {font-size:25dp;color:var(--muted);opacity:1;margin-bottom:10dp;}
|
||||
.files-views .files-metadata-cell strong {font-size:32dp;}
|
||||
.files-view-record-actions {display:flex;gap:18dp;margin-right:20dp;}
|
||||
.silver .files-views .files-entry.selected {border-color:#235e7866;background-color:#235e781a;}
|
||||
.matchday .files-views .files-entry.selected {border-color:#f1a99e66;background-color:#f1a99e1a;}
|
||||
/* Component paint follows Gold's menu-themes.css; geometry stays shared. */
|
||||
.silver .files-browser-header {border-bottom-color:#6c879c4a;}
|
||||
.silver .files-browser-header>span {background-color:#42627d09;}
|
||||
.silver .files-entry {border-bottom-color:#6c879c28;}
|
||||
.silver .files-entry-icon {border-color:#6c879c4a;}
|
||||
.silver .files-metadata-cell {border-color:#6c879c4a;background-color:#42627d09;}
|
||||
.silver .files-feedback {color:#25617a;}
|
||||
.silver .files-entry.selected,.silver .files-entry.selected:hover {background-color:#a3c3dd54;border-left-color:#a9dccb;color:#193b52;}
|
||||
.silver .files-entry:hover {background-color:#9eb9d43b;}
|
||||
.silver .files-error {color:#a23f45;}
|
||||
.matchday .files-browser-header {border-bottom-color:#ead9da29;}
|
||||
.matchday .files-browser-header>span {background-color:#f8e7e00a;}
|
||||
.matchday .files-entry {border-bottom-color:#ead9da16;}
|
||||
.matchday .files-entry-icon {border-color:#ead9da29;}
|
||||
.matchday .files-metadata-cell {border-color:#ead9da29;background-color:#f8e7e00a;}
|
||||
.matchday .files-entry.selected,.matchday .files-entry.selected:hover {background-color:#d48c7b26;color:#ffe5de;}
|
||||
.matchday .files-entry:hover {background-color:#d5b3b423;}
|
||||
.matchday .files-feedback {color:#efb2aa;}
|
||||
.matchday .files-error {color:#f0a6a7;}
|
||||
.silver .files-views .files-browser-header>span,.matchday .files-views .files-browser-header>span {background-color:transparent;}
|
||||
.silver .files-views .files-entry,.matchday .files-views .files-entry {border-color:transparent;}
|
||||
.silver .files-views .files-entry.selected {border-color:#235e7866;background-color:#235e781a;}
|
||||
.matchday .files-views .files-entry.selected {border-color:#f1a99e66;background-color:#f1a99e1a;}
|
||||
.silver .files-views .files-metadata-cell,.matchday .files-views .files-metadata-cell {background-color:transparent;}
|
||||
.files-empty-details {position:absolute;left:40dp;right:40dp;top:50%;transform:translateY(-50%);padding:0;}
|
||||
.files-empty-details>.image-frame {margin:0 auto 36dp;}
|
||||
@@ -0,0 +1,40 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.balance-native {position:absolute;left:0;top:0;right:0;bottom:0;}
|
||||
.balance-panel {position:absolute;top:0;width:1290dp;height:1404dp;padding:24dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);}
|
||||
.balance-panel h2 {font-size:36dp;line-height:42dp;font-weight:normal;text-align:center;margin:8dp 0;color:var(--text);}
|
||||
.balance-table {position:absolute;left:24dp;right:24dp;top:104dp;bottom:22dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.balance-row {display:flex;align-items:stretch;width:100%;height:70dp;font-size:31dp;color:var(--text);}
|
||||
.balance-row.striped {background-color:var(--soft);}
|
||||
.balance-row>span {display:block;width:65%;max-width:65%;padding:8dp 10dp;line-height:54dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.balance-row>span:last-child {width:35%;max-width:35%;text-align:right;}
|
||||
.balance-head {font-size:27dp;color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.balance-summary-item {position:absolute;margin:0;font-size:33dp;line-height:38dp;color:var(--text);}
|
||||
.balance-summary-item.balance-net {color:var(--accent);}
|
||||
.balance-toggle {position:absolute;left:0;bottom:0;width:2612dp;height:94dp;display:flex;align-items:center;justify-content:center;}
|
||||
.balance-cycle {position:absolute;right:32dp;top:26dp;width:28dp;height:38dp;}
|
||||
.balance-cycle>span {display:block;position:absolute;}
|
||||
.cycle-line {left:3dp;width:22dp;height:0;border-bottom:2dp var(--muted);}
|
||||
.cycle-top {top:13dp;}
|
||||
.cycle-bottom {top:24dp;}
|
||||
.cycle-head {width:0;height:0;border-top:5dp transparent;border-bottom:5dp transparent;}
|
||||
.cycle-right {right:0;top:9dp;border-left:6dp var(--muted);}
|
||||
.cycle-left {left:0;top:20dp;border-right:6dp var(--muted);}
|
||||
.balance-plan {position:absolute;left:0;top:0;right:0;bottom:234dp;padding:28dp 36dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);overflow-y:auto;overflow-x:hidden;}
|
||||
.balance-plan h2 {font-size:36dp;line-height:42dp;font-weight:normal;margin:0 0 22dp;color:var(--text);text-align:center;}
|
||||
.balance-plan-rows {width:100%;}
|
||||
.balance-plan-row {width:100%;height:112dp;display:flex;align-items:center;justify-content:space-between;padding:12dp 26dp;border-bottom:2dp var(--border);font-size:34dp;}
|
||||
.balance-plan-row>span {display:block;width:80%;max-width:80%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.balance-plan-value {display:flex;align-items:center;justify-content:flex-end;width:430dp;height:68dp;flex-shrink:0;padding:12dp 20dp;border:2dp var(--border);border-radius:10dp;background-color:var(--input);font-size:34dp;font-weight:normal;line-height:40dp;}
|
||||
.balance-plan-total {position:absolute;left:26dp;right:26dp;bottom:144dp;display:flex;justify-content:space-between;margin:0;font-size:34dp;line-height:40dp;color:var(--accent);}
|
||||
body.midnight .balance-panel,body.midnight .balance-plan {background-color:#101d2826;border-color:#c5d9e71f;}
|
||||
body.midnight .balance-row.striped {background-color:#e3edf605;}
|
||||
body.midnight .balance-row {color:#d8e0e8;}
|
||||
body.midnight .balance-head {color:#a0aebc;border-color:#d5e3ed26;}
|
||||
body.midnight .balance-panel h2,body.midnight .balance-plan h2 {color:#dce5ee;}
|
||||
body.midnight .balance-summary-item {color:#c4d0da;}
|
||||
body.midnight .balance-summary-item.balance-net,body.midnight .balance-plan-total {color:#a9dccb;}
|
||||
body.midnight .balance-plan-value {background-color:#111f2a80;border-color:#c5d9e738;color:#dce5ee;}
|
||||
|
||||
/* Balances use semantic money colours in every skin. */
|
||||
body .balance-native .balance-summary-item.money-amount {color:var(--money);}
|
||||
body .balance-native .balance-summary-item.money-amount.is-negative {color:var(--danger);}
|
||||
@@ -0,0 +1,108 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.front-home {position:absolute;left:0;top:0;width:3840dp;height:2160dp;}
|
||||
.main-options {display:flex;flex-direction:column;gap:18dp;}
|
||||
.main-options button {display:flex;align-items:center;justify-content:flex-start;gap:36dp;margin:0;height:128dp;padding:18dp 38dp;border:1dp transparent;border-radius:12dp;color:#d3dfe7;}
|
||||
.main-options button>span {display:block;flex-shrink:0;}
|
||||
.main-options button>small {display:block;flex-shrink:0;margin:0;font-size:25dp;letter-spacing:1dp;color:#a4b8c5;}
|
||||
.main-options button:last-child {margin-top:18dp;}
|
||||
.main-options button .front-hover-arrow {margin-left:auto;font-size:52dp;color:#b2ded0;opacity:0;}
|
||||
.main-options button:hover .front-hover-arrow,.main-options button:focus-visible .front-hover-arrow {opacity:1;}
|
||||
.main-options button:disabled {color:#7a8f9e;opacity:0.5;}
|
||||
.main-options button:disabled .front-hover-arrow {opacity:0;}
|
||||
.front-active {display:flex;align-items:center;gap:26dp;}
|
||||
.front-active-dot,.front-mod-active-dot {display:block;width:12dp;height:12dp;flex-shrink:0;border-radius:6dp;background-color:#b0dac9;}
|
||||
.front-active>div {display:flex;flex-direction:column;gap:10dp;}
|
||||
.front-active small {display:block;font-size:22dp;color:#849dad;}
|
||||
.front-active strong {display:block;font-size:29dp;font-weight:normal;color:#bacdd7;}
|
||||
.front-footer .front-version {font-size:22dp;letter-spacing:2dp;color:#8da5b3;}
|
||||
.front-mod-content {position:absolute;left:52dp;right:52dp;top:148dp;bottom:98dp;}
|
||||
.front-mod-tabs {display:flex;gap:20dp;height:86dp;}
|
||||
.front-mod-tabs button {min-width:340dp;height:86dp;font-size:30dp;}
|
||||
.front-mod-tabs button.active {border-color:var(--accent);background-color:var(--selected);}
|
||||
.front-mod-tabpanel {position:absolute;left:0;right:0;top:126dp;bottom:170dp;}
|
||||
.front-mod-layout {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.front-mod-browser {position:absolute;left:0;top:0;bottom:0;width:1158.296dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);overflow:hidden;}
|
||||
.front-mod-browser>header {display:flex;align-items:center;padding:28dp 30dp;border-bottom:2dp var(--border);font-size:27dp;color:var(--muted);}
|
||||
.front-mod-browser>header>span:first-child {display:block;flex:1;}
|
||||
.front-mod-browser>header>span:last-child {display:block;width:170dp;text-align:center;}
|
||||
.front-mod-list {position:absolute;left:0;right:0;top:90dp;bottom:0;padding:14dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.front-mod-entry {display:flex;align-items:center;gap:22dp;width:100%;min-height:150dp;margin-bottom:12dp;padding:26dp 18dp;border:2dp transparent;border-radius:12dp;background-color:transparent;text-align:left;}
|
||||
.front-mod-entry:hover {background-color:var(--hover);}
|
||||
.front-mod-entry.selected {border-color:var(--border);background-color:var(--selected);}
|
||||
.front-mod-copy {display:flex;flex-direction:column;gap:14dp;min-width:0;flex:1;}
|
||||
.front-mod-copy>strong {display:block;overflow:hidden;white-space:nowrap;font-size:33dp;font-weight:normal;}
|
||||
.front-mod-copy>small {display:flex;align-items:center;gap:14dp;color:var(--muted);font-size:25dp;}
|
||||
.front-mod-copy>small>span {display:block;flex-shrink:0;}
|
||||
.front-mod-type {display:block;width:170dp;text-align:center;font-size:26dp;color:var(--muted);flex-shrink:0;}
|
||||
.front-mod-empty-list {padding:24dp;font-size:29dp;color:var(--muted);line-height:1.6;}
|
||||
.front-mod-details {position:absolute;left:1196.296dp;right:0;top:0;bottom:0;padding:0 28dp 20dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.front-mod-cover {position:relative;height:360dp;border:2dp var(--border);border-radius:18dp;overflow:hidden;}
|
||||
.front-mod-cover>.image-frame {position:absolute;left:0;top:0;}
|
||||
.front-mod-cover>span {position:absolute;left:40dp;bottom:40dp;font-size:69dp;font-weight:bold;letter-spacing:-3dp;color:#eef4f6;}
|
||||
.front-mod-cover>span>span {color:#b1d9cd;}
|
||||
.front-mod-details>header {display:flex;align-items:center;justify-content:space-between;gap:24dp;margin:32dp 0;}
|
||||
.front-mod-details>header>div {min-width:0;flex:1;}
|
||||
.front-mod-details header p {margin:0 0 12dp;font-size:26dp;line-height:1.4;color:var(--muted);}
|
||||
.front-mod-details h2 {font-size:43dp;font-weight:normal;margin:0;}
|
||||
.front-mod-status {display:block;flex-shrink:0;padding:12dp 18dp;border:2dp var(--border);border-radius:10dp;font-size:25dp;color:var(--muted);}
|
||||
.front-mod-status.is-active {background-color:var(--selected);color:var(--accent);}
|
||||
.front-mod-metadata {margin:32dp 0;padding:30dp 0;border-top:2dp var(--border);border-bottom:2dp var(--border);}
|
||||
.front-mod-metadata>div {display:flex;gap:18dp;margin-bottom:22dp;min-height:40dp;font-size:29dp;line-height:1.4;}
|
||||
.front-mod-metadata>div:last-child {margin-bottom:0;}
|
||||
.front-mod-metadata span {display:block;width:220dp;flex-shrink:0;color:var(--muted);}
|
||||
.front-mod-metadata strong {display:block;flex:1;min-width:0;font-weight:normal;}
|
||||
.front-mod-activation-note,.front-mod-error {font-size:27dp;line-height:1.55;color:var(--muted);margin:24dp 0;}
|
||||
.front-mod-error {color:var(--danger);}
|
||||
.front-mod-activate {width:100%;min-height:90dp;font-size:32dp;margin-top:8dp;}
|
||||
.front-mod-actions {position:absolute;left:0;right:0;bottom:0;height:140dp;}
|
||||
.front-mod-actions>p {margin:0;min-height:32dp;font-size:25dp;color:var(--muted);}
|
||||
.front-mod-actions>div {position:absolute;left:0;right:0;bottom:0;display:flex;gap:22dp;}
|
||||
.front-mod-actions button {min-width:300dp;height:86dp;font-size:30dp;}
|
||||
.front-mod-empty,.front-mod-downloads {position:absolute;left:1196.296dp;right:0;top:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30dp;padding:80dp;text-align:center;color:var(--muted);}
|
||||
.front-mod-downloads {left:0;}
|
||||
.front-mod-empty h2,.front-mod-downloads h2 {font-size:47dp;font-weight:normal;margin:0;}
|
||||
.front-mod-empty p,.front-mod-downloads p {display:block;font-size:32dp;line-height:1.6;margin:0;}
|
||||
.front-mod-downloads>.image-frame {flex-shrink:0;}
|
||||
.front-mod-downloads button {margin-top:24dp;min-width:480dp;min-height:90dp;font-size:30dp;}
|
||||
.front-dialog-layer {position:absolute;left:0;right:0;top:108dp;bottom:0;z-index:30;background-color:#08101999;display:flex;align-items:center;justify-content:center;padding:70dp;}
|
||||
.front-dialog {width:1750dp;max-height:100%;overflow-y:auto;overflow-x:hidden;padding:44dp 52dp;border:2dp var(--border);border-radius:22dp;background-color:var(--strong);}
|
||||
.front-dialog h2 {margin:0 0 34dp;font-size:42dp;font-weight:normal;text-align:center;}
|
||||
.front-dialog p {margin:24dp 0;font-size:31dp;line-height:1.55;}
|
||||
.front-dialog>footer {display:flex;gap:24dp;justify-content:flex-end;margin-top:36dp;}
|
||||
.front-dialog>footer button {min-width:360dp;min-height:84dp;font-size:30dp;}
|
||||
.front-import-choices {margin-top:32dp;}
|
||||
.front-import-choices button {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14dp;width:100%;padding:28dp 32dp;margin-bottom:20dp;}
|
||||
.front-import-choices strong {display:block;font-size:32dp;font-weight:normal;flex-shrink:0;}
|
||||
.front-import-choices span {display:block;font-size:26dp;color:var(--muted);flex-shrink:0;}
|
||||
.front-name-label {display:flex;flex-direction:column;gap:18dp;font-size:28dp;color:var(--muted);}
|
||||
.front-name-label>span {display:block;flex-shrink:0;}
|
||||
#front-mod-name {width:100%;padding:20dp 24dp;border:2dp var(--border);border-radius:12dp;background-color:var(--input);font-size:34dp;}
|
||||
.front-dialog .front-import-summary {padding:24dp;border:2dp var(--border);border-radius:12dp;background-color:var(--panel);font-size:29dp;}
|
||||
.front-dialog .front-import-note {font-size:27dp;color:var(--muted);}
|
||||
.front-dialog .front-name-error {min-height:44dp;margin:18dp 0 0;color:var(--danger);font-size:27dp;}
|
||||
|
||||
.brand p {letter-spacing:11dp;}
|
||||
.brand h1 {line-height:1;}
|
||||
/* Front-end library paint is intentionally Midnight in every desktop theme. */
|
||||
.front-mod-window {--text:#dce8ef;--muted:#9fb9c9;--accent:#b9dfcf;--strong:#283542fc;--panel:#12243140;--input:#152431;--hover:#bdd6dd12;--selected:#8ebfaf1f;--border:#c5d9e726;--danger:#e7b1a7;--menu-top:#303c49eb;--menu-bottom:#1a2531f2;color:#dce8ef;}
|
||||
.front-mod-window>.titlebar {background-color:#ffffff06;}
|
||||
.front-mod-tabs button.active {border-color:#b1d9cd70;background-color:#8ebfaf26;color:#c3e5d9;}
|
||||
.front-mod-entry.selected {border-color:#aacbc84d;background-color:#8ebfaf1f;}
|
||||
.front-mod-status.is-active {color:#b9dfcf;background-color:#8ebfaf1f;border-color:#b1d9cd4d;}
|
||||
.front-dialog {background-color:#283542fc;color:#dce8ef;border-color:#e1ecf429;}
|
||||
.front-import-choices button {height:142dp;min-height:142dp;flex-shrink:0;}
|
||||
.front-import-choices button:last-child {margin-bottom:0;}
|
||||
.front-mod-downloads button {flex-shrink:0;}
|
||||
|
||||
/* Selected office study; layout and controls follow the HTML gold reference. */
|
||||
.front-office-art {position:absolute;left:0;top:0;width:3840dp;height:2160dp;}
|
||||
.front-office-shade {background-color:transparent;decorator:linear-gradient(90deg,#07101333,#07101300);}
|
||||
.office-home .main-options {position:absolute;left:220dp;top:550dp;width:1160dp;gap:22dp;}
|
||||
.office-home .main-options button {height:132dp;padding:22dp 42dp;background-color:#040a0d73;border:1dp #e6ebe10b;border-radius:6dp;color:#f0f1e9;font-size:62dp;font-weight:normal;letter-spacing:-1dp;}
|
||||
.office-home .main-options button:hover,.office-home .main-options button:focus-visible {background-color:#040a0dad;border-color:#d2b67e66;color:#fff8e9;box-shadow:inset 4dp 0dp 0dp #d2b67e;}
|
||||
.office-home .main-options button .front-hover-arrow {color:#d2b67e;}
|
||||
.office-home .main-options button:disabled {color:#c4cdc7;opacity:.48;}
|
||||
.office-home .main-options button:last-child {margin-top:32dp;font-size:56dp;}
|
||||
.office-home .front-footer {left:260dp;right:130dp;bottom:110dp;}
|
||||
.office-home .front-active small,.office-home .front-footer .front-version {color:#d6dbd2;}
|
||||
.office-home .front-active strong {color:#f0f1e9;}
|
||||
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l10 18H2zM12 9v5M12 17v1"/></svg>
|
||||
|
After Width: | Height: | Size: 250 B |
@@ -0,0 +1,31 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
|
||||
<defs>
|
||||
<linearGradient id="cover" x1="0" y1="0" x2="1" y2="1"><stop stop-color="#63899a"/><stop offset=".55" stop-color="#344f67"/><stop offset="1" stop-color="#1d3047"/></linearGradient>
|
||||
<linearGradient id="paper" x1="0" y1="0" x2="0" y2="1"><stop stop-color="#f6f3e9"/><stop offset="1" stop-color="#cbd4d7"/></linearGradient>
|
||||
<clipPath id="ball"><circle cx="147" cy="190" r="30"/></clipPath>
|
||||
</defs>
|
||||
<rect x="39" y="23" width="181" height="220" rx="19" fill="#0b1728" opacity=".25"/>
|
||||
<path d="M50 17h155a10 10 0 0 1 10 10v197a10 10 0 0 1-10 10H52c-16 0-22-9-22-22V39c0-14 8-22 20-22Z" fill="url(#cover)" stroke="#9cafb9" stroke-width="3"/>
|
||||
<path d="M50 20v188c0 10 4 14 13 14h147" fill="none" stroke="#1b3043" stroke-width="10"/>
|
||||
<path d="M63 218h145v12H61c-7 0-11-4-11-7s5-5 13-5Z" fill="url(#paper)"/>
|
||||
<path d="M66 224h137M66 229h137" stroke="#879ca7" stroke-width="1.5"/>
|
||||
<path d="M181 213h16v32l-8-6-8 6Z" fill="#cba46a"/>
|
||||
<path d="M57 32v169" stroke="#bdcdd5" stroke-width="2" opacity=".45"/>
|
||||
<rect x="76" y="51" width="114" height="101" rx="11" fill="url(#paper)" stroke="#abbcc3" stroke-width="2"/>
|
||||
<path d="M87 51h92a11 11 0 0 1 11 11v20H76V62a11 11 0 0 1 11-11Z" fill="#ac6161"/>
|
||||
<path d="M99 43v19M168 43v19" stroke="#dce5e8" stroke-width="6" stroke-linecap="round"/>
|
||||
<g fill="#6e8e9b">
|
||||
<path d="M87 94h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zM87 109h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zM87 124h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6zm13 0h6v6h-6z"/>
|
||||
</g>
|
||||
<rect x="123" y="106" width="12" height="12" rx="3" fill="#5f9f8b"/>
|
||||
<g transform="translate(4 -4) translate(147 190) scale(.72) translate(-147 -190)">
|
||||
<circle cx="149" cy="193" r="32" fill="#12283a" opacity=".3"/>
|
||||
<circle cx="147" cy="190" r="30" fill="#edf2ee" stroke="#becbd0" stroke-width="2"/>
|
||||
<g clip-path="url(#ball)" fill="#263e4e" stroke="#263e4e" stroke-width="1.5" stroke-linejoin="round">
|
||||
<path d="m147 177 12 9-5 14h-15l-5-14Z"/>
|
||||
<path d="m140 159 3 10 8 0 4-10M172 170l-7 9 3 7 11 1M176 207l-11-2-6 6 3 12M132 221l3-10-7-6-11 2M116 183l12 3 4-8-7-10"/>
|
||||
<path d="m147 177 0-8m12 17 9 0m-14 14 5 11m-20-11-4 11m-1-25-6 0" fill="none"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M12 36 36 12M16 12h20v20"/></svg>
|
||||
|
After Width: | Height: | Size: 243 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="24" cy="24" r="21"/><path d="m24 14 10 7-4 12H18l-4-12ZM24 3v11M4 18l10 3M11 41l7-8M37 41l-7-8M44 18l-10 3"/></svg>
|
||||
|
After Width: | Height: | Size: 330 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><rect x="7" y="11" width="34" height="32" rx="3"/><path d="M15 5v12M33 5v12M7 22h34"/></svg>
|
||||
|
After Width: | Height: | Size: 295 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M6 5v37h36M12 32l8-13 8 7 12-16"/></svg>
|
||||
|
After Width: | Height: | Size: 252 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="m9 24 10 10L40 12"/></svg>
|
||||
|
After Width: | Height: | Size: 238 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><ellipse cx="24" cy="12" rx="18" ry="7"/><path d="M6 12v11c0 9 36 9 36 0V12M6 23v11c0 9 36 9 36 0V23"/></svg>
|
||||
|
After Width: | Height: | Size: 312 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80" fill="none" stroke="#dceae7" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 53a16 16 0 0 1-1-32 23 23 0 0 1 44 2 15 15 0 0 1-2 30M40 35v35m-12-12 12 12 12-12"/></svg>
|
||||
|
After Width: | Height: | Size: 304 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7h7l3 3h8v11H3zM3 7V4h7l3 3h7v3"/></svg>
|
||||
|
After Width: | Height: | Size: 255 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3h7v7H3zM14 3h7v7h-7zM3 14h7v7H3zM14 14h7v7h-7z"/></svg>
|
||||
|
After Width: | Height: | Size: 271 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M24 43S2 29 4 14C6 2 20 4 24 12c4-8 18-10 20 2 2 15-20 29-20 29Z"/></svg>
|
||||
|
After Width: | Height: | Size: 285 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 3h18v18H3zM3 17l6-7 5 5 3-3 4 5M15 7h1"/></svg>
|
||||
|
After Width: | Height: | Size: 262 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><rect x="9" y="21" width="30" height="23" rx="3"/><path d="M15 21V12a9 9 0 0 1 18 0v9M24 30v7"/></svg>
|
||||
|
After Width: | Height: | Size: 305 B |
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><rect x="4" y="7" width="24" height="18" rx="3" fill="none" stroke="#9fb5c5" stroke-width="2"/><path d="m5 9 11 9L27 9" fill="none" stroke="#9fb5c5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
||||
|
After Width: | Height: | Size: 304 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="24" cy="13" r="9"/><path d="M9 45V33c0-12 30-12 30 0v12M17 45V32M31 45V32"/></svg>
|
||||
|
After Width: | Height: | Size: 297 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="7" width="42" height="34" rx="2"/><path d="M24 7v34M3 15h9v18H3M45 15H36v18h9"/><circle cx="24" cy="24" r="7"/></svg>
|
||||
|
After Width: | Height: | Size: 335 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4v16M4 12h16"/></svg>
|
||||
|
After Width: | Height: | Size: 237 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2v10M6 5a9 9 0 1 0 12 0"/></svg>
|
||||
|
After Width: | Height: | Size: 248 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M8 5h26l7 7v31H7V5ZM14 5v13h20V5M14 43V27h20v16"/></svg>
|
||||
|
After Width: | Height: | Size: 268 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.8" stroke-linecap="round"><circle cx="10" cy="10" r="6.5"/><path d="m15 15 5 5"/></svg>
|
||||
|
After Width: | Height: | Size: 240 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="m14 6 10 4 10-4 12 12-8 8-4-4v22H14V22l-4 4-8-8Z"/></svg>
|
||||
|
After Width: | Height: | Size: 269 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path fill="#d9b96f" stroke="#d9b96f" d="m24 3 6 13 15 2-11 11 3 15-13-7-13 7 3-15L3 18l15-2Z"/></svg>
|
||||
|
After Width: | Height: | Size: 305 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M3 6h18v5a2 2 0 0 0 0 4v5H3v-5a2 2 0 0 0 0-4zM15 6v3M15 12v3M15 18v2"/></svg>
|
||||
|
After Width: | Height: | Size: 289 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><path d="M7 12h34M18 12V6h12v6M12 12l2 32h20l2-32M20 21v14M28 21v14"/></svg>
|
||||
|
After Width: | Height: | Size: 279 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="#dceae7" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M9 5 4 10l5 5M4 10h10a6 6 0 0 1 0 12"/></svg>
|
||||
|
After Width: | Height: | Size: 257 B |
@@ -0,0 +1,2 @@
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-only -->
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none" stroke="#dceae7" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="24" cy="24" r="21"/><ellipse cx="24" cy="24" rx="9" ry="21"/><path d="M3 24h42M7 12h34M7 36h34"/></svg>
|
||||
|
After Width: | Height: | Size: 318 B |
@@ -0,0 +1,13 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* HTML Hallentabellen: 78/22 percent columns, 66dp heading and row tracks. */
|
||||
.indoor-list .report-row {height:66dp;}
|
||||
.indoor-list .report-cell {width:22%;}
|
||||
.indoor-list .report-cell.first {width:78%;}
|
||||
.indoor-info {display:flex;align-items:center;justify-content:center;left:0;right:0;width:100%;}
|
||||
|
||||
.indoor-empty {padding:100dp 40dp;text-align:center;font-size:34dp;color:var(--muted);}
|
||||
|
||||
.indoor-value-info {position:absolute;left:52dp;right:52dp;top:124dp;bottom:130dp;display:flex;flex-direction:column;gap:12dp;}
|
||||
.indoor-value-info>p {display:block;font-size:32dp;line-height:1.3;margin:0;}
|
||||
.indoor-value-info>div {display:flex;justify-content:space-between;align-items:center;min-height:66dp;border-bottom:1dp var(--border);font-size:32dp;}
|
||||
.indoor-value-info>div>span,.indoor-value-info strong {display:block;font-weight:normal;}
|
||||
@@ -0,0 +1,121 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.lineup-screen {position:absolute;left:0;top:0;width:2612dp;height:1864dp;color:var(--text);}
|
||||
.lineup-roster {position:absolute;left:0;top:0;width:2612dp;height:1216dp;}
|
||||
.lineup-roster-scroll {position:absolute;left:0;top:48dp;width:2612dp;height:1168dp;overflow-x:hidden;overflow-y:auto;}
|
||||
.lineup-row {display:flex;width:2612dp;height:56dp;border-bottom:1dp #c5d9e712;align-items:center;font-size:30dp;}
|
||||
.lineup-row.even {background-color:#e3edf605;}
|
||||
.lineup-row.selected {background-color:var(--selected);border-left-width:0;}
|
||||
.lineup-row.reserve-start {margin-top:12dp;}
|
||||
.lineup-cell {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:160.888889dp;height:54dp;padding:0 6dp;border:0;background-color:transparent;border-radius:0;white-space:nowrap;overflow:hidden;min-width:0;}
|
||||
.lineup-cell.control-button:hover {background-color:var(--hover);}
|
||||
.lineup-cell:focus-visible {border:2dp var(--accent);}
|
||||
.lineup-cell>span {display:block;max-width:100%;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;}
|
||||
.lineup-cell .control-label {width:100%;max-width:100%;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;}
|
||||
.lineup-col-0 {width:64dp;}
|
||||
.lineup-col-1 {width:900dp;justify-content:flex-start;text-align:left;}
|
||||
.lineup-col-1 .control-label {text-align:left;}
|
||||
.lineup-col-7 {width:200dp;}
|
||||
.lineup-name {font-size:30dp;}
|
||||
.lineup-detail {font-size:28dp;}
|
||||
.lineup-status {display:block;width:100%;font-size:21dp;letter-spacing:1dp;white-space:nowrap;}
|
||||
.lineup-head {height:48dp;background-color:#2b3946;border-bottom:2dp var(--border);color:var(--muted);font-size:26dp;}
|
||||
.lineup-head .lineup-cell {height:46dp;}
|
||||
.lineup-head .lineup-col-1>span {text-align:left;}
|
||||
.lineup-empty {padding:30dp;color:var(--muted);font-size:30dp;}
|
||||
.lineup-pitch {position:absolute;left:0;top:1256dp;width:1018.529915dp;height:608dp;border:2dp var(--border);border-radius:16dp;background-color:#2d6447;overflow:hidden;}
|
||||
.lineup-field-art,.lineup-order-zone {position:absolute;left:0;top:0;width:1014.529915dp;height:604dp;pointer-events:none;}
|
||||
.lineup-order-zone {z-index:1;}
|
||||
.lineup-player {position:absolute;padding:0;border:0;border-radius:8dp;background-color:transparent;display:block;width:66.841026dp;height:66.841026dp;overflow:visible;z-index:2;}
|
||||
.lineup-player:hover {background-color:transparent;}
|
||||
.lineup-player[aria-pressed=true] {border:2dp #b4ddce;}
|
||||
.lineup-player:focus-visible {border:2dp var(--accent);}
|
||||
.lineup-jersey {position:absolute;left:0;top:60.156923dp;width:66.841026dp;height:22dp;text-align:center;font-size:18dp;line-height:1.1;font-weight:bold;color:#f7fbff;pointer-events:none;}
|
||||
.lineup-ghost {display:none;position:absolute;width:66.841026dp;height:66.841026dp;z-index:4;pointer-events:none;opacity:.7;}
|
||||
.lineup-controls {position:absolute;left:1058.529915dp;top:1256dp;width:1553.470085dp;height:608dp;}
|
||||
.lineup-tabs {display:flex;width:1553.470085dp;height:70dp;}
|
||||
.lineup-tab {width:301.094017dp;height:70dp;margin-right:12dp;padding:6dp;border:2dp var(--border);border-radius:12dp;font-size:27dp;flex-shrink:0;}
|
||||
.lineup-tab:last-child {margin-right:0;}
|
||||
.lineup-tab .control-label {width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.lineup-tab[aria-pressed=true] {background-color:var(--selected);border-color:var(--accent);}
|
||||
.lineup-side {position:absolute;left:0;top:96dp;width:1553.470085dp;height:512dp;}
|
||||
.lineup-formation-cell {position:absolute;}
|
||||
.lineup-formation {position:absolute;left:0;top:0;width:767.735043dp;height:160dp;padding:5dp 14dp;border:2dp var(--border);border-radius:12dp;background-color:var(--panel);display:block;font-size:29dp;}
|
||||
.lineup-formation[aria-pressed=true] {border-color:var(--accent);background-color:var(--selected);}
|
||||
.lineup-mini {position:absolute;left:22dp;top:18dp;width:200dp;height:120dp;}
|
||||
.lineup-formation-label {position:absolute;left:248dp;top:60dp;width:503.735043dp;height:36dp;text-align:left;white-space:nowrap;}
|
||||
.lineup-formation-cell.custom .lineup-formation-label {text-align:left;}
|
||||
.lineup-save {position:absolute;right:10dp;bottom:8dp;height:45dp;min-width:117dp;padding:6dp 14dp;border:1dp var(--border);border-radius:7dp;background-color:var(--panel);font-size:26dp;}
|
||||
.lineup-save .control-label {white-space:nowrap;}
|
||||
.lineup-pages {position:absolute;left:0;top:350dp;width:1553.470085dp;height:59dp;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:27dp;}
|
||||
.lineup-pages>span {display:block;width:1389.470085dp;text-align:center;white-space:nowrap;}
|
||||
.lineup-page {width:64dp;height:59dp;padding:6dp;border-radius:12dp;flex-shrink:0;}
|
||||
.lineup-weights {position:absolute;left:0;top:429dp;width:1553.470085dp;height:83dp;display:flex;}
|
||||
.lineup-weight {position:relative;width:508.490028dp;height:83dp;padding:10dp 4dp;margin-right:14dp;border:2dp var(--border);border-radius:10dp;background-color:var(--panel);font-size:24dp;display:block;}
|
||||
.lineup-weight:last-child {margin-right:0;}
|
||||
.lineup-weight-label {display:block;width:100%;height:29dp;white-space:nowrap;text-align:center;}
|
||||
.lineup-weight-bars {display:flex;width:84dp;height:26dp;margin:2dp auto 0;align-items:center;}
|
||||
.lineup-weight-bar {display:block;width:24dp;height:9dp;margin-right:4dp;border:1dp var(--muted);transform:skewX(-15deg);}
|
||||
.lineup-weight-bar.active {background-color:var(--accent);border-color:var(--accent);}
|
||||
.lineup-orders,.lineup-takers {position:absolute;left:8dp;top:18dp;width:1537.470085dp;}
|
||||
.lineup-orders h2,.lineup-takers h2 {margin:0 0 22dp;height:39dp;font-size:34dp;font-weight:normal;}
|
||||
.lineup-order-name {position:absolute;left:0;top:69dp;width:1537.470085dp;height:34dp;font-size:30dp;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.lineup-order-row {position:absolute;left:0;display:flex;align-items:center;height:60dp;width:748.735043dp;margin:0;}
|
||||
.lineup-order-icon {display:block;width:55dp;margin-right:20dp;flex-shrink:0;}
|
||||
.lineup-order-row input {width:593.735043dp;height:16dp;margin:0 20dp 0 0;}
|
||||
.lineup-order-row input[type=range] slidertrack {height:4dp;margin:6dp 0;}
|
||||
.lineup-order-row input[type=range] sliderbar {width:16dp;height:16dp;margin-top:0;border:0;border-radius:8dp;}
|
||||
.lineup-order-value {display:block;width:60dp;flex-shrink:0;font-size:30dp;}
|
||||
.lineup-hint {position:absolute;left:0;top:135dp;width:1537.470085dp;margin:0;font-size:29dp;line-height:1.6;color:var(--muted);}
|
||||
.lineup-taker-label {position:absolute;top:61dp;display:block;width:500.490028dp;height:108dp;margin:0;font-size:29dp;}
|
||||
.lineup-taker-label>span {display:block;height:33dp;margin-bottom:14dp;}
|
||||
.lineup-taker {width:500.490028dp;height:61dp;padding:12dp 16dp;border:2dp var(--border);border-radius:10dp;background-color:var(--input);font-size:28dp;}
|
||||
.lineup-taker selectbox {max-height:280dp;padding:10dp;border:2dp var(--border);margin-top:8dp;margin-bottom:8dp;overflow:auto;background-color:#293744fa;}
|
||||
.lineup-taker option {display:block;position:relative;height:72dp;min-height:72dp;padding:10dp 14dp 10dp 54dp;line-height:52dp;font-size:28dp;}
|
||||
.lineup-option-mark {display:block;position:absolute;left:14dp;top:10dp;width:28dp;height:52dp;}
|
||||
.lineup-option-check {display:none;position:absolute;left:9dp;top:17dp;width:10dp;height:18dp;border-right:3dp #afdccf;border-bottom:3dp #afdccf;transform:rotate(45deg);}
|
||||
.lineup-taker option:checked .lineup-option-check {display:block;}
|
||||
.lineup-option-text {display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.lineup-taker option .lineup-option-text {width:100%;line-height:52dp;}
|
||||
.lineup-taker selectvalue .lineup-option-mark {display:none;}
|
||||
.lineup-taker selectvalue .lineup-option-text {width:100%;}
|
||||
body.silver .lineup-option-check,body.matchday .lineup-option-check {border-color:var(--accent);}
|
||||
.lineup-auto {position:absolute;left:0;top:197dp;margin:0;height:61dp;width:204dp;padding:12dp 20dp;font-size:29dp;border-radius:12dp;}
|
||||
.lineup-auto .control-label {width:100%;white-space:nowrap;}
|
||||
.team-view .lineup-roster {height:1730dp;}
|
||||
.team-view .lineup-roster-scroll {height:1682dp;}
|
||||
.team-view .lineup-row {height:82dp;}
|
||||
.team-view .lineup-head {height:48dp;}
|
||||
.team-view .lineup-row .lineup-cell {height:76dp;}
|
||||
.team-view .lineup-head .lineup-cell {height:46dp;}
|
||||
.lineup-team-actions {position:absolute;left:0;top:1770dp;width:2612dp;height:94dp;display:flex;align-items:center;}
|
||||
.lineup-team-actions .lineup-tab {width:280dp;height:94dp;font-size:32dp;margin-right:24dp;}
|
||||
.lineup-team-actions>span {display:block;flex:1;text-align:right;font-size:26dp;color:var(--muted);white-space:nowrap;}
|
||||
body.silver .lineup-head {background-color:#dfe8ef;}
|
||||
body.matchday .lineup-head {background-color:#35343a;}
|
||||
body.silver .lineup-row.even {background-color:#315b7106;}
|
||||
body.matchday .lineup-row.even {background-color:#f9f4ed05;}
|
||||
|
||||
body.silver .lineup-taker selectbox {background-color:#f3f7fcfc;}
|
||||
body.matchday .lineup-taker selectbox {background-color:#303037fc;}
|
||||
|
||||
.lineup-surface-controls {position:absolute;right:0;top:1156dp;width:650dp;height:70dp;display:flex;gap:12dp;}
|
||||
.lineup-surface-controls button {flex:1;min-width:0;height:70dp;font-size:25dp;padding:8dp 14dp;}
|
||||
.lineup-surface-controls .selected {background-color:var(--selected);border-color:var(--accent);color:var(--accent);}
|
||||
|
||||
.pitch-view .lineup-roster-scroll {height:1068dp;}
|
||||
.team-view .lineup-surface-controls {display:none;}
|
||||
/* Authoritative indoor substitution pairs; no player ids or roles are removed. */
|
||||
.lineup-name>.lineup-pair-name {flex:1;min-width:0;width:auto;text-align:left;overflow:hidden;text-overflow:ellipsis;}
|
||||
.lineup-name>.lineup-pair-chip {width:48dp;flex-shrink:0;margin-left:10dp;border:1dp var(--border);border-radius:8dp;color:var(--accent);font-size:19dp;line-height:28dp;text-align:center;}
|
||||
.lineup-pair-tag {position:absolute;height:22dp;display:flex;align-items:center;justify-content:center;font-size:16dp;line-height:20dp;color:var(--text);background-color:var(--strong);border:1dp var(--accent);border-radius:6dp;pointer-events:none;}
|
||||
.lineup-engine-pairs {margin-top:16dp;}
|
||||
.lineup-engine-pairs>strong {display:block;color:var(--accent);font-size:28dp;}
|
||||
.lineup-engine-pairs>p {font-size:23dp;line-height:1.3;color:var(--muted);margin:8dp 0;}
|
||||
.lineup-engine-pair {display:flex;align-items:center;gap:16dp;min-height:40dp;font-size:24dp;}
|
||||
.lineup-engine-pair>span:first-child {display:block;flex-shrink:0;width:48dp;color:var(--accent);}
|
||||
.lineup-engine-pair>span:last-child {display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
|
||||
.lineup-pair-tag>span {display:block;flex-shrink:0;line-height:20dp;}
|
||||
.lineup-engine-controls h2 {height:39dp;margin:0 0 12dp;font-size:34dp;font-weight:normal;}
|
||||
.lineup-engine-instruction {font-size:28dp;line-height:1.3;margin:0 0 10dp;}
|
||||
.lineup-engine-hint {font-size:24dp;line-height:1.4;margin:0 0 10dp;color:var(--muted);}
|
||||
@@ -0,0 +1,123 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Selected text-only Gold layout in the existing 3840x2160 logical canvas. */
|
||||
body {--live-bg:#0e1d27;--live-surface:#182b38e8;--live-wash:#d2e6f40b;--live-selected:#a0c8ba18;--live-line:#c2d8e52c;--live-accent:#b5dbd2;--live-muted:#a8bfcb;--live-text:#eaf2f6;}
|
||||
body.silver {--live-bg:#e8eff5;--live-surface:#edf3f9f5;--live-wash:#7595ac12;--live-selected:#6f9db128;--live-line:#617e9438;--live-accent:#376b84;--live-muted:#5a7181;--live-text:#293e4c;}
|
||||
body.matchday {--live-bg:#242426;--live-surface:#302f34ec;--live-wash:#efc7ce0a;--live-selected:#efb2aa18;--live-line:#e6d2d52c;--live-accent:#efb2aa;--live-muted:#bbb6bb;--live-text:#f2ebee;}
|
||||
.live-stage {position:absolute;left:0;top:0;width:3840dp;height:2160dp;color:var(--live-text);background-color:var(--live-bg);font-family:Modern;font-size:40dp;}
|
||||
.live-stage h1,.live-stage h2,.live-stage h3,.live-stage p {margin:0;}
|
||||
.live-stage button {display:flex;align-items:center;justify-content:center;min-width:0;gap:16dp;background-color:var(--live-wash);color:var(--live-text);border:2dp var(--live-line);border-radius:18dp;font-size:36dp;font-weight:normal;}
|
||||
.live-stage button:hover,.live-stage button:focus-visible {border-color:var(--live-accent);background-color:var(--live-selected);}
|
||||
.live-stage button:disabled {opacity:0.45;}
|
||||
.live-stage .selected {background-color:var(--live-selected);color:var(--live-accent);border-color:var(--live-accent);}
|
||||
.live-stage button>span,.live-stage h1>span,.live-stage h2>span,.live-stage h3>span,.live-stage p>span {display:block;min-width:0;}
|
||||
.live-header {position:absolute;left:128dp;right:128dp;top:0;height:232dp;display:flex;align-items:center;justify-content:space-between;border-bottom:2dp var(--live-line);gap:40dp;}
|
||||
.live-header>div {display:block;min-width:0;flex:1;}
|
||||
.live-eyebrow {display:block;font-size:30dp;letter-spacing:4dp;color:var(--live-muted);margin-bottom:14dp;}
|
||||
.live-header h1 {font-size:60dp;font-weight:normal;}
|
||||
.live-demo-tag {display:block;font-size:28dp;color:var(--live-accent);border:2dp var(--live-line);border-radius:32dp;padding:14dp 24dp;flex-shrink:0;}
|
||||
.live-body {position:absolute;left:128dp;right:128dp;top:280dp;height:1684dp;display:flex;gap:44dp;}
|
||||
.live-left {width:2096dp;min-width:0;flex-shrink:0;display:flex;flex-direction:column;gap:36dp;height:100%;}
|
||||
.live-panel {background-color:var(--live-surface);border:2dp var(--live-line);border-radius:32dp;overflow:hidden;min-width:0;min-height:0;}
|
||||
.live-overview {flex-shrink:0;}
|
||||
.live-coverage {height:110dp;display:flex;align-items:center;gap:14dp;padding:18dp 30dp;border-bottom:2dp var(--live-line);}
|
||||
.live-coverage button {height:72dp;padding:0 26dp;font-size:32dp;}
|
||||
.live-clock {display:block;margin-left:auto;color:var(--live-accent);font-size:44dp;flex-shrink:0;}
|
||||
.live-cards {padding:24dp;display:flex;flex-wrap:wrap;gap:20dp;}
|
||||
.live-stage .live-game {width:48%;flex-grow:1;flex-shrink:0;height:218dp;min-width:0;display:block;border:2dp var(--live-line);border-radius:22dp;background-color:var(--live-wash);padding:12dp 22dp;}
|
||||
.live-coverage .live-match-arrow {width:70dp;padding:0;}
|
||||
.live-cards.single .live-game {width:100%;}
|
||||
.live-game.active {border-color:var(--live-accent);}
|
||||
.live-owners {display:block;font-size:24dp;color:var(--live-accent);text-align:center;margin-bottom:8dp;height:30dp;overflow:hidden;white-space:nowrap;}
|
||||
.live-scoreline {height:68dp;display:flex;align-items:center;justify-content:center;gap:16dp;min-width:0;}
|
||||
.live-team-name {display:block;flex:1;min-width:0;font-size:31dp;max-height:78dp;overflow:hidden;line-height:1.2;}
|
||||
.live-team-name.home {text-align:right;}
|
||||
.live-team-name.away {text-align:left;}
|
||||
.live-score {display:block;font-size:64dp;font-weight:normal;flex-shrink:0;text-align:center;min-width:134dp;white-space:nowrap;}
|
||||
.live-card-caption {display:block;font-size:22dp;color:var(--live-muted);text-align:center;margin-top:8dp;}
|
||||
.live-match-info {display:block;font-size:25dp;line-height:1.3;color:var(--live-muted);text-align:center;margin-top:8dp;white-space:nowrap;}
|
||||
.live-badge {display:flex;align-items:center;justify-content:center;flex-shrink:0;}
|
||||
.live-ticker {display:flex;flex-direction:column;flex:1;min-height:0;}
|
||||
.live-panel-heading {height:108dp;padding:24dp 42dp;display:flex;align-items:center;justify-content:space-between;gap:24dp;border-bottom:2dp var(--live-line);flex-shrink:0;}
|
||||
.live-panel-heading h2 {display:block;min-width:0;flex:1;font-size:42dp;font-weight:normal;}
|
||||
.live-small {display:block;font-size:28dp;color:var(--live-muted);}
|
||||
.live-filters {display:flex;align-items:center;gap:14dp;padding:18dp 32dp;border-bottom:2dp var(--live-line);flex-shrink:0;}
|
||||
.live-filters button {height:64dp;padding:0 24dp;font-size:30dp;}
|
||||
.live-event-list {display:block;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;}
|
||||
.live-event {display:flex;align-items:flex-start;gap:24dp;padding:30dp 40dp;border-bottom:2dp var(--live-line);}
|
||||
.live-event.is-goal {background-color:var(--live-selected);}
|
||||
.live-event-time {display:block;width:116dp;flex-shrink:0;color:var(--live-muted);font-size:31dp;line-height:1.5;}
|
||||
.live-event-copy {display:block;flex:1;min-width:0;}
|
||||
.live-event-copy h3 {display:block;width:100%;font-size:38dp;font-weight:normal;line-height:1.25;}
|
||||
.live-event-copy p {display:block;width:100%;font-size:32dp;line-height:1.4;color:var(--live-muted);margin-top:12dp;}
|
||||
.live-event-owners {display:block;color:var(--live-accent);font-size:25dp;margin-bottom:10dp;}
|
||||
.live-event-score {display:block;font-size:31dp;color:var(--live-muted);min-width:72dp;text-align:right;flex-shrink:0;}
|
||||
.live-ticker-footer {height:94dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;padding:20dp 38dp;border-top:2dp var(--live-line);flex-shrink:0;}
|
||||
.live-detail {flex:1;min-width:0;display:flex;flex-direction:column;height:100%;}
|
||||
.live-detail>.live-panel-heading {height:134dp;padding:24dp 42dp;}
|
||||
.live-detail-heading {display:block;min-width:0;flex:1;}
|
||||
.live-detail-heading h2 {display:block;width:100%;font-size:40dp;line-height:1.2;}
|
||||
.live-detail-heading p {display:block;width:100%;font-size:27dp;color:var(--live-muted);margin-top:10dp;}
|
||||
.live-team-switch {display:flex;gap:14dp;flex-shrink:0;}
|
||||
.live-team-switch button {width:74dp;height:70dp;padding:0;}
|
||||
.live-tabs {display:flex;gap:12dp;padding:24dp 26dp;border-bottom:2dp var(--live-line);flex-shrink:0;}
|
||||
.live-tabs button {height:66dp;padding:0 14dp;font-size:31dp;flex:1;}
|
||||
.live-detail-body {display:block;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;}
|
||||
.live-detail-footer {height:112dp;display:flex;align-items:center;gap:20dp;padding:22dp 36dp;border-top:2dp var(--live-line);flex-shrink:0;}
|
||||
.live-detail-footer button {height:70dp;padding:0 28dp;font-size:32dp;}
|
||||
.live-roster {padding:18dp 36dp;}
|
||||
.live-roster-row {height:66dp;display:flex;gap:16dp;align-items:center;border-bottom:2dp var(--live-line);font-size:32dp;}
|
||||
.live-roster-row.heading {height:56dp;font-size:24dp;color:var(--live-muted);}
|
||||
.live-roster-number {display:block;width:64dp;flex-shrink:0;}
|
||||
.live-roster-name {display:block;min-width:0;flex:1;overflow:hidden;white-space:nowrap;}
|
||||
.live-roster-stat {display:block;width:90dp;flex-shrink:0;text-align:right;}
|
||||
.live-roster-note {display:block;margin:20dp 0 12dp;color:var(--live-accent);font-size:27dp;line-height:1.35;}
|
||||
.live-note {display:block;color:var(--live-muted);font-size:28dp;line-height:1.5;padding:28dp 40dp;}
|
||||
.live-note>span {display:block;}
|
||||
.live-context {padding:36dp 42dp;}
|
||||
.live-context h3 {display:block;font-size:40dp;font-weight:normal;line-height:1.3;}
|
||||
.live-context p {display:block;font-size:31dp;color:var(--live-muted);line-height:1.5;margin-top:20dp;}
|
||||
.live-context button {height:76dp;padding:0 32dp;margin-top:28dp;font-size:32dp;}
|
||||
.live-pitch {width:100%;height:630dp;display:flex;align-items:center;justify-content:center;margin-top:30dp;}
|
||||
.live-stat {padding:26dp 42dp;}
|
||||
.live-stat-label {display:flex;justify-content:space-between;align-items:center;gap:20dp;font-size:36dp;}
|
||||
.live-stat-label>span {display:block;min-width:0;}
|
||||
.live-stat-label>.stat-title {font-size:31dp;color:var(--live-muted);text-align:center;flex:1;}
|
||||
.live-stat-bar {margin-top:18dp;height:10dp;display:flex;gap:10dp;}
|
||||
.live-stat-bar>.home {height:10dp;border-radius:6dp;background-color:var(--live-accent);}
|
||||
.live-stat-bar>.away {height:10dp;border-radius:6dp;background-color:var(--live-muted);flex:1;opacity:0.4;}
|
||||
.live-table-row {display:flex;align-items:center;gap:16dp;height:62dp;padding:6dp 24dp;border-bottom:2dp var(--live-line);font-size:30dp;}
|
||||
.live-table-row.heading {height:78dp;font-size:25dp;color:var(--live-muted);}
|
||||
.live-table-row.own {background-color:var(--live-selected);border-left:6dp var(--live-accent);padding-left:18dp;}
|
||||
.live-table-pos {display:block;width:50dp;flex-shrink:0;text-align:center;}
|
||||
.live-table-team {display:flex;align-items:center;gap:16dp;flex:1;min-width:0;}
|
||||
.live-table-team>span {display:block;min-width:0;flex:1;overflow:hidden;white-space:nowrap;}
|
||||
.live-table-number {display:block;width:78dp;flex-shrink:0;text-align:center;}
|
||||
.live-table-goals {width:100dp;}
|
||||
.live-speed {position:absolute;left:30dp;top:710dp;width:56dp;display:flex;flex-direction:column;align-items:center;gap:20dp;color:var(--live-muted);font-size:26dp;}
|
||||
.live-speed>span {display:block;}
|
||||
#live-speed {width:40dp;height:600dp;padding:0;border:0;background-color:transparent;}
|
||||
#live-speed slidertrack {width:8dp;height:600dp;margin:0 16dp;border-radius:4dp;background-color:var(--live-line);}
|
||||
#live-speed sliderbar {width:30dp;height:30dp;margin:0;border:0;border-radius:15dp;background-color:var(--live-accent);}
|
||||
#live-speed sliderarrowdec,#live-speed sliderarrowinc {width:0;height:0;}
|
||||
.live-speed-value {display:block;text-align:center;font-size:23dp;white-space:nowrap;}
|
||||
.live-bottom {position:absolute;left:128dp;right:128dp;bottom:0;height:184dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;}
|
||||
.live-bottom-actions {display:flex;align-items:center;gap:24dp;flex-shrink:0;}
|
||||
.live-bottom button {height:100dp;padding:0 40dp;font-size:36dp;}
|
||||
.live-bottom-note {display:block;flex:1;min-width:0;text-align:center;font-size:28dp;color:var(--live-muted);line-height:1.4;}
|
||||
.live-feedback {position:absolute;left:128dp;right:128dp;bottom:184dp;padding:18dp 32dp;background-color:var(--live-surface);border:2dp var(--live-line);border-radius:18dp;font-size:30dp;color:var(--live-accent);}
|
||||
.live-dialog-layer {position:absolute;left:0;top:0;right:0;bottom:0;background-color:#051019a8;display:flex;align-items:center;justify-content:center;}
|
||||
.live-dialog {width:2200dp;max-height:1780dp;padding:54dp;border:2dp var(--live-line);border-radius:28dp;background-color:var(--live-bg);display:flex;flex-direction:column;gap:30dp;}
|
||||
.live-dialog h2 {display:block;width:100%;font-size:46dp;font-weight:normal;}
|
||||
.live-dialog p {display:block;width:100%;color:var(--live-muted);font-size:32dp;line-height:1.4;}
|
||||
.live-dialog label {display:block;width:100%;font-size:34dp;}
|
||||
.live-dialog select {display:block;width:100%;height:88dp;font-size:36dp;margin-top:20dp;}
|
||||
.live-dialog-actions {display:flex;justify-content:flex-end;gap:24dp;}
|
||||
.live-dialog-actions button {height:90dp;padding:0 40dp;font-size:34dp;}
|
||||
.live-tactic-row {display:flex;align-items:center;justify-content:space-between;gap:30dp;padding:16dp 0;border-bottom:2dp var(--live-line);font-size:36dp;}
|
||||
.live-tactic-row>span {display:block;min-width:0;flex:1;}
|
||||
.live-tactic-row button {height:76dp;width:760dp;font-size:34dp;}
|
||||
.live-review {position:absolute;left:128dp;right:128dp;top:280dp;bottom:200dp;padding:50dp;display:flex;flex-direction:column;gap:32dp;overflow-y:auto;}
|
||||
.live-review h2 {display:block;width:100%;font-size:48dp;font-weight:normal;}
|
||||
.live-review-card {display:block;padding:36dp;border:2dp var(--live-line);border-radius:24dp;}
|
||||
.live-review-card .live-scoreline {height:108dp;}
|
||||
.live-review-card p {display:block;width:100%;font-size:31dp;color:var(--live-muted);margin-top:28dp;line-height:1.4;text-align:center;}
|
||||
@@ -0,0 +1,11 @@
|
||||
<rml>
|
||||
<head><title>OpenBMH</title><link type="text/rcss" href="theme.rcss"/><link type="text/rcss" href="ticket.rcss"/><link type="text/rcss" href="sports.rcss"/><link type="text/rcss" href="calendar.rcss"/><link type="text/rcss" href="reports.rcss"/><link type="text/rcss" href="report_details.rcss"/><link type="text/rcss" href="report_pickers.rcss"/><link type="text/rcss" href="indoor.rcss"/><link type="text/rcss" href="planning.rcss"/><link type="text/rcss" href="almanac.rcss"/><link type="text/rcss" href="finance.rcss"/>
|
||||
<link type="text/rcss" href="bank.rcss"/><link type="text/rcss" href="contracts.rcss"/><link type="text/rcss" href="amount.rcss"/><link type="text/rcss" href="environment.rcss"/><link type="text/rcss" href="advertising.rcss"/><link type="text/rcss" href="toto.rcss"/><link type="text/rcss" href="lineup.rcss"/><link type="text/rcss" href="transfer.rcss"/><link type="text/rcss" href="career_reports.rcss"/><link type="text/rcss" href="rankings.rcss"/><link type="text/rcss" href="stadium.rcss"/><link type="text/rcss" href="statistics.rcss"/><link type="text/rcss" href="news.rcss"/><link type="text/rcss" href="settings.rcss"/><link type="text/rcss" href="widgets.rcss"/><link type="text/rcss" href="files.rcss"/><link type="text/rcss" href="front.rcss"/><link type="text/rcss" href="entry.rcss"/><link type="text/rcss" href="career.rcss"/><link type="text/rcss" href="national.rcss"/><link type="text/rcss" href="opening.rcss"/><link type="text/rcss" href="select_menu.rcss"/><link type="text/rcss" href="live.rcss"/><link type="text/rcss" href="postmatch.rcss"/></head>
|
||||
<body class="midnight">
|
||||
<div id="background"></div>
|
||||
<div id="canvas"></div>
|
||||
<div id="popup"></div>
|
||||
<div id="desktop-context"></div>
|
||||
<div id="toast"></div>
|
||||
</body>
|
||||
</rml>
|
||||
@@ -0,0 +1,46 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.national-root {position:absolute;left:0;right:0;top:0;bottom:0;font-size:34dp;}
|
||||
.national-heading {position:absolute;left:0;right:0;top:0;height:120dp;}
|
||||
.national-heading h2 {font-size:48dp;font-weight:normal;margin:0;display:flex;align-items:center;gap:30dp;width:100%;}
|
||||
.national-heading p {font-size:30dp;color:var(--muted);margin:12dp 0;display:flex;align-items:center;width:100%;}
|
||||
.national-team-label {display:flex;align-items:center;gap:20dp;vertical-align:middle;}
|
||||
.national-team-label>.image-frame {flex-shrink:0;}
|
||||
.national-cup {position:absolute;border:2dp var(--border);border-radius:26dp;background-color:var(--panel);padding:30dp;display:flex;flex-direction:column;align-items:center;justify-content:center;}
|
||||
.national-cup-art {width:100%;height:600dp;display:flex;justify-content:center;}
|
||||
.national-cup h3 {font-size:38dp;margin:30dp 0;font-weight:normal;}
|
||||
.national-cup strong {font-size:45dp;color:var(--accent);}
|
||||
.national-cup p {font-size:30dp;color:var(--muted);margin:30dp 0;text-align:center;width:100%;}
|
||||
.national-history {position:absolute;left:0;right:0;bottom:0;height:230dp;padding:30dp;border-top:2dp var(--border);}
|
||||
.national-history h3 {font-size:32dp;}.national-history p {font-size:30dp;color:var(--muted);margin-top:24dp;}
|
||||
.national-opponent {position:absolute;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:22dp;border:2dp var(--border);border-radius:24dp;background-color:var(--panel);font-size:38dp;}
|
||||
.national-opponent>.image-frame {flex-shrink:0;}.national-opponent small {font-size:28dp;color:var(--muted);}
|
||||
.national-actions {position:absolute;left:0;right:0;bottom:0;height:100dp;display:flex;justify-content:flex-end;gap:25dp;}
|
||||
.national-actions button {height:94dp;font-size:32dp;padding:12dp 28dp;}
|
||||
.national-month {position:absolute;left:0;top:150dp;width:1540dp;bottom:140dp;padding:26dp;border:2dp var(--border);border-radius:24dp;}
|
||||
.national-month>header {position:absolute;left:26dp;right:26dp;top:26dp;height:74dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;}
|
||||
.national-month h3 {font-size:38dp;font-weight:normal;}.national-month header button {width:84dp;height:74dp;font-size:40dp;}
|
||||
.national-weekday,.national-day {position:absolute;display:flex;align-items:center;justify-content:center;font-size:36dp;}
|
||||
.national-weekday {font-size:24dp;color:var(--muted);}.national-day {border:2dp var(--border);border-radius:14dp;background-color:var(--soft);padding:0;}
|
||||
.national-day[disabled] {opacity:.35;border-color:transparent;background-color:transparent;}
|
||||
.national-day.selected {border-color:var(--accent);background-color:var(--selected);}
|
||||
.national-selection {position:absolute;left:1585dp;right:0;top:150dp;bottom:140dp;border:2dp var(--border);border-radius:24dp;background-color:var(--panel);padding:40dp;overflow-y:auto;}
|
||||
.national-selection h3 {font-size:38dp;}.national-selection h4 {font-size:30dp;margin-top:35dp;}.national-selection p {font-size:30dp;line-height:45dp;color:var(--muted);margin:24dp 0;}
|
||||
.national-stat-tabs {position:absolute;left:0;right:0;top:150dp;height:94dp;display:flex;gap:20dp;}
|
||||
.national-stat-tabs button {flex:1;font-size:34dp;}.national-stat-tabs .selected {border-color:var(--accent);background-color:var(--selected);}
|
||||
.national-stat-scroll {position:absolute;left:0;right:0;top:274dp;bottom:100dp;overflow-y:auto;}
|
||||
.national-stat-row {height:96dp;display:flex;align-items:center;border-bottom:2dp var(--border);font-size:34dp;}
|
||||
.national-stat-row>span:first-child {width:110dp;text-align:center;flex-shrink:0;}
|
||||
.national-stat-row>.national-player {width:1260dp;padding:0 20dp;text-align:left;background-color:transparent;border:0;flex-shrink:0;}
|
||||
.national-stat-row>.national-team-label {width:900dp;flex-shrink:0;}
|
||||
.national-stat-row>span:last-child {width:330dp;text-align:center;flex-shrink:0;}
|
||||
.national-stat-head {height:72dp;color:var(--muted);font-size:26dp;}.national-stat-head>span:nth-child(2) {width:1260dp;}.national-stat-head>span:nth-child(3) {width:900dp;}
|
||||
.national-note {position:absolute;left:0;right:0;bottom:0;height:65dp;font-size:26dp;line-height:36dp;color:var(--muted);}
|
||||
.national-dialog-layer {left:0;right:0;top:0;bottom:0;padding:0;}
|
||||
.national-dialog {width:2484dp;}.national-dialog>h2 {width:100%;text-align:center;margin-bottom:35dp;}
|
||||
.national-dialog p {font-size:32dp;line-height:48dp;margin:32dp 0;}
|
||||
.national-dialog .national-team-label {font-size:38dp;}.national-dialog footer button {height:94dp;}
|
||||
|
||||
.national-month h3 {flex:1;width:100%;text-align:center;}
|
||||
.national-month h3>span {width:100%;}
|
||||
|
||||
.national-stat-row>.national-player.control-button {justify-content:flex-start;}
|
||||
@@ -0,0 +1,90 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.window.news-tablet {border:16dp #101821;border-radius:74dp;box-shadow:0dp 50dp 130dp #000a;overflow:hidden;}
|
||||
.news-tablet>.titlebar {height:118dp;padding-top:14dp;border:0dp;border-radius:54dp 54dp 0dp 0dp;}
|
||||
.news-tablet>.content {left:58dp;right:58dp;top:150dp;bottom:126dp;}
|
||||
.news-camera {position:absolute;left:50%;margin-left:-7dp;top:18dp;width:14dp;height:14dp;border:3dp #111c25;border-radius:7dp;background-color:#526b83;z-index:5;}
|
||||
.news-homebar {position:absolute;left:50%;margin-left:-130dp;bottom:16dp;width:260dp;height:8dp;border-radius:6dp;background-color:var(--muted);opacity:0.5;}
|
||||
.news-screen-footer {position:absolute;left:58dp;right:58dp;bottom:42dp;height:60dp;display:flex;align-items:center;justify-content:space-between;border-top:2dp var(--border);font-size:24dp;color:var(--muted);}
|
||||
.news-layout {position:absolute;left:0;right:0;top:0;bottom:0;color:var(--text);}
|
||||
.news-masthead {position:absolute;left:6dp;right:6dp;top:0;height:180dp;padding-bottom:34dp;display:flex;align-items:center;justify-content:space-between;gap:36dp;}
|
||||
.news-brand {display:flex;align-items:center;gap:34dp;min-width:0;}
|
||||
.news-wordmark {padding:8dp 24dp 15dp;border:2dp #ff8c8c25;border-radius:15dp;background-color:#c92736;color:#fff6f4;font-size:86dp;font-weight:bold;font-style:italic;letter-spacing:-5dp;line-height:1;}
|
||||
.news-brand p {margin-bottom:12dp;color:var(--muted);font-size:22dp;letter-spacing:4dp;}
|
||||
.news-brand h2 {font-size:48dp;line-height:1.1;font-weight:normal;letter-spacing:-1dp;}
|
||||
.news-owner {display:flex;align-items:center;gap:24dp;min-width:0;}
|
||||
.news-owner>div {text-align:right;}
|
||||
.news-owner strong {font-size:32dp;font-weight:normal;}
|
||||
.news-owner p {margin-top:14dp;font-size:26dp;color:var(--muted);}
|
||||
.news-owner>.image-frame {flex-shrink:0;}
|
||||
.news-navigation {position:absolute;left:0;right:0;top:180dp;height:116dp;display:flex;align-items:center;gap:22dp;padding-bottom:28dp;border-bottom:2dp var(--border);}
|
||||
.news-tabs {display:flex;align-items:stretch;padding:7dp;border:2dp var(--border);border-radius:17dp;background-color:var(--panel);gap:5dp;flex-shrink:0;}
|
||||
.news-tabs .news-tab {display:flex;align-items:center;justify-content:center;gap:18dp;min-width:240dp;height:65dp;padding:12dp 22dp;border:0dp;border-radius:11dp;background-color:transparent;color:var(--muted);font-size:30dp;}
|
||||
.news-tabs .news-tab.active {background-color:var(--selected);color:var(--text);}
|
||||
.news-tab-count {min-width:40dp;padding:3dp 9dp;border-radius:8dp;background-color:var(--panel);color:var(--text);font-size:23dp;text-align:center;}
|
||||
.news-search {display:flex;align-items:center;gap:16dp;min-width:0;max-width:760dp;flex:1;margin-left:auto;padding:16dp 22dp;border:2dp var(--border);border-radius:13dp;background-color:var(--input);}
|
||||
.news-search input {min-width:0;width:100%;margin:0;padding:0;border:0dp;border-radius:0dp;background-color:transparent;color:var(--text);font-size:28dp;line-height:1.4;}
|
||||
.news-search-symbol {position:relative;width:27dp;height:27dp;flex-shrink:0;margin-right:9dp;border:3dp var(--muted);border-radius:14dp;}
|
||||
.news-search-symbol>span {position:absolute;left:21dp;top:21dp;width:13dp;height:3dp;transform:rotate(45deg);background-color:var(--muted);}
|
||||
.news-read-all {display:flex;align-items:center;justify-content:center;gap:16dp;min-height:78dp;padding:14dp 22dp;border:2dp var(--border);border-radius:13dp;background-color:var(--soft);color:var(--text);font-size:27dp;white-space:nowrap;flex-shrink:0;}
|
||||
.news-read-all .image-frame {flex-shrink:0;}
|
||||
.news-feed {position:absolute;left:0;right:0;top:296dp;bottom:80dp;overflow-y:auto;overflow-x:hidden;padding-right:20dp;}
|
||||
.news-message {position:relative;display:flex;align-items:center;gap:32dp;min-height:218dp;padding:28dp 16dp 28dp 18dp;border-bottom:2dp var(--border);}
|
||||
.news-message.is-unread {background-color:var(--soft);}
|
||||
.news-unread-dot {position:absolute;left:0;top:50%;margin-top:-5dp;width:10dp;height:10dp;border-radius:5dp;background-color:var(--accent);}
|
||||
.news-art {display:flex;align-items:center;justify-content:center;flex-shrink:0;border:2dp var(--border);border-radius:28dp;background-color:var(--soft);}
|
||||
.news-message-copy {flex:1;min-width:0;}
|
||||
.news-message-meta {display:flex;align-items:center;gap:20dp;margin-bottom:13dp;font-size:24dp;line-height:1.4;color:var(--muted);}
|
||||
.news-category {padding-left:20dp;border-left:2dp var(--border);}
|
||||
.news-new {padding:2dp 12dp;border:2dp var(--border);border-radius:7dp;background-color:var(--selected);color:var(--accent);font-size:20dp;}
|
||||
.news-message-title {display:flex;justify-content:flex-start;align-items:center;max-width:100%;padding:0;margin:0 0 12dp;border:0dp;border-radius:3dp;background-color:transparent;color:var(--text);font-size:35dp;font-weight:normal;line-height:1.3;text-align:left;}
|
||||
.news-message.is-unread .news-message-title {font-weight:bold;}
|
||||
.news-message-title:hover {background-color:transparent;color:var(--accent);}
|
||||
.news-excerpt {max-height:81dp;overflow:hidden;font-size:27dp;line-height:1.5;color:var(--muted);}
|
||||
.news-row-actions {display:flex;align-items:center;gap:10dp;width:136dp;flex-shrink:0;}
|
||||
.news-icon-button {display:flex;align-items:center;justify-content:center;width:62dp;height:68dp;padding:10dp;border:0dp;border-radius:10dp;background-color:transparent;color:var(--muted);}
|
||||
.news-icon-button:hover {background-color:var(--hover);color:var(--text);}
|
||||
.news-symbol.archive {position:relative;width:29dp;height:26dp;margin-top:7dp;border:2dp var(--muted);border-radius:1dp;}
|
||||
.news-symbol.archive>.news-archive-lid {position:absolute;left:-5dp;right:-5dp;top:-8dp;height:8dp;border:2dp var(--muted);background-color:var(--menu-top);}
|
||||
.news-symbol.archive>.news-archive-handle {position:absolute;left:8dp;top:7dp;width:9dp;border-top:2dp var(--muted);}
|
||||
.news-symbol.restore>.news-archive-handle {left:11dp;top:4dp;width:0;height:13dp;border-left:2dp var(--muted);}
|
||||
|
||||
.news-bottom {position:absolute;left:4dp;right:4dp;bottom:0;height:80dp;display:flex;align-items:center;justify-content:space-between;gap:25dp;padding-top:12dp;}
|
||||
.news-bottom>p {color:var(--muted);font-size:24dp;line-height:1.4;}
|
||||
.news-undo {display:flex;align-items:center;justify-content:center;gap:16dp;padding:10dp 20dp;border:2dp var(--border);border-radius:10dp;background-color:var(--soft);color:var(--text);font-size:26dp;}
|
||||
.news-undo-symbol {font-size:38dp;line-height:1;}
|
||||
.news-empty {height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24dp;text-align:center;color:var(--muted);padding:70dp;}
|
||||
.news-empty h3 {color:var(--text);font-size:42dp;font-weight:normal;}
|
||||
.news-empty p {max-width:1300dp;font-size:29dp;line-height:1.6;}
|
||||
.news-empty-art {position:relative;width:90dp;height:80dp;margin-bottom:10dp;border:3dp var(--muted);border-radius:5dp;}
|
||||
.news-empty-art>span {position:absolute;left:0;right:0;top:30dp;width:100%;height:0;border-top:3dp var(--muted);}
|
||||
.news-detail-layer {position:absolute;left:0;right:0;top:0;bottom:0;z-index:20;}
|
||||
.news-detail-shade {position:absolute;left:0;right:0;top:0;bottom:0;background-color:#08101980;}
|
||||
.news-detail-box {position:absolute;left:64dp;right:64dp;top:50%;max-height:1552dp;overflow-y:auto;transform:translate(0,-50%);padding:40dp 52dp;border:2dp var(--border);border-radius:22dp;background-color:#283542f5;box-shadow:0dp 24dp 70dp #0007;font-size:36dp;}
|
||||
.news-detail-box h2 {font-size:42dp;font-weight:bold;letter-spacing:-0.4dp;text-align:center;line-height:1.2;margin-bottom:35dp;}
|
||||
.news-detail {padding-top:0;}
|
||||
.news-detail-meta {display:flex;align-items:center;gap:28dp;margin-bottom:38dp;}
|
||||
.news-detail-meta>div>p {margin-top:16dp;color:var(--muted);font-size:28dp;}
|
||||
.news-detail-body {font-size:34dp;line-height:1.7;color:var(--text);}
|
||||
.news-detail small {display:block;margin-top:34dp;color:var(--muted);font-size:24dp;}
|
||||
.news-detail-actions {display:flex;align-items:stretch;justify-content:space-evenly;gap:70dp;margin-top:45dp;}
|
||||
.news-detail-actions button {display:flex;align-items:center;justify-content:center;flex:1;min-width:0;padding:12dp 24dp;border:2dp var(--border);border-radius:12dp;font-size:32dp;}
|
||||
body.silver .news-message.is-unread {background-color:#42627d05;}
|
||||
|
||||
body.silver .news-detail-box {background-color:#eaf1f7fc;}
|
||||
body.matchday .news-detail-box {background-color:#2c2c32fc;}
|
||||
.news-message>.news-art {margin-right:6dp;}
|
||||
.news-detail-meta>div>p:first-child {margin-top:0;}
|
||||
/* Gold desktop journal: a quiet source-order preview, independent of tablet filters. */
|
||||
.news-widget-heading {position:absolute;left:0;right:0;top:0;height:70dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;padding:22dp 30dp 12dp;border:0dp;border-radius:0dp;background-color:transparent;color:var(--muted);font-size:25dp;line-height:1.2;text-align:left;}
|
||||
.news-widget-heading:hover {background-color:var(--hover);}
|
||||
.news-widget-arrow {display:flex;align-items:center;justify-content:center;flex-shrink:0;}
|
||||
.news-widget-feed {position:absolute;left:0;right:0;top:70dp;bottom:8dp;padding:0 28dp 16dp;display:flex;flex-direction:column;gap:10dp;overflow:hidden;}
|
||||
.news-widget-row {display:flex;align-items:flex-start;gap:14dp;padding:10dp 0 18dp;border-bottom:1dp var(--border);}
|
||||
.news-widget-copy {display:flex;flex-direction:column;gap:8dp;min-width:0;flex:1;}
|
||||
.news-widget-date {font-size:21dp;color:var(--muted);}
|
||||
.news-widget-title {font-size:25dp;line-height:1.25;font-weight:normal;max-height:62.5dp;overflow:hidden;}
|
||||
.news-widget-dot {width:10dp;height:10dp;border-radius:5dp;background-color:transparent;flex-shrink:0;margin-top:8dp;}
|
||||
.news-widget-row.unread .news-widget-dot {background-color:var(--accent);}
|
||||
|
||||
/* The Modern Gold hides the legacy footer below the tablet content. */
|
||||
.news-screen-footer {display:none;}
|
||||
@@ -0,0 +1,87 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Gold season-opening geometry in logical desktop units; data is canonical. */
|
||||
body {--opening-selected:#8ebfaf12;--opening-accent-border:#b1d9cd70;--opening-current:#b3d6d20d;--opening-divider:#c5d9e712;--opening-indicator:#b5dbd2;}
|
||||
body.silver {--opening-selected:#a3c3dd54;--opening-accent-border:#356f966e;--opening-current:#a3c3dd30;--opening-divider:#6c879c28;--opening-indicator:#25617a;}
|
||||
body.matchday {--opening-selected:#d48c7b26;--opening-accent-border:#e5a19770;--opening-current:#d48c7b12;--opening-divider:#ead9da16;--opening-indicator:#efb2aa;}
|
||||
.opening-layout {position:absolute;left:0;right:0;top:0;bottom:0;color:var(--text);}
|
||||
.opening-heading {height:110dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;}
|
||||
.opening-heading>div {display:block;min-width:0;flex:1;}
|
||||
.opening-heading h2 {margin:0;font-size:46dp;font-weight:normal;}
|
||||
.opening-heading h2>span {display:block;}
|
||||
.opening-heading p {margin:14dp 0 0;font-size:28dp;color:var(--muted);}
|
||||
.opening-heading p>span {display:block;}
|
||||
.opening-heading-detail {display:block;font-size:27dp;white-space:nowrap;color:var(--muted);flex-shrink:0;}
|
||||
.opening-entrant-grid {position:absolute;left:150dp;right:150dp;top:180dp;bottom:180dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.opening-entrant-content {position:relative;display:flex;flex-direction:column;gap:50dp;width:100%;height:100%;min-height:0;}
|
||||
.opening-entrant-row {display:flex;align-items:stretch;gap:50dp;flex:1;min-width:0;min-height:0;width:100%;}
|
||||
.opening-entrant {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26dp;flex:1;min-width:0;min-height:0;padding:34dp;border:2dp var(--border);border-radius:22dp;background-color:var(--panel);}
|
||||
.opening-entrant-spacer {flex:1;min-width:0;min-height:0;padding:34dp;border:2dp transparent;}
|
||||
.opening-entrant-crest {display:block;position:relative;flex-shrink:0;width:360dp;height:360dp;}
|
||||
.opening-entrant-crest>.image-frame {flex-shrink:0;}
|
||||
.opening-entrant h3 {width:100%;margin:0;font-size:50dp;font-weight:normal;text-align:center;line-height:1.2;flex-shrink:0;max-width:100%;}
|
||||
.opening-entrant h3>span {display:block;width:100%;text-align:center;}
|
||||
.opening-entrant p {width:100%;margin:0;text-align:center;color:var(--accent);font-size:25dp;flex-shrink:0;}
|
||||
.opening-entrant p>span {display:block;width:100%;text-align:center;}
|
||||
.opening-entrant.own-entrant {border-color:var(--opening-accent-border);background-color:var(--opening-selected);}
|
||||
.opening-entrant-content.single-entrant-content {align-items:center;justify-content:center;}
|
||||
.opening-entrant.single-entrant {flex:none;width:1200dp;height:1000dp;max-width:100%;max-height:100%;gap:52dp;}
|
||||
.single-entrant .opening-entrant-crest {width:620dp;height:620dp;}
|
||||
.single-entrant h3 {font-size:64dp;}
|
||||
.opening-empty-entrants {position:absolute;left:0;right:0;top:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28dp;padding:60dp;text-align:center;border:2dp var(--border);border-radius:22dp;background-color:var(--panel);}
|
||||
.opening-empty-entrants h3 {width:100%;margin:0;text-align:center;font-size:44dp;font-weight:normal;flex-shrink:0;}
|
||||
.opening-empty-entrants p {width:100%;margin:0;text-align:center;font-size:30dp;line-height:1.5;color:var(--muted);flex-shrink:0;}
|
||||
.opening-empty-entrants span {display:block;width:100%;text-align:center;}
|
||||
.opening-actions {position:absolute;left:0;right:0;bottom:0;height:94dp;display:flex;align-items:center;justify-content:flex-end;gap:22dp;}
|
||||
.opening-actions button {min-width:390dp;height:94dp;font-size:30dp;flex-shrink:0;}
|
||||
.opening-actions button:focus-visible {border-color:var(--accent);}
|
||||
.opening-demo-note {display:block;min-width:0;flex:1;margin-right:24dp;font-size:25dp;line-height:1.4;color:var(--muted);}
|
||||
|
||||
.opening-draw-scene {position:absolute;left:0;right:0;top:138dp;height:850dp;display:flex;justify-content:center;align-items:center;}
|
||||
.opening-draw-art {position:relative;display:block;box-sizing:content-box;flex-shrink:0;border:2dp var(--border);border-radius:18dp;overflow:hidden;box-shadow:0dp 20dp 50dp #0003;}
|
||||
.opening-draw-art>.image-frame {position:absolute;left:0;top:0;}
|
||||
.opening-art-missing {margin:0;font-size:32dp;color:var(--muted);}
|
||||
.opening-art-missing>span {display:block;}
|
||||
.opening-draw-indicator {position:absolute;left:50%;margin-left:-10dp;bottom:30dp;width:20dp;height:20dp;border-radius:10dp;background-color:var(--opening-indicator);opacity:0;pointer-events:none;}
|
||||
.opening-draw-indicator.is-playing {animation:0.45s cubic-in-out infinite alternate opening-draw-pulse;}
|
||||
@keyframes opening-draw-pulse {from {opacity:0.2;transform:scale(0.65);} to {opacity:0.8;transform:scale(1);}}
|
||||
.opening-draw-indicator.is-paused {opacity:0;}
|
||||
.opening-current-pair {position:absolute;left:130dp;right:130dp;top:1026dp;height:126dp;border:2dp var(--border);border-radius:16dp;background-color:var(--opening-current);padding:10dp 28dp;}
|
||||
.opening-pair-row {display:flex;align-items:center;gap:18dp;width:100%;height:100%;min-width:0;font-size:30dp;}
|
||||
.opening-pair-number {display:block;width:46dp;text-align:right;color:var(--muted);font-size:24dp;flex-shrink:0;}
|
||||
.opening-pair-number>span {display:block;}
|
||||
.opening-pair-versus {display:block;width:40dp;text-align:center;color:var(--muted);flex-shrink:0;}
|
||||
.opening-pair-versus>span {display:block;}
|
||||
.opening-pair-counter {display:block;width:46dp;flex-shrink:0;}
|
||||
.opening-pair-side {display:flex;align-items:center;gap:18dp;min-width:0;flex:1;}
|
||||
.opening-pair-side.home {justify-content:flex-end;text-align:right;}
|
||||
.opening-pair-side.away {justify-content:flex-start;text-align:left;}
|
||||
.opening-pair-name {display:block;min-width:0;flex:1;overflow:hidden;white-space:nowrap;}
|
||||
.opening-pair-name>span {display:block;}
|
||||
.opening-pair-side.home .opening-pair-name {text-align:right;}
|
||||
.opening-pair-side.away .opening-pair-name {text-align:left;}
|
||||
.opening-pair-crest {display:block;width:42dp;height:42dp;flex-shrink:0;}
|
||||
.opening-pair-crest>.image-frame {flex-shrink:0;}
|
||||
.opening-pair-row.own-pair {color:var(--accent);}
|
||||
.opening-pair-row .opening-unknown {color:var(--muted);}
|
||||
.opening-pair-row.current {font-size:38dp;}
|
||||
.opening-pair-row.current .opening-pair-crest {width:66dp;height:66dp;}
|
||||
.opening-recent {position:absolute;left:130dp;right:130dp;top:1190dp;bottom:145dp;}
|
||||
.opening-recent-row {position:absolute;left:0;right:0;height:171dp;padding:0 28dp;border-bottom:2dp var(--opening-divider);}
|
||||
.opening-no-pairs {height:100%;margin:0;display:flex;align-items:center;justify-content:center;text-align:center;font-size:30dp;color:var(--muted);}
|
||||
.opening-no-pairs>span {display:block;}
|
||||
|
||||
.opening-pair-columns {position:absolute;left:0;right:0;top:154dp;bottom:140dp;}
|
||||
.opening-overview-column {position:absolute;top:0;bottom:0;width:1289dp;padding:12dp 18dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);}
|
||||
.opening-overview-column.single-column {width:100%;}
|
||||
.opening-overview-list {position:absolute;left:18dp;right:18dp;top:12dp;bottom:12dp;display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;}
|
||||
.opening-overview-row {flex:1;min-height:0;padding:8dp 0;border-bottom:2dp var(--opening-divider);}
|
||||
.opening-overview-row:last-child {border-bottom:0dp;}
|
||||
.opening-pair-row.compact {gap:12dp;font-size:27dp;}
|
||||
.opening-pair-row.compact .opening-pair-number {width:34dp;font-size:21dp;}
|
||||
.opening-pair-row.compact .opening-pair-counter {width:34dp;}
|
||||
.opening-pair-row.compact .opening-pair-versus {width:22dp;}
|
||||
.opening-pair-row.compact .opening-pair-side {gap:12dp;}
|
||||
.opening-pair-row.compact .opening-pair-crest {width:36dp;height:36dp;}
|
||||
.opening-empty-overview {position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;padding:60dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);}
|
||||
.opening-empty-overview p {margin:0;font-size:34dp;color:var(--muted);text-align:center;}
|
||||
.opening-empty-overview p>span {display:block;}
|
||||
@@ -0,0 +1,118 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.planning-heading {position:absolute;left:0;right:0;top:0;height:118dp;}
|
||||
.planning-heading h2 {position:absolute;left:0;right:780dp;top:16dp;font-size:38dp;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.planning-heading p {position:absolute;left:0;right:780dp;top:71dp;font-size:26dp;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.friendlies-layout .planning-heading h2 .club-label {height:58dp;}
|
||||
.friendlies-layout .planning-heading.booking h2 {top:8.5dp;}
|
||||
.friendlies-layout .planning-heading.booking p {top:78.5dp;}
|
||||
.planning-progress {position:absolute;right:0;top:34dp;display:flex;align-items:center;gap:32dp;font-size:28dp;color:var(--muted);}
|
||||
.planning-step {display:flex;align-items:center;gap:14dp;}
|
||||
.planning-step-number {display:flex;align-items:center;justify-content:center;width:48dp;height:48dp;border:2dp var(--border);border-radius:24dp;font-size:25dp;}
|
||||
.planning-step.current {color:var(--accent);}
|
||||
.planning-step.current .planning-step-number {background-color:var(--selected);border-color:var(--accent);}
|
||||
.planning-footer {position:absolute;left:0;right:0;bottom:0;height:94dp;display:flex;gap:20dp;}
|
||||
.planning-footer button {flex:1;min-width:0;height:94dp;font-size:30dp;padding:12dp 24dp;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);}
|
||||
.postpone-summary {position:absolute;padding:22dp 28dp;top:1526dp;width:1293dp;height:200dp;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);}
|
||||
.postpone-summary.source {left:0;}
|
||||
.postpone-summary.target {right:0;}
|
||||
.postpone-summary h3 {display:block;margin:0 0 12dp;height:32dp;line-height:32dp;font-size:28dp;font-weight:normal;}
|
||||
.postpone-summary p {display:block;margin:0;font-size:26dp;line-height:1.35;}
|
||||
.postpone-summary small {display:block;margin-top:10dp;font-size:23dp;line-height:27dp;color:var(--muted);}
|
||||
.postpone-summary small.valid,.friendly-date-summary .valid {color:var(--accent);}
|
||||
.postpone-cancel {position:absolute;right:16dp;top:16dp;width:52dp;height:52dp;padding:0;font-size:36dp;background-color:transparent;border:0dp;}
|
||||
.calendar-day.friendly-date {color:#a9dccb;}
|
||||
.calendar-day .source-outline {border-color:#a9dccb;}
|
||||
.friendlies-layout .calendar-day[disabled] {opacity:0.3;}
|
||||
.friendlies-layout .calendar-day.has-match[disabled] {opacity:0.7;}
|
||||
.friendly-opponents {position:absolute;left:0;right:0;top:148dp;bottom:132dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);overflow-x:hidden;overflow-y:auto;}
|
||||
.friendly-row {display:flex;height:78dp;font-size:35dp;}
|
||||
.friendly-row.head {height:66dp;font-size:27dp;color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.friendly-row.striped {background-color:var(--soft);}
|
||||
.friendly-row.selected {background-color:var(--selected);}
|
||||
.friendly-cell {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:14%;padding:8dp 24dp;overflow:hidden;}
|
||||
.friendly-cell:first-child {width:58%;justify-content:flex-start;}
|
||||
.friendly-national-ratings {position:absolute;left:60dp;right:60dp;top:640dp;margin:0;font-size:25dp;line-height:32dp;color:var(--muted);text-align:center;}
|
||||
.friendly-opponent {display:flex;align-items:center;justify-content:flex-start;width:100%;min-width:0;padding:4dp 0;border:0dp;border-radius:6dp;background-color:transparent;font-size:35dp;}
|
||||
.friendly-opponent .club-label {min-width:0;white-space:nowrap;}
|
||||
.friendly-opponent .club-label .image-frame {flex-shrink:0;}
|
||||
.friendly-row.selected .friendly-opponent {color:var(--accent);}
|
||||
.friendly-date-summary {position:absolute;left:0;right:0;top:1606dp;height:132dp;border-top:2dp var(--border);}
|
||||
.friendly-date-summary .date-side,.friendly-date-summary .status-side {position:absolute;top:8dp;width:1268dp;height:114dp;}
|
||||
.friendly-date-summary .date-side {left:20dp;}
|
||||
.friendly-date-summary .status-side {left:1324dp;}
|
||||
.friendly-date-summary .date-side>span {position:absolute;top:22dp;font-size:24dp;color:var(--muted);}
|
||||
.friendly-date-summary .date-side p {position:absolute;top:69dp;left:0;right:0;font-size:29dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.friendly-key {display:flex;align-items:center;gap:12dp;font-size:24dp;color:var(--muted);}
|
||||
.friendly-key .league-dot,.friendly-key .friendly-dot {display:block;width:12dp;height:12dp;flex-shrink:0;border-radius:6dp;background-color:#e9cb86;}
|
||||
.friendly-key .friendly-dot {margin-left:20dp;background-color:#a9dccb;}
|
||||
.friendly-date-summary .status-side p {position:absolute;top:42dp;font-size:27dp;}
|
||||
.planning-layer {position:absolute;left:0;right:0;top:0;bottom:0;z-index:30;display:flex;align-items:center;justify-content:center;background-color:#08101980;}
|
||||
.planning-dialog {position:relative;width:1840dp;flex-shrink:0;border:2dp #e1ecf429;border-radius:22dp;background-color:#283542f5;font-size:30dp;}
|
||||
.planning-dialog h2 {position:absolute;left:52dp;right:52dp;top:40dp;height:45dp;line-height:45dp;font-size:40dp;text-align:center;font-weight:bold;}
|
||||
.friendly-dialog-club {position:absolute;top:121dp;left:52dp;right:52dp;height:209dp;display:flex;flex-direction:column;align-items:center;gap:30dp;padding:20dp 0 34dp;font-size:38dp;}
|
||||
.friendly-dialog-club>.club-label {display:flex;align-items:center;justify-content:center;gap:18dp;}
|
||||
.friendly-dialog-club>span:last-child {font-size:29dp;color:var(--muted);}
|
||||
.planning-badge {display:block;width:92dp;height:92dp;padding:10dp;border-radius:14dp;background-color:#f4f6f8;}
|
||||
.friendly-quote-amount {position:absolute;left:52dp;right:52dp;top:365dp;height:111dp;display:flex;align-items:center;justify-content:space-between;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);padding:32dp;font-size:32dp;}
|
||||
.friendly-quote-amount strong {font-size:38dp;font-weight:normal;color:var(--accent);}
|
||||
.friendly-quote-note {position:absolute;left:52dp;right:52dp;top:511dp;font-size:29dp;line-height:43.5dp;text-align:center;color:var(--muted);}
|
||||
.planning-dialog-actions {position:absolute;left:52dp;right:52dp;bottom:40dp;height:82dp;display:flex;gap:24dp;}
|
||||
.planning-dialog-actions button {flex:1;min-width:0;height:82dp;font-size:30dp;padding:12dp 24dp;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);}
|
||||
.friendly-bookings {position:absolute;left:52dp;right:52dp;top:121dp;bottom:162dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.friendly-bookings>p {font-size:29dp;line-height:43.5dp;text-align:center;}
|
||||
.friendly-booking-row {display:flex;height:80dp;font-size:29dp;}
|
||||
.friendly-booking-row.head {font-size:26dp;color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.friendly-booking-row>span {display:flex;align-items:center;flex-shrink:0;width:24%;padding:12dp 16dp;}
|
||||
.friendly-booking-row>span:nth-child(2) {width:58%;}
|
||||
.friendly-booking-row>span:nth-child(3) {width:18%;justify-content:center;}
|
||||
.planning-notice {position:absolute;left:52dp;right:52dp;top:121dp;font-size:36dp;line-height:54dp;}
|
||||
body.midnight .planning-heading h2 {color:#e0eaf2;}
|
||||
body.midnight .planning-heading p {color:#a2b8c9;}
|
||||
body.midnight .planning-dialog h2 {color:#e3ecf3;}
|
||||
body.midnight .friendly-opponents {background-color:#12243140;border-color:#c5d9e726;}
|
||||
body.midnight .friendly-row {color:#d4e0e9;}
|
||||
body.midnight .friendly-row.head {color:#9fb7c8;}
|
||||
body.midnight .friendly-row.striped {background-color:#e3edf605;}
|
||||
body.midnight .friendly-row.selected {background-color:#9acbb21a;}
|
||||
body.silver .planning-dialog {background-color:#eaf1f7fc;border-color:var(--border);}
|
||||
body.matchday .planning-dialog {background-color:#2c2c32fc;border-color:var(--border);}
|
||||
body.silver .planning-footer button,body.silver .planning-dialog-actions button {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .planning-footer button,body.matchday .planning-dialog-actions button {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.silver .calendar-day.friendly-date {color:#256a4f;}
|
||||
body.silver .calendar-day .source-outline {border-color:#256a4f;}
|
||||
|
||||
.postpone-layout .planning-heading {height:100dp;}
|
||||
.postpone-layout .planning-heading h2 {top:11dp;font-size:34dp;}
|
||||
.postpone-layout .planning-heading p {top:60dp;font-size:25dp;}
|
||||
.postpone-layout .planning-progress {top:26dp;font-size:29dp;gap:34dp;}
|
||||
.postpone-layout .planning-step-number {font-size:26dp;}
|
||||
.postpone-summary.selected-source {padding-right:90dp;border-color:var(--accent);}
|
||||
.postpone-layout .planning-footer button {font-size:29dp;}
|
||||
#postpone-move:not([disabled]) {color:var(--accent);background-color:var(--selected);border-color:var(--accent);}
|
||||
body.midnight .postpone-layout .planning-heading h2 {color:#dce8f1;}
|
||||
body.midnight .postpone-layout .planning-heading p {color:#9fb8ca;}
|
||||
body.midnight .postpone-summary {border-color:#c5d9e726;background-color:#12243140;}
|
||||
body.midnight .postpone-summary h3 {color:#c9dce9;}
|
||||
body.midnight .postpone-summary p {color:#afc5d5;}
|
||||
body.midnight .postpone-summary small {color:#8faabc;}
|
||||
body.midnight .postpone-summary .valid {color:#a9dccb;}
|
||||
body.midnight .postpone-summary.selected-source {border-color:#a9dccb57;}
|
||||
body.midnight .friendly-quote-amount strong {color:#f7e7ac;}
|
||||
|
||||
.planning-dialog.undo-blocked {width:2484dp;}
|
||||
.planning-dialog.undo-blocked h2 {font-size:42dp;height:48dp;line-height:48dp;color:var(--text);}
|
||||
.planning-dialog.undo-blocked .planning-notice {top:124dp;}
|
||||
.planning-dialog.undo-blocked .planning-dialog-actions {height:65dp;}
|
||||
.planning-dialog.undo-blocked .planning-dialog-actions button {height:65dp;font-size:32dp;}
|
||||
body.midnight .planning-dialog.undo-blocked h2 {color:#eff0d6;}
|
||||
|
||||
/* Quoted amounts are money, independently of the skin accent. */
|
||||
body .friendly-quote-amount strong.money-amount {color:var(--money);}
|
||||
|
||||
/* A saved friendly remains semantically green in the club calendar. */
|
||||
body .report-underlay .calendar-day.friendly-date {color:#a9dccb;}
|
||||
body.silver .report-underlay .calendar-day.friendly-date {color:#256a4f;}
|
||||
.engine-national-opponents {position:absolute;left:0;right:0;top:150dp;bottom:140dp;overflow-x:hidden;overflow-y:auto;}
|
||||
.engine-national-friendlies .national-opponent {flex-direction:column;justify-content:center;align-items:center;padding:32dp;gap:22dp;font-size:38dp;}
|
||||
.engine-national-friendlies .national-opponent strong {display:flex;align-items:center;justify-content:center;text-align:center;font-size:38dp;font-weight:normal;min-height:120dp;width:100%;}
|
||||
.engine-national-friendlies .national-opponent .image-frame {flex-shrink:0;}
|
||||
@@ -0,0 +1,122 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.postmatch {position:absolute;left:0;right:0;top:0;bottom:0;display:flex;flex-direction:column;gap:30dp;font-size:34dp;line-height:1.3;color:var(--text);}
|
||||
.postmatch h2,.postmatch h3,.postmatch p,.postmatch ol {margin:0;}
|
||||
.postmatch h2>span,.postmatch h3>span,.postmatch p>span {display:block;min-width:0;}
|
||||
.postmatch button {font-size:30dp;font-weight:normal;color:var(--text);background-color:transparent;}
|
||||
.postmatch button[disabled] {opacity:.35;}
|
||||
.postmatch button:hover,.postmatch button:focus-visible {background-color:var(--hover);}
|
||||
.postmatch .selected {background-color:var(--selected);color:var(--accent);}
|
||||
.postmatch-heading {display:flex;align-items:center;justify-content:space-between;gap:28dp;min-height:130dp;flex-shrink:0;}
|
||||
.postmatch-heading>div {flex:1;min-width:0;}
|
||||
.postmatch-heading p {font-size:28dp;color:var(--muted);margin-bottom:10dp;}
|
||||
.postmatch-heading h2 {font-size:54dp;font-weight:normal;letter-spacing:-1dp;}
|
||||
.postmatch-pickers {width:900dp;height:84dp;display:flex;gap:18dp;flex-shrink:0;}
|
||||
.postmatch-pickers select {flex:1;min-width:0;height:84dp;font-size:30dp;}
|
||||
.postmatch-tabs {display:flex;gap:8dp;flex-shrink:0;padding:8dp;border-radius:22dp;background-color:var(--panel);border:1dp var(--border);}
|
||||
.postmatch-tabs button {flex:1;min-width:0;height:84dp;border:0;border-radius:16dp;padding:22dp 12dp;white-space:nowrap;color:var(--muted);}
|
||||
.postmatch-tabs button.selected {color:var(--text);}
|
||||
.postmatch-panel {position:relative;min-height:0;flex:1;display:flex;flex-direction:column;}
|
||||
.postmatch-actions {position:relative;display:flex;align-items:center;justify-content:flex-start;gap:32dp;min-height:84dp;flex-shrink:0;}
|
||||
.postmatch-actions button {min-width:330dp;height:84dp;font-size:32dp;border:2dp var(--border);background-color:var(--soft);}
|
||||
.postmatch-actions button:last-child {background-color:var(--selected);border-color:var(--accent);}
|
||||
.postmatch-status {position:absolute;left:30%;top:0;width:40%;height:84dp;line-height:84dp;font-size:26dp;text-align:center;color:var(--muted);pointer-events:none;}
|
||||
#postmatch-ticker {margin-left:auto;}
|
||||
.postmatch-team {display:flex;align-items:center;gap:24dp;flex:1;min-width:0;}
|
||||
.postmatch-team-name {display:block;min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.postmatch-team.home .postmatch-team-name {text-align:right;}
|
||||
.postmatch-team.away .postmatch-team-name {text-align:left;}
|
||||
.postmatch-team>.live-badge {flex-shrink:0;}
|
||||
.postmatch-results-head {display:flex;align-items:center;gap:18dp;padding:0 35dp 20dp;font-size:26dp;color:var(--muted);flex-shrink:0;}
|
||||
.postmatch-results-head .home,.postmatch-results-head .away {flex:1;text-align:center;}
|
||||
.postmatch-results-head .score {width:160dp;text-align:center;flex-shrink:0;}
|
||||
.postmatch-results {min-height:0;flex:1;overflow-y:auto;}
|
||||
.postmatch .postmatch-result-row {width:100%;min-height:116dp;border:0;border-top:1dp var(--border);border-radius:14dp;padding:15dp 35dp;display:flex;align-items:center;gap:18dp;font-size:34dp;}
|
||||
.postmatch-result-row:nth-child(odd) {background-color:var(--panel);}
|
||||
.postmatch-result-score {width:160dp;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:22dp;font-size:46dp;font-weight:normal;}
|
||||
.postmatch-result-score .separator {font-size:32dp;color:var(--muted);}
|
||||
.postmatch .postmatch-own {color:var(--accent);}
|
||||
.postmatch-scope-note {font-size:26dp;color:var(--muted);line-height:1.4;flex-shrink:0;margin-top:18dp;}
|
||||
.postmatch-report {min-height:0;height:100%;display:flex;flex-direction:column;gap:24dp;}
|
||||
.postmatch-report-teams {display:flex;align-items:flex-start;gap:30dp;flex-shrink:0;}
|
||||
.postmatch-report-teams>div {flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:18dp;text-align:center;}
|
||||
.postmatch-report-teams strong {font-size:38dp;font-weight:normal;}
|
||||
.postmatch-report-teams strong>span {display:block;}
|
||||
.postmatch-report-teams>.postmatch-report-score {width:340dp;height:140dp;flex:none;flex-direction:row;align-items:center;justify-content:center;gap:30dp;font-size:100dp;}
|
||||
.postmatch-report-score>.separator {font-size:55dp;color:var(--muted);}
|
||||
.postmatch-report-meta {font-size:26dp;color:var(--muted);text-align:center;flex-shrink:0;}
|
||||
.postmatch-event-columns {display:flex;gap:70dp;min-height:0;flex:1;overflow-y:auto;}
|
||||
.postmatch-event-column {width:50%;min-width:0;padding:0;}
|
||||
.postmatch-event-column+.postmatch-event-column {border-left:1dp var(--border);padding-left:70dp;}
|
||||
.postmatch .postmatch-event {display:flex;width:100%;align-items:center;gap:25dp;border:0;border-radius:12dp;text-align:left;padding:17dp 10dp;font-size:30dp;}
|
||||
.postmatch-event-time {width:75dp;flex-shrink:0;font-size:28dp;color:var(--muted);}
|
||||
.postmatch-event>.image-frame {flex-shrink:0;}
|
||||
.postmatch-event-copy {flex:1;min-width:0;display:flex;flex-direction:column;gap:4dp;}
|
||||
.postmatch-event-copy>strong {font-weight:normal;}
|
||||
.postmatch-event-copy>span {font-size:26dp;color:var(--muted);}
|
||||
.postmatch-no-events {padding:35dp 10dp;font-size:28dp;color:var(--muted);}
|
||||
.postmatch-timeline {display:flex;gap:25dp;padding:10dp 20dp 0;flex-shrink:0;}
|
||||
.postmatch-timeline-teams {width:440dp;flex-shrink:0;display:flex;flex-direction:column;font-size:25dp;}
|
||||
.postmatch-timeline-teams>span {height:65dp;line-height:65dp;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.postmatch-timeline-tracks {flex:1;min-width:0;}
|
||||
.postmatch-track {height:65dp;position:relative;border-bottom:1dp var(--border);background-color:var(--panel);}
|
||||
.postmatch .postmatch-marker {position:absolute;top:50%;transform:translate(-50%,-50%);width:48dp;height:48dp;min-width:0;padding:4dp;border:0;border-radius:10dp;opacity:.22;}
|
||||
.postmatch-marker.is-visible {opacity:1;}
|
||||
.postmatch-ticks {display:flex;justify-content:space-between;padding-top:12dp;font-size:24dp;color:var(--muted);}
|
||||
.postmatch-seek {display:flex;align-items:center;gap:25dp;padding:0 20dp;flex-shrink:0;}
|
||||
.postmatch-seek>button {width:380dp;border:1dp var(--border);border-radius:12dp;background-color:var(--soft);padding:18dp;font-size:28dp;}
|
||||
.postmatch-seek input {flex:1;min-width:0;height:50dp;margin:0;padding:0;border:0;background-color:transparent;}
|
||||
.postmatch-seek>span {width:85dp;text-align:right;font-size:30dp;color:var(--accent);}
|
||||
.postmatch-recorded-note {font-size:24dp;color:var(--muted);text-align:center;flex-shrink:0;}
|
||||
.postmatch-fixture-nav {display:flex;justify-content:space-between;align-items:center;gap:24dp;padding-top:20dp;border-top:1dp var(--border);flex-shrink:0;}
|
||||
.postmatch-fixture-nav>span {flex:1;min-width:0;font-size:25dp;text-align:center;color:var(--muted);}
|
||||
.postmatch-fixture-nav>button {min-height:65dp;font-size:26dp;white-space:nowrap;}
|
||||
.postmatch-eleven {display:flex;gap:75dp;flex:1;min-height:0;}
|
||||
.postmatch-pitch {width:45%;height:100%;min-width:0;border:2dp var(--border);border-radius:26dp;background-color:#31595077;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:35dp;padding:45dp;}
|
||||
.postmatch-pitch p {font-size:30dp;color:var(--text);text-align:center;}
|
||||
.postmatch-eleven-list {flex:1;min-width:0;overflow-y:auto;padding-top:60dp;}
|
||||
.postmatch-eleven-list h3 {font-size:42dp;font-weight:normal;margin-bottom:35dp;}
|
||||
.postmatch-eleven-list p {font-size:32dp;line-height:1.6;margin-bottom:35dp;color:var(--muted);}
|
||||
.postmatch-overview {display:flex;flex-direction:column;justify-content:center;gap:55dp;flex:1;min-height:0;}
|
||||
.postmatch-total-grid {display:flex;flex-wrap:wrap;gap:35dp;}
|
||||
.postmatch-total {width:48%;flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20dp;min-height:405dp;border:1dp var(--border);border-radius:28dp;background-color:var(--panel);}
|
||||
.postmatch-total strong {font-size:100dp;font-weight:normal;letter-spacing:-2dp;}
|
||||
.postmatch-total strong>span {display:block;}
|
||||
.postmatch-total>span {font-size:32dp;}
|
||||
.postmatch-overview>p {font-size:28dp;color:var(--muted);text-align:center;}
|
||||
.postmatch-table-note {font-size:25dp;color:var(--muted);margin-bottom:20dp;flex-shrink:0;}
|
||||
.postmatch-table-scroll {min-height:0;flex:1;overflow-y:auto;}
|
||||
.postmatch-table-row {display:flex;align-items:center;min-height:65dp;border-bottom:1dp var(--border);font-size:30dp;}
|
||||
.postmatch-table-row>span {flex:1;min-width:0;text-align:center;}
|
||||
.postmatch-table-row>span:nth-child(1) {width:85dp;flex:none;}
|
||||
.postmatch-table-row>span:nth-child(2) {width:790dp;flex:none;text-align:left;}
|
||||
.postmatch-table-row>span:nth-child(7) {width:180dp;flex:none;}
|
||||
.postmatch-table-row .postmatch-team {font-size:29dp;gap:20dp;}
|
||||
.postmatch-table-row.heading {color:var(--muted);background-color:var(--panel);}
|
||||
.postmatch-table-row:nth-child(even) {background-color:var(--panel);}
|
||||
.postmatch-dialog {width:2484dp;}
|
||||
.postmatch-dialog h2 {text-align:center;width:100%;}
|
||||
|
||||
.postmatch-event-column li {display:block;}
|
||||
/* Same portrait field/list geometry for supplied records and the honest empty state. */
|
||||
.postmatch-pitch-holder {position:relative;width:46%;height:100%;min-height:0;flex-shrink:0;}
|
||||
.postmatch-pitch-surface {position:absolute;overflow:hidden;border-radius:26dp;background-color:#31595077;}
|
||||
.postmatch-pitch-art {position:absolute;left:0;top:0;}
|
||||
.postmatch .postmatch-field-player {position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:10dp;width:160dp;padding:0;border:0;border-radius:15dp;background-color:transparent;text-align:center;}
|
||||
.postmatch-field-badge {display:flex;align-items:center;justify-content:center;width:82dp;height:82dp;border-radius:41dp;background-color:var(--panel);}
|
||||
.postmatch-field-player strong {width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:24dp;font-weight:normal;}
|
||||
.postmatch-field-player strong>span {display:block;}
|
||||
.postmatch-eleven-list {padding-top:0;}
|
||||
.postmatch-eleven-list ol {padding:0;}
|
||||
.postmatch-eleven-notice {font-size:24dp;line-height:1.3;margin-bottom:18dp;}
|
||||
.postmatch-nominee-row {display:flex;align-items:center;gap:30dp;min-height:99dp;border-bottom:1dp var(--border);padding:10dp 0;}
|
||||
.postmatch-position {font-size:23dp;background-color:var(--panel);border:1dp var(--border);border-radius:12dp;padding:12dp;min-width:90dp;text-align:center;}
|
||||
.postmatch-nominee-copy {display:flex;flex-direction:column;gap:8dp;min-width:0;flex:1;}
|
||||
.postmatch .postmatch-nominee-name {border:0;padding:0;justify-content:flex-start;text-align:left;font-size:31dp;}
|
||||
.postmatch .postmatch-nominee-club {display:flex;align-items:center;gap:15dp;border:0;padding:0;justify-content:flex-start;font-size:25dp;color:var(--muted);}
|
||||
.postmatch-nominee-club .live-badge {flex-shrink:0;}
|
||||
.postmatch-player-summary {display:flex;flex-direction:column;align-items:center;gap:28dp;text-align:center;}
|
||||
.postmatch-player-facts {display:flex;flex-wrap:wrap;gap:25dp;}
|
||||
.postmatch-player-facts>div {width:47%;flex-grow:1;display:flex;flex-direction:column;align-items:center;gap:15dp;padding:30dp;border:1dp var(--border);border-radius:18dp;}
|
||||
.postmatch-player-facts dt {font-size:30dp;color:var(--muted);}
|
||||
.postmatch-player-facts dd {margin:0;font-size:60dp;font-weight:normal;}
|
||||
.postmatch-detail-result {text-align:center;margin:28dp 0;font-size:34dp;}
|
||||
@@ -0,0 +1,134 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.rankings-scorers,.rankings-fairplay {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.rankings-heading {height:92dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;}
|
||||
.rankings-heading>div {display:flex;align-items:baseline;gap:24dp;min-width:0;flex:1;}
|
||||
.rankings-heading h2 {font-size:38dp;font-weight:normal;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.rankings-heading span {font-size:28dp;white-space:nowrap;flex-shrink:0;}
|
||||
.rankings-heading p {font-size:24dp;color:var(--muted);white-space:nowrap;flex-shrink:0;}
|
||||
.rankings-tabs {position:absolute;left:0;right:0;top:104dp;height:106dp;display:flex;gap:8dp;border-bottom:2dp var(--border);}
|
||||
.rankings-tab {position:relative;display:flex;align-items:center;justify-content:center;gap:20dp;flex:1;min-width:0;padding:0;border:0dp;border-radius:12dp 12dp 0dp 0dp;background-color:transparent;font-size:34dp;font-weight:normal;}
|
||||
.rankings-tab:hover {background-color:var(--hover);}
|
||||
.rankings-tab[aria-selected=true] {background-color:#8dbfaf0e;color:#c7eadf;}
|
||||
.rankings-tab-underline {display:none;position:absolute;left:28dp;right:28dp;bottom:-2dp;height:5dp;border-radius:5dp 5dp 0dp 0dp;background-color:#a9dccb;}
|
||||
.rankings-tab[aria-selected=true] .rankings-tab-underline {display:block;}
|
||||
.rankings-tab-icon {display:flex;align-items:center;justify-content:center;width:34dp;height:34dp;flex-shrink:0;}
|
||||
.rankings-card-icon {display:block;width:24dp;height:34dp;border-radius:4dp;transform:rotate(-7deg);}
|
||||
.rankings-card-icon.yellow {background-color:#e0c56e;}
|
||||
.rankings-card-icon.red {background-color:#dc8078;}
|
||||
.rankings-panel {position:absolute;left:0;right:0;top:244dp;bottom:148dp;}
|
||||
.rankings-leaders {display:flex;gap:24dp;height:320dp;}
|
||||
.rankings-leader {position:relative;display:flex;align-items:center;gap:20dp;width:854.666667dp;flex-shrink:0;min-width:0;height:320dp;padding:58dp 28dp 26dp;border:2dp var(--border);border-radius:18dp;decorator:linear-gradient(145deg,#b7d4e90a,#12233242);}
|
||||
.rankings-leader.first {border-color:#a9dccb5e;decorator:linear-gradient(145deg,#a9dccb12,#12233242);}
|
||||
.rankings-leader-rank {position:absolute;left:28dp;top:22dp;font-size:26dp;color:var(--muted);}
|
||||
.rankings-leader-person {display:flex;flex-direction:column;gap:24dp;flex:1;min-width:0;}
|
||||
.rankings-player-button {display:flex;align-items:center;gap:26dp;width:100%;min-width:0;padding:0;border:0dp;border-radius:10dp;background-color:transparent;text-align:left;font-size:34dp;}
|
||||
.rankings-player-button:hover {background-color:transparent;}
|
||||
.rankings-player-button:focus-visible {background-color:var(--hover);}
|
||||
.rankings-player-name {display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.rankings-photo {display:block;flex-shrink:0;border:2dp var(--border);border-radius:44dp;overflow:hidden;background-color:var(--panel);}
|
||||
.rankings-leader .rankings-photo {border-radius:63dp;}
|
||||
.rankings-photo .image-frame {max-width:100%;max-height:100%;}
|
||||
.rankings-leader .rankings-player-button {gap:22dp;font-size:36dp;line-height:41.4dp;}
|
||||
.rankings-leader .rankings-player-name {white-space:normal;max-height:124.2dp;overflow:hidden;}
|
||||
.rankings-club-button {display:flex;align-items:center;width:100%;min-width:0;max-width:100%;padding:0;border:0dp;background-color:transparent;color:var(--muted);text-align:left;font-size:36dp;}
|
||||
.rankings-club-button.current {color:var(--accent);}
|
||||
.rankings-club-button:hover {background-color:transparent;}
|
||||
.rankings-club-button:focus-visible {background-color:var(--hover);}
|
||||
.rankings-club-button .club-label {width:100%;min-width:0;max-width:100%;gap:12dp;}
|
||||
.rankings-club-button .image-frame {flex-shrink:0;}
|
||||
.rankings-club-button .club-label>span {display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.rankings-leader .rankings-club-button {font-size:26dp;}
|
||||
.rankings-leader-value {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14dp;width:146dp;flex-shrink:0;}
|
||||
.rankings-leader-value strong {font-size:88dp;font-weight:normal;line-height:88dp;}
|
||||
.rankings-leader-value>span {font-size:24dp;line-height:28.8dp;color:var(--muted);text-align:center;}
|
||||
.kind-2 .rankings-leader-value strong {color:#e0c98b;}
|
||||
.kind-3 .rankings-leader-value strong {color:#e3aaa2;}
|
||||
.rankings-scorer-list {position:absolute;left:0;right:0;top:352dp;bottom:0;border:2dp var(--border);border-radius:18dp;background-color:#13263526;overflow-x:hidden;overflow-y:auto;}
|
||||
.rankings-table {width:100%;}
|
||||
.rankings-row {display:flex;align-items:stretch;height:118dp;font-size:36dp;}
|
||||
.rankings-row>div {display:flex;align-items:center;flex:1;min-width:0;padding:12dp 28dp;overflow:hidden;}
|
||||
.rankings-row>div:first-child {width:47%;flex:none;}
|
||||
.rankings-row>div:last-child {width:290dp;flex:none;justify-content:center;}
|
||||
.rankings-cell-value {display:block;width:100%;min-width:0;white-space:nowrap;}
|
||||
.rankings-row>div:last-child .rankings-cell-value,.rankings-fair-row>div:not(:first-child) .rankings-cell-value {text-align:center;}
|
||||
.rankings-row.rankings-head {height:74dp;font-size:28dp;}
|
||||
.rankings-head {color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.rankings-row.striped,.rankings-fair-row.striped {background-color:var(--soft);}
|
||||
.rankings-row:hover,.rankings-fair-row:hover {background-color:var(--hover);}
|
||||
.rankings-rest-player {gap:24dp;}
|
||||
.rankings-rest-player .rankings-player-button {flex:1;}
|
||||
.rankings-scorer-list .rankings-player-button,.rankings-scorer-list .rankings-club-button {padding:2dp 6dp;color:var(--text);}
|
||||
.rankings-scorer-list .rankings-club-button.current {color:var(--accent);}
|
||||
.rankings-rank {display:block;width:64dp;flex-shrink:0;font-size:30dp;color:var(--muted);text-align:right;}
|
||||
.rankings-footer .report-picker-trigger {font-size:30dp;}
|
||||
.rankings-own-club {display:flex;align-items:center;width:1725.333333dp;height:94dp;max-width:1725.333333dp;padding-right:28dp;font-size:32dp;}
|
||||
.rankings-own-club .club-label {min-width:0;max-width:1100dp;gap:14dp;}
|
||||
.rankings-own-club .club-label>span {white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.rankings-empty {padding:28dp;font-size:30dp;color:var(--muted);}
|
||||
.rankings-fair-heading {height:100dp;display:flex;align-items:center;justify-content:space-between;gap:24dp;font-size:30dp;color:var(--muted);}
|
||||
.rankings-fair-heading>div {display:flex;gap:20dp;}
|
||||
.rankings-fair-heading span {padding:12dp 20dp;border:2dp var(--border);border-radius:12dp;background-color:var(--panel);white-space:nowrap;}
|
||||
.rankings-yellow {color:#e0cc92;}
|
||||
.rankings-red {color:#dfa69d;}
|
||||
.rankings-fair-list {position:absolute;left:0;right:0;top:130dp;bottom:0;border:2dp var(--border);border-radius:18dp;background-color:#12243140;overflow-x:hidden;overflow-y:auto;}
|
||||
.rankings-fair-row {display:flex;align-items:stretch;height:66dp;font-size:36dp;}
|
||||
.rankings-fair-row>div {display:flex;align-items:center;justify-content:center;width:15%;flex-shrink:0;min-width:0;padding:7dp 14dp;overflow:hidden;}
|
||||
.rankings-fair-row>div:first-child {width:55%;justify-content:flex-start;gap:14dp;}
|
||||
.rankings-fair-row>div:nth-child(2) {color:#e0cc92;}
|
||||
.rankings-fair-row>div:nth-child(3) {color:#dfa69d;}
|
||||
.rankings-fair-row:not(.rankings-head)>div:last-child {color:var(--accent);}
|
||||
.rankings-fair-rank {display:block;width:64dp;flex-shrink:0;text-align:right;}
|
||||
.rankings-fair-row .report-club-button {min-width:0;max-width:100%;}
|
||||
.rankings-fair-row.rankings-head {font-size:30dp;}
|
||||
body.midnight .rankings-row.striped,body.midnight .rankings-fair-row.striped {background-color:#e3edf605;}
|
||||
body.midnight .rankings-row,body.midnight .rankings-fair-row {color:#d8e0e8;}
|
||||
body.midnight .rankings-head {color:#a0aebc;}
|
||||
.rankings-fair-row .report-club-button {color:var(--text);}
|
||||
.rankings-fair-row .report-club-button.current {color:var(--accent);}
|
||||
body.midnight .rankings-row:hover,body.midnight .rankings-fair-row:hover {background-color:#bad5f20d;}
|
||||
body.silver .rankings-tab[aria-selected=true] {background-color:#a3c3dd54;color:#193b52;}
|
||||
body.silver .rankings-tab-underline {background-color:#a3c3dd54;}
|
||||
body.silver .rankings-leader {background-color:#f1f6fa80;decorator:none;}
|
||||
body.silver .rankings-leader.first {border-color:#356f966e;decorator:linear-gradient(145deg,#a9dccb12,#12233242);}
|
||||
body.silver .rankings-scorer-list,body.silver .rankings-fair-list {background-color:#42627d09;}
|
||||
body.silver .kind-2 .rankings-leader-value strong,body.silver .kind-3 .rankings-leader-value strong {color:#193b52;}
|
||||
body.silver .rankings-yellow,body.silver .rankings-fair-row>div:nth-child(2) {color:#805b18;}
|
||||
body.silver .rankings-red,body.silver .rankings-fair-row>div:nth-child(3) {color:#a23f45;}
|
||||
body.matchday .rankings-tab[aria-selected=true] {background-color:#d48c7b26;color:#ffe5de;}
|
||||
body.matchday .rankings-tab-underline {background-color:#d48c7b26;}
|
||||
body.matchday .rankings-leader {background-color:#1d1e2466;decorator:none;}
|
||||
body.matchday .rankings-leader.first {border-color:#e5a19770;decorator:linear-gradient(145deg,#a9dccb12,#12233242);}
|
||||
body.matchday .rankings-scorer-list,body.matchday .rankings-fair-list {background-color:#f8e7e00a;}
|
||||
body.matchday .kind-2 .rankings-leader-value strong,body.matchday .kind-3 .rankings-leader-value strong {color:#ffe5de;}
|
||||
body.matchday .rankings-yellow,body.matchday .rankings-fair-row>div:nth-child(2) {color:#e1c68b;}
|
||||
body.matchday .rankings-red,body.matchday .rankings-fair-row>div:nth-child(3) {color:#f0a6a7;}
|
||||
|
||||
/* Midnight component fallbacks from the current HTML reference. */
|
||||
body.midnight .rankings-heading h2 {color:#e3ecf3;}
|
||||
body.midnight .rankings-heading span {color:#a7becf;}
|
||||
body.midnight .rankings-heading p {color:#8fa8ba;}
|
||||
body.midnight .rankings-tab {color:#aebfcd;}
|
||||
body.midnight .rankings-tab[aria-selected=true] {color:#c7eadf;}
|
||||
body.midnight .rankings-leader {border-color:#c6dce82b;}
|
||||
body.midnight .rankings-leader.first {border-color:#a9dccb5e;}
|
||||
body.midnight .rankings-leader-rank {color:#9eb5c5;}
|
||||
body.midnight .rankings-leader .rankings-player-button {color:#e0ebf3;}
|
||||
body.midnight .rankings-leader .rankings-club-button {color:#a6bdce;}
|
||||
body.midnight .rankings-leader-value strong {color:#e0ecf5;}
|
||||
body.midnight .kind-2 .rankings-leader-value strong {color:#e0c98b;}
|
||||
body.midnight .kind-3 .rankings-leader-value strong {color:#e3aaa2;}
|
||||
body.midnight .rankings-leader-value>span {color:#9fb8c9;}
|
||||
body.midnight .rankings-scorer-list,body.midnight .rankings-fair-list {border-color:#c5d9e726;}
|
||||
body.midnight .rankings-fair-row:not(.rankings-head)>div:last-child {color:#b8dbd0;}
|
||||
.rankings-leader .rankings-club-button.current {color:var(--muted);}
|
||||
body.midnight .rankings-leader .rankings-club-button.current {color:#a6bdce;}
|
||||
|
||||
body.midnight .rankings-scorer-list .rankings-player-button,body.midnight .rankings-scorer-list .rankings-club-button,body.midnight .rankings-fair-row .report-club-button {color:#d8e0e8;}
|
||||
body.midnight .rankings-scorer-list .rankings-club-button.current,body.midnight .rankings-fair-row .report-club-button.current {color:#a9dccb;}
|
||||
|
||||
.rankings-scorer-list .rankings-club-button .club-label {gap:14dp;}
|
||||
body.silver .rankings-fair-list,body.matchday .rankings-fair-list {background-color:var(--panel);}
|
||||
body.silver .rankings-row.striped,body.silver .rankings-fair-row.striped {background-color:#42627d09;}
|
||||
body.matchday .rankings-row.striped,body.matchday .rankings-fair-row.striped {background-color:#f8e7e00a;}
|
||||
/* Match the selected footer caption in the open menu, at every UI density. */
|
||||
.rankings-footer .report-picker-popup .report-picker-option {font-size:30dp;}
|
||||
@@ -0,0 +1,53 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Local to the 2612 x 1864 logical menu-content area, matching the HTML dialog layer. */
|
||||
.report-detail-layer {position:absolute;left:0;top:0;width:100%;height:100%;z-index:30;display:flex;align-items:center;justify-content:center;background-color:#08101980;}
|
||||
.report-detail-card {position:relative;flex-shrink:0;width:2484dp;height:860dp;border:2dp #e1ecf429;border-radius:22dp;background-color:#283542f5;color:#dce3e9;font-size:36dp;}
|
||||
.report-detail-card h2 {position:absolute;left:52dp;right:52dp;top:40dp;height:48dp;line-height:48dp;margin:0;text-align:center;font-size:42dp;font-weight:bold;letter-spacing:-0.4dp;color:#eff0d6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.report-detail-badge {position:absolute;left:50%;top:123dp;width:220dp;height:220dp;margin-left:-110dp;padding:14dp;border-radius:18dp;background-color:#f4f6f8;overflow:hidden;}
|
||||
.report-detail-note {position:absolute;left:52dp;right:52dp;top:371dp;height:42dp;line-height:42dp;margin:0;text-align:center;font-size:28dp;color:#a4b5c5;}
|
||||
.report-detail-values {display:block;position:absolute;left:52dp;right:52dp;top:448dp;height:258dp;margin:0;}
|
||||
.report-detail-field {position:absolute;left:0;right:0;height:42dp;}
|
||||
.report-detail-values dt,.report-detail-values dd {display:block;position:absolute;top:0;height:42dp;line-height:42dp;margin:0;font-size:36dp;white-space:normal;}
|
||||
.report-detail-values dt {left:0;width:1173dp;}
|
||||
.report-detail-values dd {right:0;width:1173dp;text-align:right;color:#f7e7ac;}
|
||||
.report-detail-actions {position:absolute;left:52dp;right:52dp;bottom:40dp;height:65dp;display:flex;gap:70dp;}
|
||||
.report-detail-actions .report-detail-action {flex:1;min-width:0;height:65dp;padding:12dp 24dp;border:2dp #d4e0ec29;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);font-size:32dp;line-height:37dp;font-weight:normal;color:#e0e6ec;}
|
||||
.report-detail-actions .report-detail-action:hover {decorator:none;background-color:#d0e2f226;}
|
||||
.report-detail-actions .report-detail-action:focus-visible {border-color:var(--accent);}
|
||||
.report-detail-roster {height:1227dp;}
|
||||
.report-detail-roster-scroll {position:absolute;left:52dp;right:52dp;top:123dp;height:950dp;overflow:auto;}
|
||||
.report-detail-table {display:table;width:100%;font-size:34dp;color:#d7e5cf;}
|
||||
.report-detail-row {display:table-row;}
|
||||
.report-detail-cell {display:table-cell;width:16%;height:66dp;padding:6dp 16dp;vertical-align:middle;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.report-detail-cell:first-child {width:52%;text-align:left;}
|
||||
.report-detail-table-head {color:#91bd72;}
|
||||
.report-detail-table-head .report-detail-cell {border-bottom:4dp #4e8b7b;}
|
||||
.report-detail-striped {background-color:#38706b19;}
|
||||
.report-detail-player-link {max-width:100%;padding:2dp 6dp;border:0dp;border-radius:0dp;background-color:transparent;font-size:34dp;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.report-detail-player-link.control-button {justify-content:flex-start;}
|
||||
.report-detail-player-link:hover {background-color:#ffffff1a;}
|
||||
.report-detail-player-link:focus-visible {color:var(--accent);background-color:var(--selected);}
|
||||
.report-detail-empty {margin-top:30dp;text-align:center;color:var(--muted);font-size:32dp;}
|
||||
.report-detail-player {width:1960dp;height:988.667dp;}
|
||||
.report-detail-player h2 {color:#e5edf3;}
|
||||
.report-detail-portrait {position:absolute;left:52dp;top:123dp;width:500dp;height:666.667dp;border:2dp #c5d9e72b;border-radius:18dp;overflow:hidden;}
|
||||
.report-detail-photo-caption {position:absolute;left:52dp;top:807.667dp;width:500dp;height:27dp;line-height:27dp;margin:0;text-align:center;font-size:23dp;color:#a8bece;}
|
||||
.report-detail-player .report-detail-values {left:612dp;right:52dp;top:314.333dp;height:329dp;}
|
||||
.report-detail-player .report-detail-field,.report-detail-player .report-detail-values dt,.report-detail-player .report-detail-values dd {height:37dp;line-height:37dp;font-size:32dp;}
|
||||
.report-detail-player .report-detail-values dt {width:220dp;}
|
||||
.report-detail-player .report-detail-values dd {width:1047dp;color:#d6e5ed;}
|
||||
body.silver .report-detail-card {background-color:#eaf1f7fc;border-color:var(--border);color:var(--text);}
|
||||
body.matchday .report-detail-card {background-color:#2c2c32fc;border-color:var(--border);color:var(--text);}
|
||||
body.silver .report-detail-card h2,body.matchday .report-detail-card h2 {color:var(--text);}
|
||||
body.silver .report-detail-values dd,body.matchday .report-detail-values dd {color:var(--accent);}
|
||||
body.silver .report-detail-player .report-detail-values dd,body.matchday .report-detail-player .report-detail-values dd {color:var(--text);}
|
||||
body.silver .report-detail-photo-caption,body.matchday .report-detail-photo-caption {color:var(--text);}
|
||||
body.silver .report-detail-actions .report-detail-action {border-color:var(--border);color:var(--text);decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .report-detail-actions .report-detail-action {border-color:var(--border);color:var(--text);decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.silver .report-detail-actions .report-detail-action:hover,body.matchday .report-detail-actions .report-detail-action:hover {decorator:none;background-color:var(--hover);}
|
||||
body.silver .report-detail-table,body.matchday .report-detail-table {color:var(--text);}
|
||||
body.silver .report-detail-striped {background-color:#42627d09;}
|
||||
body.matchday .report-detail-striped {background-color:#f8e7e00a;}
|
||||
|
||||
.report-detail-indoor-info {height:332dp;}
|
||||
.report-detail-info-text {position:absolute;left:52dp;right:52dp;top:124dp;height:54dp;line-height:54dp;margin:0;font-size:36dp;}
|
||||
@@ -0,0 +1,24 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Coordinates are local to the report footer, not to the complete menu. */
|
||||
.report-picker-wrapper {position:absolute;bottom:0;height:94dp;overflow:visible;}
|
||||
.report-picker-wrapper .report-picker-trigger {display:flex;align-items:center;justify-content:space-between;gap:20dp;width:100%;height:94dp;padding:12dp 24dp;border:2dp #d4e0ec29;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);color:#e0e6ec;font-size:32dp;font-weight:normal;text-align:left;}
|
||||
.report-picker-label {display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.report-picker-arrow {display:block;position:relative;flex-shrink:0;width:32dp;height:32dp;pointer-events:none;}
|
||||
.report-picker-arrow span {display:block;position:absolute;left:10dp;top:6dp;width:12dp;height:12dp;border-bottom:3dp #a8b8c8;border-right:3dp #a8b8c8;transform:rotate(45deg);}
|
||||
.report-picker-wrapper .report-picker-trigger:hover {decorator:none;background-color:#d0e2f226;}
|
||||
.report-picker-popup {position:absolute;left:0;right:0;bottom:108dp;z-index:20;max-height:740dp;overflow-y:auto;overflow-x:hidden;padding:10dp;border:2dp #d9e8f13d;border-radius:18dp;background-color:#293744fa;}
|
||||
.report-picker-popup .report-picker-option {display:flex;align-items:center;justify-content:flex-start;gap:12dp;flex:none;width:100%;height:72dp;min-height:72dp;padding:10dp 14dp;border:0dp;border-radius:10dp;background-color:transparent;color:#e0e6ec;font-size:32dp;line-height:1.3;text-align:left;white-space:nowrap;}
|
||||
.report-picker-option-label {display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.report-picker-check-slot {display:block;position:relative;flex-shrink:0;width:34dp;height:42dp;pointer-events:none;}
|
||||
.report-picker-check {display:block;position:absolute;left:12dp;top:8.5dp;width:10dp;height:18dp;border-right:3dp #afdccf;border-bottom:3dp #afdccf;transform:rotate(45deg);}
|
||||
.report-picker-popup .report-picker-option:hover {background-color:#d0e2f226;}
|
||||
.report-picker-popup .report-picker-option:focus {background-color:#6286a855;}
|
||||
body.silver .report-picker-wrapper .report-picker-trigger {border-color:var(--border);color:var(--text);decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .report-picker-wrapper .report-picker-trigger {border-color:var(--border);color:var(--text);decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.silver .report-picker-arrow span,body.matchday .report-picker-arrow span {border-color:var(--muted);}
|
||||
body.silver .report-picker-popup {border-color:var(--border);background-color:#f3f7fcfc;}
|
||||
body.matchday .report-picker-popup {border-color:var(--border);background-color:#303037fc;}
|
||||
body.silver .report-picker-popup .report-picker-option,body.matchday .report-picker-popup .report-picker-option {color:var(--text);}
|
||||
body.silver .report-picker-check,body.matchday .report-picker-check {border-color:var(--accent);}
|
||||
body.silver .report-picker-wrapper .report-picker-trigger:hover,body.matchday .report-picker-wrapper .report-picker-trigger:hover {decorator:none;background-color:var(--hover);}
|
||||
body.silver .report-picker-popup .report-picker-option:hover,body.silver .report-picker-popup .report-picker-option:focus,body.matchday .report-picker-popup .report-picker-option:hover,body.matchday .report-picker-popup .report-picker-option:focus {background-color:var(--hover);}
|
||||
@@ -0,0 +1,94 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.report-underlay {position:absolute;left:0;right:0;top:0;bottom:0;}
|
||||
.report-list {position:absolute;left:0;right:0;top:0;bottom:150dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.report-list.standings-list {bottom:182dp;}
|
||||
.report-row {display:flex;align-items:stretch;font-size:36dp;color:var(--text);}
|
||||
.report-row.striped {background-color:var(--soft);}
|
||||
.report-row:hover {background-color:var(--hover);}
|
||||
.report-head {font-size:30dp;color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.report-cell {display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;padding:7dp 14dp;overflow:hidden;}
|
||||
.report-cell.first {justify-content:flex-start;}
|
||||
.report-cell.score {justify-content:center;}
|
||||
.report-cell.form {font-size:33dp;letter-spacing:1dp;}
|
||||
.report-value {display:block;white-space:nowrap;}
|
||||
.report-club-button {display:flex;align-items:center;gap:14dp;max-width:100%;min-width:0;padding:2dp 6dp;border:0dp;border-radius:0dp;background-color:transparent;font-size:36dp;}
|
||||
.report-club-button .image-frame {flex-shrink:0;}
|
||||
.report-club-name {display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.report-club-button.current {color:var(--accent);}
|
||||
.report-club-button:hover {background-color:transparent;}
|
||||
.report-club-button:focus-visible {background-color:var(--hover);}
|
||||
.report-sort {display:flex;align-items:center;justify-content:flex-end;gap:8dp;padding:4dp 0;border:0dp;border-radius:6dp;background-color:transparent;font-size:30dp;color:var(--muted);}
|
||||
.report-cell.first .report-sort {justify-content:flex-start;}
|
||||
.report-sort-symbol {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4dp;width:18dp;height:26dp;flex-shrink:0;}
|
||||
.report-sort-arrow {display:block;width:0;height:0;border-left:6dp transparent;border-right:6dp transparent;}
|
||||
.report-sort-arrow.up {border-bottom:7dp var(--muted);}
|
||||
.report-sort-arrow.down {border-top:7dp var(--muted);}
|
||||
.report-cell[aria-sort=ascending] .report-sort,.report-cell[aria-sort=descending] .report-sort {color:var(--text);}
|
||||
.report-cell[aria-sort=ascending] .report-sort-arrow.up {border-bottom-color:var(--text);}
|
||||
.report-cell[aria-sort=descending] .report-sort-arrow.down {border-top-color:var(--text);}
|
||||
.report-rank {display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;width:64dp;margin-right:14dp;}
|
||||
.report-zone {display:block;flex-shrink:0;width:9dp;height:48dp;margin-right:20dp;border-radius:5dp;background-color:transparent;}
|
||||
.report-zone.champions {background-color:#79b8ed;}
|
||||
.report-zone.europa {background-color:#e6a566;}
|
||||
.report-zone.conference {background-color:#8bc493;}
|
||||
.report-zone.relegation {background-color:#e8757e;}
|
||||
.report-zone.promotion {background-color:#8ac9b0;}
|
||||
.report-zone.playoff {background-color:#d8b879;}
|
||||
.report-legend {position:absolute;left:0;right:0;bottom:127dp;display:flex;align-items:center;justify-content:center;gap:38dp;font-size:25dp;}
|
||||
.report-legend-item {display:flex;align-items:center;gap:14dp;}
|
||||
.report-legend .report-zone {width:7dp;height:22dp;margin:0;}
|
||||
.report-footer {position:absolute;left:0;right:0;bottom:0;height:94dp;}
|
||||
.report-reset,.report-round {position:absolute;height:94dp;padding:12dp 24dp;border-radius:12dp;font-size:32dp;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);background-color:transparent;}
|
||||
.report-round {font-size:56dp;padding:0;}
|
||||
.report-match-heading {position:absolute;left:0;right:0;top:0;text-align:center;}
|
||||
.report-match-heading h2 {font-size:46dp;font-weight:normal;}
|
||||
.report-match-heading p {margin-top:16dp;font-size:28dp;}
|
||||
.report-list.match-list {top:150dp;bottom:160dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);}
|
||||
.match-list .report-row,.match-list .report-club-button {font-size:34dp;}
|
||||
.match-list .report-head {font-size:34dp;color:var(--muted);}
|
||||
.match-list .report-cell {padding:12dp 28dp;}
|
||||
.match-list .report-cell.first {justify-content:flex-end;padding-left:46dp;}
|
||||
.match-list .report-cell:last-child {justify-content:flex-start;padding-right:46dp;}
|
||||
.match-list .report-cell.score {padding-left:8dp;padding-right:8dp;}
|
||||
.match-list .name-first .report-club-name {text-align:right;}
|
||||
.match-list .report-cell:last-child .report-club-name {text-align:left;}
|
||||
/* Full row width preserves the score axis; 18dp outer reserves protect long names from the scrollbar. */
|
||||
.opening-pair-row {display:flex;align-items:center;gap:18dp;width:100%;height:100%;font-size:30dp;}
|
||||
.opening-pair-row.current {font-size:38dp;}
|
||||
.opening-pair-number,.opening-pair-counter {display:flex;align-items:center;justify-content:flex-end;flex-shrink:0;width:46dp;font-size:24dp;color:var(--muted);}
|
||||
.opening-pair-side {display:flex;align-items:center;gap:18dp;flex:1;min-width:0;}
|
||||
.opening-pair-side.home {justify-content:flex-end;text-align:right;}
|
||||
.opening-pair-side.away {justify-content:flex-start;text-align:left;}
|
||||
.opening-pair-side .image-frame {flex-shrink:0;}
|
||||
.opening-pair-name {display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.opening-pair-name:first-child:last-child {color:var(--muted);}
|
||||
.opening-pair-versus {display:flex;align-items:center;justify-content:center;flex-shrink:0;width:40dp;color:var(--muted);}
|
||||
.opening-pair-row.compact {font-size:27dp;gap:12dp;}
|
||||
.opening-pair-row.compact .opening-pair-side {gap:12dp;}
|
||||
.opening-pair-row.compact .opening-pair-number,.opening-pair-row.compact .opening-pair-counter {width:34dp;font-size:21dp;}
|
||||
.opening-pair-row.compact .opening-pair-versus {width:22dp;}
|
||||
body.midnight .report-row {color:#d8e0e8;}
|
||||
body.midnight .report-head,body.midnight .report-sort {color:#a0aebc;}
|
||||
body.midnight .report-cell[aria-sort=ascending] .report-sort,body.midnight .report-cell[aria-sort=descending] .report-sort {color:#dae6f0;}
|
||||
body.midnight .report-cell[aria-sort=ascending] .report-sort-arrow.up {border-bottom-color:#b5d6ee;}
|
||||
body.midnight .report-cell[aria-sort=descending] .report-sort-arrow.down {border-top-color:#b5d6ee;}
|
||||
body.midnight .report-row.striped {background-color:#e3edf605;}
|
||||
body.midnight .report-row:hover {background-color:#bad5f20d;}
|
||||
body.midnight .report-head {border-color:#d5e3ed26;}
|
||||
body.midnight .report-club-button.current {color:#a9dccb;}
|
||||
body.midnight .report-legend {color:#a9bdcd;}
|
||||
body.midnight .report-reset,body.midnight .report-round {color:#e0e6ec;border-color:#d4e0ec29;}
|
||||
body.midnight .report-match-heading h2 {color:#e4edf2;}
|
||||
body.midnight .report-match-heading p {color:#a9becd;}
|
||||
body.midnight .report-list.match-list {border-color:#c5d9e720;background-color:#13263526;}
|
||||
body.midnight .match-list .report-row {color:#d4e0e9;}
|
||||
body.midnight .match-list .report-head {color:#a8bdcc;border-color:#c5d9e72b;}
|
||||
body.midnight .match-list .report-cell.score {color:#bddedc;}
|
||||
body.silver .report-row.striped,body.silver .report-list.match-list {background-color:#42627d09;}
|
||||
body.silver .report-reset,body.silver .report-round {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .report-row.striped,body.matchday .report-list.match-list {background-color:#f8e7e00a;}
|
||||
body.matchday .report-reset,body.matchday .report-round {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
|
||||
/* Cup legs share one fixed score column; scores retain the displayed sides. */
|
||||
.report-score-lines {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4dp;font-size:30dp;}
|
||||
.report-score-note {display:block;font-size:25dp;white-space:nowrap;}
|
||||
@@ -0,0 +1,18 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* The visible trigger is the real RmlUI select. Only its list is adapted. */
|
||||
body {--select-popup:#293744;--select-league-popup:#293744fa;--select-popup-border:#d9e8f13d;--select-popup-hover:#6286a855;}
|
||||
body.silver {--select-popup:#f3f7fcfc;--select-league-popup:#f3f7fcfc;--select-popup-border:var(--border);--select-popup-hover:var(--hover);}
|
||||
body.matchday {--select-popup:#303037fc;--select-league-popup:#303037fc;--select-popup-border:var(--border);--select-popup-hover:var(--hover);}
|
||||
select {border-radius:12dp;}
|
||||
select selectvalue {white-space:nowrap;}
|
||||
select selectarrow {width:10dp;height:10dp;border-bottom:2dp var(--muted);border-right:2dp var(--muted);transform:rotate(45deg);}
|
||||
.native-select-menu {position:absolute;z-index:1000;display:block;width:360dp;max-height:480dp;padding:10dp;overflow-y:auto;overflow-x:hidden;border:2dp var(--select-popup-border);border-radius:16dp;background-color:var(--select-popup);box-shadow:0dp 18dp 55dp #0008;color:var(--text);}
|
||||
.native-select-menu.league {padding:10dp;border-radius:18dp;background-color:var(--select-league-popup);max-height:740dp;}
|
||||
.native-select-menu>.native-select-option {display:flex;align-items:center;justify-content:flex-start;gap:12dp;width:100%;min-height:72dp;margin:0;padding:10dp 14dp;border:0dp;border-radius:8dp;background-color:transparent;color:var(--text);text-align:left;font-size:1em;line-height:1.3;tab-index:none;}
|
||||
.native-select-menu.league>.native-select-option {gap:12dp;padding:10dp 14dp;border-radius:10dp;}
|
||||
.native-select-menu>.native-select-option:hover,.native-select-menu>.native-select-option.is-cursor,.native-select-menu>.native-select-option:focus {background-color:var(--select-popup-hover);}
|
||||
.native-select-menu>.native-select-option:disabled {opacity:0.4;cursor:arrow;background-color:transparent;}
|
||||
.native-select-check {display:flex;align-items:center;justify-content:center;width:28dp;min-width:28dp;flex-shrink:0;color:var(--accent);}
|
||||
.native-select-menu.league .native-select-check {width:34dp;min-width:34dp;}
|
||||
.native-select-check>.image-frame {flex-shrink:0;}
|
||||
.native-select-text {display:block;min-width:0;flex:1;white-space:nowrap;}
|
||||
@@ -0,0 +1,83 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
body {--settings-focus:#9dc4dd;--settings-tab:#9cafc240;--settings-selection:#79aa9d12;--settings-apply:#79aa9d40;--settings-accent-border:#a7dfd038;--settings-divider:#c5d9e714;--settings-toggle:#65a29a;--settings-knob:#c8d6e0;--settings-input:#263744;}
|
||||
body.silver {--settings-focus:#2b729a;--settings-tab:#a3c3dd54;--settings-selection:#a3c3dd54;--settings-apply:#a3c3dd54;--settings-accent-border:#356f966e;--settings-divider:#6c879c28;--settings-toggle:#25617a;--settings-knob:#ffffff;--settings-input:#ffffffad;}
|
||||
body.matchday {--settings-focus:#efb2aa;--settings-tab:#d48c7b26;--settings-selection:#d48c7b26;--settings-apply:#d48c7b26;--settings-accent-border:#e5a19770;--settings-divider:#ead9da16;--settings-toggle:#efb2aa;--settings-knob:#f8ece6;--settings-input:#191a208a;}
|
||||
.settings-layout {position:absolute;left:0;right:0;top:0;bottom:150dp;}
|
||||
.settings-categories {position:absolute;left:0;top:0;bottom:0;width:370dp;padding:24dp 20dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);}
|
||||
.settings-categories button {display:flex;align-items:center;justify-content:flex-start;width:100%;height:100dp;margin-bottom:14dp;padding:20dp 28dp;text-align:left;font-size:34dp;}
|
||||
.settings-categories button.active {background-color:var(--settings-tab);border-color:var(--settings-accent-border);color:var(--text);}
|
||||
.settings-categories button>span {display:block;flex-shrink:0;}
|
||||
.settings-pane {position:absolute;left:410dp;right:0;top:0;bottom:0;padding:32dp 36dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);}
|
||||
.settings-pane-header {display:flex;align-items:flex-start;justify-content:space-between;gap:25dp;}
|
||||
.settings-pane-header h2 {margin:0;font-size:42dp;line-height:1.2;font-weight:normal;}
|
||||
.settings-pane-header p {margin-top:16dp;font-size:28dp;color:var(--muted);}
|
||||
.settings-scroll {position:absolute;left:36dp;right:26dp;top:164dp;bottom:26dp;padding:0 18dp 20dp 0;overflow-y:auto;overflow-x:hidden;}
|
||||
/* RmlUI reserves scrollbar width; compensate only in the scrolling categories. */
|
||||
.settings-pane[data-category=display] .settings-scroll,.settings-pane[data-category=game] .settings-scroll {padding-right:0;}
|
||||
.settings-pane[data-category=game] .settings-scroll {top:276dp;}
|
||||
.settings-scroll:focus-visible {border:3dp var(--accent);border-radius:10dp;}
|
||||
.settings-group {margin:0 0 44dp;}
|
||||
.settings-group h3 {margin:0;padding:12dp 0 24dp;border-bottom:2dp var(--settings-divider);font-size:32dp;font-weight:normal;line-height:1.2;color:var(--text);}
|
||||
.settings-group-help {margin:20dp 0 4dp;font-size:26dp;line-height:1.5;color:var(--muted);}
|
||||
.settings-row {display:flex;align-items:center;justify-content:space-between;gap:32dp;min-height:132dp;padding:24dp 4dp;border-bottom:2dp var(--settings-divider);}
|
||||
.settings-row>label {display:block;flex:1;min-width:0;}
|
||||
.settings-row label>span {display:block;font-size:31dp;line-height:1.35;}
|
||||
.settings-row label>small {display:block;margin-top:10dp;font-size:25dp;line-height:1.5;color:var(--muted);}
|
||||
.settings-select,.settings-number {flex-shrink:0;width:480dp;min-height:72dp;padding:12dp 20dp;border:2dp var(--border);border-radius:12dp;background-color:var(--settings-input);font-size:30dp;color:var(--text);}
|
||||
.settings-select selectbox {font-size:30dp;}
|
||||
.settings-select:disabled {opacity:0.4;}
|
||||
.settings-number {width:180dp;text-align:right;}
|
||||
.settings-switch {position:relative;flex-shrink:0;width:88dp;height:48dp;min-width:88dp;min-height:48dp;margin:0;padding:0;border:2dp var(--border);border-radius:24dp;background-color:#53687866;}
|
||||
.settings-switch.checked {background-color:var(--settings-toggle);border-color:var(--settings-accent-border);}
|
||||
.settings-switch.mixed {background-color:var(--selected);}
|
||||
.settings-switch-knob {position:absolute;top:5dp;width:34dp;height:34dp;border-radius:17dp;background-color:var(--settings-knob);box-shadow:0dp 2dp 6dp #0005;}
|
||||
.settings-switch.checked .settings-switch-knob {background-color:var(--settings-knob);}
|
||||
.settings-automation-master {margin-bottom:28dp;padding:0 24dp;border:2dp var(--settings-accent-border);border-radius:16dp;background-color:var(--settings-selection);}
|
||||
.settings-automation-master .settings-row {border:0dp;}
|
||||
.settings-automation-master label>span {font-weight:bold;}
|
||||
.settings-volume {width:590dp;display:flex;align-items:center;gap:28dp;}
|
||||
.settings-volume input {width:420dp;min-width:0;}
|
||||
.settings-volume>span {display:block;flex-shrink:0;min-width:110dp;text-align:right;font-size:31dp;color:var(--accent);}
|
||||
.settings-jump-label {display:flex;flex-direction:column;align-items:flex-end;gap:12dp;color:var(--muted);font-size:24dp;}
|
||||
.settings-jump-label .settings-select {width:560dp;font-size:27dp;}
|
||||
.settings-jump-label .settings-select selectbox {font-size:27dp;}
|
||||
.settings-competition {margin-top:30dp;}
|
||||
.settings-competition h4 {margin:0;padding:18dp 20dp;border-radius:10dp;background-color:var(--soft);font-size:30dp;font-weight:normal;}
|
||||
.settings-competition .settings-row {padding-left:20dp;}
|
||||
.settings-actions {position:absolute;left:0;right:0;bottom:0;height:100dp;display:flex;align-items:center;gap:24dp;}
|
||||
.settings-actions p {flex:1;min-width:0;margin:0;font-size:28dp;color:var(--text);}
|
||||
.settings-actions button {min-width:270dp;width:270dp;height:94dp;flex-shrink:0;font-size:32dp;}
|
||||
#settings-apply {background-color:var(--settings-apply);border-color:var(--settings-accent-border);color:var(--text);}
|
||||
#settings-apply:disabled {opacity:0.35;}
|
||||
.settings-searchbar {position:absolute;top:158dp;left:36dp;right:36dp;height:80dp;display:flex;align-items:center;gap:24dp;}
|
||||
.settings-search-field {min-width:0;flex:1;display:flex;align-items:center;gap:18dp;height:80dp;padding:8dp 12dp 8dp 22dp;border:2dp var(--border);border-radius:14dp;background-color:var(--input);}
|
||||
.settings-search-field>.image-frame {flex-shrink:0;}
|
||||
#settings-search {flex:1;min-width:0;width:100%;padding:8dp 0;border:0dp;border-radius:0dp;background-color:transparent;font-size:30dp;}
|
||||
#settings-search-clear {width:52dp;height:52dp;min-width:52dp;padding:0;border:0dp;background-color:transparent;font-size:38dp;}
|
||||
#settings-search-clear:disabled {opacity:0.25;}
|
||||
#settings-search-count {display:block;flex-shrink:0;width:250dp;margin:0;text-align:right;font-size:25dp;}
|
||||
.settings-search-empty {padding:100dp 24dp;text-align:center;font-size:34dp;line-height:1.5;}
|
||||
.settings-search-empty small {display:block;margin-top:14dp;font-size:27dp;color:var(--muted);}
|
||||
.settings-theme-options {display:flex;gap:28dp;margin-top:28dp;align-items:stretch;}
|
||||
.settings-theme-choice {display:block;flex:1;min-width:0;padding:18dp;border:2dp var(--border);border-radius:20dp;background-color:var(--soft);text-align:left;}
|
||||
.settings-theme-choice[aria-pressed=true] {border-color:var(--settings-focus);background-color:var(--settings-selection);}
|
||||
.settings-theme-choice>strong {display:block;margin-top:18dp;font-size:31dp;font-weight:bold;}
|
||||
.settings-theme-choice>small {display:block;margin-top:18dp;font-size:24dp;line-height:1.4;color:var(--muted);}
|
||||
.settings-theme-preview {position:relative;width:100%;height:404.583dp;border:1dp #c5d5e033;border-radius:12dp;overflow:hidden;background-color:#243e56;}
|
||||
.preview-background {position:absolute;left:0;right:0;top:0;bottom:0;opacity:0.35;}
|
||||
.preview-bar {position:absolute;left:0;right:0;top:0;height:32dp;background-color:#263744f2;border-bottom:1dp #a6c7d755;}
|
||||
.preview-bar>span {position:absolute;left:12dp;top:10dp;width:12dp;height:12dp;border-radius:6dp;background-color:#a6c7d755;}
|
||||
.preview-widget {position:absolute;top:62dp;height:84dp;border:1dp #a6c7d755;border-radius:12dp;background-color:#29465ab8;}
|
||||
.preview-widget.one {left:18dp;width:58%;}
|
||||
.preview-widget.two {left:64%;right:18dp;}
|
||||
.preview-app {position:absolute;top:164dp;width:45dp;height:45dp;border-radius:12dp;decorator:linear-gradient(145deg,#7da4aa,#376784);}
|
||||
.preview-app.app-one {left:12%;}.preview-app.app-two {left:41%;}.preview-app.app-three {left:72%;}
|
||||
.preview-window {position:absolute;left:30%;right:10%;top:56dp;bottom:24dp;padding:38dp 16dp 12dp;border:1dp #a6c7d755;border-radius:10dp;decorator:linear-gradient(155deg,#303c49eb,#1a2531f2);box-shadow:0dp 8dp 20dp #0005;}
|
||||
.preview-title {position:absolute;left:0;right:0;top:0;height:26dp;border-bottom:1dp #a6c7d755;}
|
||||
.preview-title>span {position:absolute;left:10dp;top:9dp;width:8dp;height:8dp;border-radius:4dp;background-color:#fa6a60;}
|
||||
.preview-line {position:relative;display:block;width:100%;height:62dp;margin-bottom:8dp;border-radius:3dp;background-color:#a6c7d755;opacity:0.45;}
|
||||
|
||||
.preview-silver {background-color:#c6d9e9;}.preview-silver .preview-bar {background-color:#e2ecf3f0;}.preview-silver .preview-widget {background-color:#e3edf4ed;}.preview-silver .preview-window {decorator:linear-gradient(155deg,#f0f5f9f5,#d4e0eaf5);}.preview-silver .preview-line {background-color:#52677955;}
|
||||
.preview-matchday {background-color:#24252a;}.preview-matchday .preview-bar {background-color:#26282df2;}.preview-matchday .preview-widget {background-color:#2b2d33f2;}.preview-matchday .preview-window {decorator:linear-gradient(155deg,#343338f5,#202126f7);}.preview-matchday .preview-app {decorator:linear-gradient(180deg,#6a5054,#3a3038);}.preview-matchday .preview-line {background-color:#ead9da38;}
|
||||
|
||||
.settings-readonly {display:block;min-width:120dp;text-align:right;color:var(--muted);font-size:30dp;padding:14dp 18dp;}
|
||||
@@ -0,0 +1,50 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.training-skills {position:absolute;left:0;top:0;width:1060dp;height:1008dp;}
|
||||
.training-skill {height:112dp;display:flex;align-items:center;gap:14dp;font-size:36dp;}
|
||||
.training-skill>div,.training-skill>span {flex-shrink:0;}
|
||||
.training-balls {display:flex;align-items:center;justify-content:flex-start;}
|
||||
.training-ball {display:flex;align-items:center;justify-content:center;padding:0;border:0dp;background-color:transparent;flex-shrink:0;}
|
||||
.training-ball:hover,.training-ball:disabled {background-color:transparent;}
|
||||
.training-ball.is-empty {opacity:.18;filter:grayscale(1);}
|
||||
.training-ball.overtraining {filter:sepia(1) saturate(9) hue-rotate(310deg);}
|
||||
.training-pitch {position:absolute;left:0;top:1040dp;width:570dp;height:390dp;border:3dp var(--border);border-radius:12dp;overflow:hidden;box-shadow:0dp 0dp 0dp 3dp #244c38;}
|
||||
.training-midline {position:absolute;left:50%;top:0;width:2dp;height:100%;background-color:#d5efd2;}
|
||||
.training-circle {position:absolute;left:50%;top:50%;width:110dp;height:110dp;margin-left:-55dp;margin-top:-55dp;border:3dp #d5efd2;border-radius:55dp;}
|
||||
.training-box {position:absolute;top:22%;width:19%;height:56%;border:3dp #d5efd2;}
|
||||
.left-box {left:-4dp;}.right-box {right:-4dp;}
|
||||
.training-type-cell {position:absolute;width:227dp;height:156dp;display:flex;align-items:center;justify-content:center;}
|
||||
.training-auto {font-size:32dp;}
|
||||
.training-auto.auto-players {font-size:29dp;}
|
||||
.training-budget {position:absolute;left:604dp;top:1338dp;width:440dp;font-size:27dp;line-height:1.5;color:var(--muted);}
|
||||
.training-roster {position:absolute;left:1120dp;right:0;top:0;bottom:80dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.training-row {display:flex;align-items:center;height:99dp;border-bottom:2dp var(--border);font-size:34dp;}
|
||||
.training-row>div {flex-shrink:0;}
|
||||
.training-header {height:62dp;font-size:31dp;color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.training-position {font-size:30dp;color:var(--muted);}
|
||||
.training-player-heading {padding-left:20dp;}
|
||||
.training-name-text {display:block;width:720dp;margin-left:20dp;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}
|
||||
.training-row.striped {background-color:var(--soft);}
|
||||
.training-roster select {display:block;width:310dp;height:62dp;padding:10dp 12dp;border:2dp var(--border);border-radius:8dp;font-size:32dp;}
|
||||
.training-roster select selectbox {width:310dp;max-height:480dp;margin-top:8dp;padding:10dp;border-radius:16dp;}
|
||||
.training-roster select option {min-height:72dp;padding:10dp 14dp;line-height:52dp;}
|
||||
.tactics-board {position:absolute;left:76dp;top:0;width:2300dp;height:100%;}
|
||||
.tactics-surface {position:absolute;left:0;right:0;top:0;bottom:100dp;border:2dp var(--border);border-radius:28dp;decorator:linear-gradient(130deg,#bfd9e40a,#9ecbb809);}
|
||||
.tactics-board>.image-frame {filter:drop-shadow(#e0edbc 0dp 0dp 1dp);}
|
||||
.tactic-hotspot {padding:0;border:0dp;background-color:transparent;}
|
||||
.tactic-hotspot:hover,.tactic-hotspot:active {background-color:transparent;}
|
||||
.tactic-hotspot:focus-visible {border:3dp var(--accent);}
|
||||
.tactic-effort {position:absolute;left:1021.188dp;top:1021.469dp;width:1012dp;height:316.875dp;color:#d4e6b3;}
|
||||
body.silver .tactic-effort {color:#536f66;}
|
||||
.tactic-effort-label {display:flex;align-items:baseline;gap:18dp;font-family:Chalk;font-size:60dp;line-height:1.2;letter-spacing:4dp;}
|
||||
.tactic-effort-marks {font-size:52dp;letter-spacing:1dp;line-height:1.2;}
|
||||
.tactic-effort input {position:absolute;left:2dp;top:96dp;width:96%;height:20dp;}
|
||||
.tactic-effort input slidertrack {margin:8dp 0;height:4dp;}
|
||||
.tactic-effort input sliderprogress {height:4dp;background-color:var(--accent);border-radius:2dp;}
|
||||
.tactic-effort input sliderbar {width:16dp;height:16dp;margin-top:2dp;border:0dp;border-radius:8dp;background-color:var(--accent);}
|
||||
.tactic-hint {position:absolute;left:0;right:0;bottom:34dp;height:39dp;text-align:center;font-size:34dp;color:var(--text);}
|
||||
body.midnight .training-skill {color:#c6d6df;}
|
||||
body.midnight .training-row {color:#d8e3eb;}
|
||||
body.midnight .training-header,body.midnight .training-position {color:#9fb2c3;}
|
||||
body.midnight .training-budget {color:#9fb6c6;}
|
||||
body.midnight .training-pitch {border-color:#9eb9a5;}
|
||||
body.midnight .tactic-hint {color:#b8cddc;}
|
||||
@@ -0,0 +1,150 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.stadium-screen {position:absolute;left:0;top:0;width:2612dp;height:1864dp;color:var(--text);}
|
||||
.stadium-empty {font-size:30dp;padding:40dp;color:var(--muted);}
|
||||
.stadium-heading {position:absolute;left:0;top:0;width:2612dp;height:106dp;display:flex;align-items:center;justify-content:space-between;color:#d4e2ed;}
|
||||
.stadium-heading-copy {height:83dp;}
|
||||
.stadium-heading h2 {font-size:36dp;font-weight:normal;line-height:41dp;height:41dp;margin:0 0 12dp;white-space:nowrap;}
|
||||
.stadium-heading p {font-size:25dp;color:#91adbf;line-height:30dp;height:30dp;margin:0;}
|
||||
.stadium-summary {display:flex;align-items:center;}
|
||||
.stadium-summary>div {display:flex;flex-direction:column;align-items:flex-end;margin-left:65dp;}
|
||||
.stadium-summary>div>span {display:block;font-size:24dp;color:#91adbf;height:28dp;line-height:28dp;}
|
||||
.stadium-summary strong {display:block;font-size:38dp;font-weight:normal;color:#b8dfd0;height:44dp;line-height:44dp;margin-top:10dp;white-space:nowrap;}
|
||||
.stadium-summary small {font-size:25dp;color:#b7cddc;}
|
||||
.stadium-bowl {position:absolute;left:100dp;top:134dp;width:1430dp;height:992.923588dp;border:2dp #c5d9e726;border-radius:18dp;overflow:hidden;}
|
||||
.stadium-letter {position:absolute;display:flex;align-items:center;justify-content:center;width:96dp;height:92dp;padding:0;border:2dp #e4b3a06b;border-radius:18dp;background-color:#14222ae6;color:#f0a99b;font-size:58dp;line-height:1;font-weight:bold;}
|
||||
.stadium-letter .control-label {width:100%;text-align:center;white-space:nowrap;}
|
||||
.stadium-letter:hover {background-color:#33434ae6;border-color:#f6c6ba;color:#ffdbcf;}
|
||||
.stadium-letter.building {border-color:#d8b77f;color:#e9cb9b;opacity:.85;}
|
||||
.stadium-block {position:absolute;display:block;padding:18dp 28dp;border:2dp #c5d9e726;border-radius:14dp;background-color:#12243140;color:#b8d0e0;font-size:28dp;text-align:left;}
|
||||
.stadium-block:hover {background-color:#c5d9e712;}
|
||||
.stadium-block:disabled {opacity:.85;border-color:#d8b77f52;background-color:#b6955d0d;}
|
||||
.stadium-block-copy {position:absolute;left:28dp;width:540dp;height:116dp;}
|
||||
.stadium-block-copy strong {position:absolute;left:0;top:0;display:block;width:540dp;height:36dp;line-height:36dp;font-size:31dp;font-weight:normal;color:#d7e5ef;white-space:nowrap;}
|
||||
.stadium-block-copy>span {position:absolute;left:0;top:46dp;display:block;width:540dp;height:32dp;line-height:32dp;white-space:nowrap;}
|
||||
.stadium-block-copy small {position:absolute;left:0;top:88dp;display:block;width:540dp;height:28dp;line-height:28dp;font-size:24dp;color:#8faabd;white-space:nowrap;}
|
||||
.stadium-block-icons {position:absolute;right:20dp;top:22dp;display:flex;width:162dp;height:76dp;}
|
||||
.stadium-block-icons .image-frame {margin-right:10dp;flex-shrink:0;}
|
||||
.stadium-block-icons .image-frame:last-child {margin-right:0;}
|
||||
.stadium-facility {position:absolute;display:block;padding:0;border:2dp #c5d9e726;border-radius:14dp;background-color:#12243140;color:#cbdde9;overflow:hidden;}
|
||||
.stadium-facility:hover {background-color:#c5d9e712;border-color:#c5d9e752;}
|
||||
.stadium-facility:disabled {opacity:.7;}
|
||||
.stadium-facility-picture {position:absolute;left:0;top:0;display:block;width:391dp;height:125dp;overflow:hidden;background-color:#10232e60;}
|
||||
.stadium-facility-art {position:absolute;display:block;}
|
||||
.stadium-art-overlay {position:absolute;display:block;pointer-events:none;}
|
||||
.stadium-facility>strong {position:absolute;left:0;top:133dp;display:block;width:391dp;height:31.2dp;line-height:31.2dp;font-size:26dp;font-weight:normal;text-align:center;white-space:nowrap;color:#d3e2ed;}
|
||||
.stadium-facility-caption {position:absolute;left:0;top:168.2dp;display:block;width:391dp;height:25.3dp;line-height:25.3dp;font-size:23dp;text-align:center;white-space:nowrap;color:#95b7c2;}
|
||||
.stadium-nav {position:absolute;left:0;top:1772dp;width:2612dp;height:92dp;display:flex;}
|
||||
.stadium-nav-button {width:856dp;height:92dp;padding:12dp 24dp;margin-right:22dp;font-size:29dp;border:2dp #c5d9e726;border-radius:12dp;background-color:#b6cad510;flex-shrink:0;}
|
||||
.stadium-nav-button:last-child {margin-right:0;}
|
||||
.stadium-nav-button.wide {width:2612dp;}
|
||||
.stadium-nav-button .control-label {width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.stadium-panorama {position:absolute;left:0;top:134dp;width:2612dp;height:1470.031100478dp;border:2dp #c5d9e726;border-radius:18dp;overflow:hidden;}
|
||||
.stadium-graph {position:absolute;left:0;top:134dp;width:2612dp;height:500dp;border:2dp #c5d9e726;border-radius:18dp;background-color:#12243140;}
|
||||
.stadium-graph-art {position:absolute;left:24dp;top:20dp;width:2560dp;height:456dp;pointer-events:none;}
|
||||
.stadium-curve,.stadium-scale {position:absolute;padding:10dp 20dp 10dp 38dp;height:74dp;border:2dp #c5d9e726;border-radius:12dp;background-color:#b6cad510;font-size:25dp;color:#cbdde9;}
|
||||
.stadium-curve {display:flex;align-items:center;justify-content:center;}
|
||||
.stadium-curve[aria-pressed=false] {opacity:.5;}
|
||||
.stadium-curve[aria-pressed=true],.stadium-scale[aria-pressed=true] {background-color:#b6cad51f;border-color:#c5d9e744;}
|
||||
.stadium-curve-color {position:absolute;left:12dp;top:16dp;width:6dp;height:34dp;border-radius:3dp;}
|
||||
.stadium-curve-label {display:block;width:100%;white-space:nowrap;text-align:center;}
|
||||
.stadium-scale {padding:12dp 24dp;font-size:28dp;}
|
||||
.stadium-scale .control-label {width:100%;white-space:nowrap;}
|
||||
.stadium-data-table {position:absolute;left:0;top:875dp;width:2612dp;height:432dp;}
|
||||
.stadium-data-row {display:flex;align-items:center;width:2612dp;height:72dp;font-size:29dp;color:#d0e0eb;}
|
||||
.stadium-data-row.head {font-size:27dp;color:#95afc2;border-bottom:2dp #c5d9e72b;}
|
||||
.stadium-data-row.striped {background-color:#e3edf605;}
|
||||
.stadium-data-cell {display:flex;align-items:center;justify-content:center;width:661.706667dp;height:72dp;padding:12dp 14dp;flex-shrink:0;min-width:0;}
|
||||
.stadium-data-cell.first {width:626.88dp;justify-content:flex-start;}
|
||||
.stadium-data-cell>span {display:block;width:100%;white-space:nowrap;text-align:center;overflow:hidden;text-overflow:ellipsis;}
|
||||
.stadium-data-cell.first>span {text-align:left;color:#a7c1d3;}
|
||||
.stadium-required {position:absolute;left:0;top:1335dp;width:2612dp;height:34dp;line-height:34dp;margin:0;display:flex;align-items:center;justify-content:center;font-size:29dp;color:#a1bccc;}
|
||||
.stadium-required>span {display:block;white-space:nowrap;}
|
||||
.stadium-required-value {color:#b8dfd0;margin-left:8dp;}
|
||||
.stadium-ticket {position:absolute;left:0;top:1415dp;width:2612dp;height:80dp;display:flex;align-items:center;font-size:28dp;color:#bed3e1;}
|
||||
.stadium-ticket>strong {display:block;width:87.14dp;flex-shrink:0;margin-right:20dp;font-size:28dp;font-weight:normal;}
|
||||
.stadium-ticket-price {width:88.6484615dp;height:66dp;padding:8dp 0;margin-right:8dp;border:2dp #c5d9e726;border-radius:10dp;background-color:#b6cad510;font-size:26dp;color:#bed3e1;flex-shrink:0;}
|
||||
.stadium-ticket-price:last-child {margin-right:0;}
|
||||
.stadium-ticket-price .control-label {width:100%;white-space:nowrap;}
|
||||
.stadium-ticket-price[aria-pressed=true] {background-color:#78b9a52b;border-color:#a9dccb73;color:#c8e8dc;}
|
||||
.stadium-modal {position:absolute;left:0;top:0;width:2612dp;height:1864dp;background-color:#08101980;z-index:20;}
|
||||
.stadium-draft {position:absolute;border:2dp #e1ecf429;border-radius:22dp;background-color:#283542f5;color:#d2e2ed;font-size:30dp;overflow:hidden;}
|
||||
.stadium-draft h2 {position:absolute;left:52dp;top:40dp;width:2052dp;height:45dp;line-height:45dp;font-size:40dp;font-weight:bold;text-align:center;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#e3ecf3;}
|
||||
.stadium-draft-summary {position:absolute;left:52dp;top:113dp;width:2052dp;height:31dp;line-height:31dp;display:flex;align-items:center;justify-content:space-between;font-size:27dp;color:#9db7ca;}
|
||||
.stadium-draft-summary>span {display:block;white-space:nowrap;}
|
||||
.stadium-place-field {position:absolute;left:52dp;top:174dp;width:1233.230769dp;height:307dp;padding:26dp 30dp;border:2dp #c5d9e726;border-radius:14dp;background-color:#12243140;}
|
||||
.stadium-place-field>strong {position:absolute;left:30dp;top:26dp;font-size:34dp;font-weight:normal;height:39dp;line-height:39dp;}
|
||||
.stadium-place-field>p {position:absolute;left:30dp;top:83dp;font-size:26dp;height:30dp;line-height:30dp;color:#9db7ca;margin:0;}
|
||||
.stadium-place-label {position:absolute;left:30dp;top:140dp;display:flex;align-items:center;width:789.230769dp;height:80dp;line-height:80dp;font-size:28dp;white-space:nowrap;}
|
||||
.stadium-place-number {position:absolute;right:30dp;top:140dp;width:340dp;height:80dp;padding:12dp 20dp;border:2dp #c5d9e738;border-radius:12dp;background-color:#111f2a80;color:#e3ecf5;font-size:34dp;text-align:right;justify-content:flex-end;}
|
||||
.stadium-place-number .control-label {width:100%;white-space:nowrap;text-align:right;}
|
||||
#stadium-place-range {position:absolute;left:30dp;top:252dp;width:1169.230769dp;height:18dp;margin:0;padding:0;}
|
||||
#stadium-place-range slidertrack {height:4dp;margin:7dp 0;}
|
||||
#stadium-place-range sliderbar {width:18dp;height:18dp;margin:0;border:0;border-radius:9dp;}
|
||||
.stadium-features {position:absolute;left:1333.230769dp;top:196.5dp;width:770.769231dp;height:262dp;}
|
||||
.stadium-feature-row {display:flex;align-items:center;width:770.769231dp;height:116dp;margin-bottom:30dp;font-size:32dp;}
|
||||
.stadium-feature-row>input {width:38dp;height:38dp;flex-shrink:0;margin-right:24dp;}
|
||||
.stadium-feature-image {display:block;width:116dp;height:116dp;margin-right:24dp;flex-shrink:0;}
|
||||
.stadium-feature-row>span:last-child {display:block;white-space:nowrap;}
|
||||
.stadium-costs {position:absolute;left:52dp;top:511dp;width:2052dp;height:146.5dp;margin:0;}
|
||||
.stadium-cost-row {position:absolute;left:0;width:2052dp;height:43.5dp;}
|
||||
.stadium-cost-row dt,.stadium-cost-row dd {position:absolute;top:0;height:43.5dp;line-height:43.5dp;width:1022dp;font-size:29dp;margin:0;}
|
||||
.stadium-cost-row dt {left:0;color:#a9c1d2;}
|
||||
.stadium-cost-row dd {right:0;text-align:right;color:#d2e4ee;}
|
||||
.stadium-draft-total {position:absolute;left:52dp;width:2052dp;height:69dp;border-top:2dp #c5d9e726;padding-top:25dp;display:flex;align-items:center;justify-content:space-between;font-size:36dp;}
|
||||
.stadium-draft-total>span {display:block;white-space:nowrap;}
|
||||
#stadium-quote-total {color:#b8dfd0;}
|
||||
#stadium-draft-feedback {position:absolute;left:52dp;width:2052dp;height:48dp;font-size:25dp;line-height:1.4;color:#94afc3;margin:0;}
|
||||
.stadium-draft-actions {position:absolute;left:52dp;width:2052dp;height:84dp;display:flex;}
|
||||
.stadium-dialog-action {width:1014dp;height:84dp;padding:12dp 24dp;margin-right:24dp;border:2dp #c5d9e726;border-radius:12dp;font-size:30dp;background-color:#12243140;flex-shrink:0;}
|
||||
.stadium-dialog-action:last-child {margin-right:0;}
|
||||
.stadium-dialog-action .control-label {width:100%;white-space:nowrap;}
|
||||
.stadium-option {position:absolute;padding:22dp;display:block;border:2dp #c5d9e726;border-radius:16dp;background-color:#12243140;overflow:hidden;}
|
||||
.stadium-option[aria-pressed=true] {background-color:#78b9a51f;border-color:#a9dccb73;}
|
||||
.stadium-option-art {position:absolute;left:22dp;top:22dp;display:block;width:592dp;overflow:hidden;border-radius:10dp;}
|
||||
.stadium-option>strong {position:absolute;left:22dp;width:592dp;height:37dp;line-height:37dp;font-size:32dp;font-weight:normal;white-space:nowrap;text-align:center;}
|
||||
.stadium-option-price {position:absolute;left:22dp;width:592dp;height:34dp;line-height:34dp;font-size:30dp;white-space:nowrap;text-align:center;color:#b8dfd0;}
|
||||
body.silver .stadium-heading,body.matchday .stadium-heading,body.silver .stadium-block,body.matchday .stadium-block,body.silver .stadium-block-copy strong,body.matchday .stadium-block-copy strong,body.silver .stadium-facility>strong,body.matchday .stadium-facility>strong,body.silver .stadium-summary small,body.matchday .stadium-summary small,body.silver .stadium-data-row,body.matchday .stadium-data-row,body.silver .stadium-data-cell.first>span,body.matchday .stadium-data-cell.first>span {color:var(--text);}
|
||||
body.silver .stadium-heading p,body.matchday .stadium-heading p,body.silver .stadium-summary>div>span,body.matchday .stadium-summary>div>span,body.silver .stadium-block-copy small,body.matchday .stadium-block-copy small,body.silver .stadium-facility-caption,body.matchday .stadium-facility-caption,body.silver .stadium-required,body.matchday .stadium-required,body.silver .stadium-draft-summary,body.matchday .stadium-draft-summary,body.silver .stadium-place-field>p,body.matchday .stadium-place-field>p,body.silver #stadium-draft-feedback,body.matchday #stadium-draft-feedback {color:var(--muted);}
|
||||
body.silver .stadium-summary strong,body.matchday .stadium-summary strong,body.silver .stadium-required-value,body.matchday .stadium-required-value,body.silver .stadium-option-price,body.matchday .stadium-option-price,body.silver #stadium-quote-total,body.matchday #stadium-quote-total {color:var(--accent);}
|
||||
body.silver .stadium-bowl,body.matchday .stadium-bowl,body.silver .stadium-panorama,body.matchday .stadium-panorama,body.silver .stadium-graph,body.matchday .stadium-graph,body.silver .stadium-block,body.matchday .stadium-block,body.silver .stadium-facility,body.matchday .stadium-facility,body.silver .stadium-option,body.matchday .stadium-option,body.silver .stadium-place-field,body.matchday .stadium-place-field {border-color:var(--border);background-color:var(--panel);}
|
||||
body.silver .stadium-facility-picture,body.matchday .stadium-facility-picture {background-color:var(--panel);}
|
||||
body.silver .stadium-nav-button,body.matchday .stadium-nav-button,body.silver .stadium-curve,body.matchday .stadium-curve,body.silver .stadium-scale,body.matchday .stadium-scale,body.silver .stadium-ticket-price,body.matchday .stadium-ticket-price,body.silver .stadium-dialog-action,body.matchday .stadium-dialog-action {border-color:var(--border);background-color:var(--soft);color:var(--text);}
|
||||
body.silver .stadium-nav-button:hover,body.matchday .stadium-nav-button:hover,body.silver .stadium-curve:hover,body.matchday .stadium-curve:hover,body.silver .stadium-scale:hover,body.matchday .stadium-scale:hover {background-color:var(--hover);}
|
||||
body.silver .stadium-curve[aria-pressed=true],body.matchday .stadium-curve[aria-pressed=true],body.silver .stadium-scale[aria-pressed=true],body.matchday .stadium-scale[aria-pressed=true],body.silver .stadium-ticket-price[aria-pressed=true],body.matchday .stadium-ticket-price[aria-pressed=true],body.silver .stadium-option[aria-pressed=true],body.matchday .stadium-option[aria-pressed=true] {background-color:var(--selected);border-color:var(--accent);}
|
||||
body.silver .stadium-draft {background-color:#eaf1f7fc;border-color:var(--border);color:var(--text);}
|
||||
body.matchday .stadium-draft {background-color:#2c2c32fc;border-color:var(--border);color:var(--text);}
|
||||
body.silver .stadium-draft h2,body.matchday .stadium-draft h2,body.silver .stadium-place-number,body.matchday .stadium-place-number,body.silver .stadium-cost-row dt,body.matchday .stadium-cost-row dt,body.silver .stadium-cost-row dd,body.matchday .stadium-cost-row dd {color:var(--text);}
|
||||
body.silver .stadium-place-number,body.matchday .stadium-place-number {background-color:var(--input);border-color:var(--border);}
|
||||
body.silver .stadium-data-row.head,body.matchday .stadium-data-row.head {color:var(--muted);border-color:var(--border);}
|
||||
body.silver .stadium-data-row.striped {background-color:#42627d09;}
|
||||
body.matchday .stadium-data-row.striped {background-color:#f8e7e00a;}
|
||||
/* Ordinary Gold buttons retain their gradient; construction previews use separate palettes. */
|
||||
.stadium-nav-button,.stadium-scale,.stadium-dialog-action {background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);color:#e0e6ec;}
|
||||
.stadium-nav-button:hover,.stadium-scale:hover,.stadium-dialog-action:hover {decorator:none;background-color:#d0e2f226;}
|
||||
.stadium-nav-button[aria-pressed=true],.stadium-scale[aria-pressed=true] {decorator:none;background-color:#9cafc240;border-color:#dce9f047;color:#f5f8fc;}
|
||||
.stadium-dialog-action.primary:not([disabled]) {decorator:none;background-color:#78b9a533;border-color:#a9dccb52;color:#d7efe5;}
|
||||
.stadium-block[disabled] {opacity:.85;border-color:#d8b77f52;background-color:#b6955d0d;}
|
||||
.stadium-facility[disabled] {opacity:.7;}
|
||||
body.silver .stadium-nav-button,body.silver .stadium-scale,body.silver .stadium-dialog-action {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);background-color:transparent;color:var(--text);border-color:var(--border);}
|
||||
body.matchday .stadium-nav-button,body.matchday .stadium-scale,body.matchday .stadium-dialog-action {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);background-color:transparent;color:var(--text);border-color:var(--border);}
|
||||
body.silver .stadium-nav-button:hover,body.silver .stadium-scale:hover,body.silver .stadium-dialog-action:hover,body.matchday .stadium-nav-button:hover,body.matchday .stadium-scale:hover,body.matchday .stadium-dialog-action:hover {decorator:none;background-color:var(--hover);}
|
||||
body.silver .stadium-nav-button[aria-pressed=true],body.silver .stadium-scale[aria-pressed=true] {decorator:none;background-color:#a3c3dd54;border-color:#356f966e;color:#193b52;}
|
||||
body.matchday .stadium-nav-button[aria-pressed=true],body.matchday .stadium-scale[aria-pressed=true] {decorator:none;background-color:#d48c7b26;border-color:#e5a19770;color:#ffe5de;}
|
||||
body.silver .stadium-dialog-action.primary:not([disabled]) {decorator:none;background-color:#a3c3dd54;border-color:#356f966e;color:#25617a;}
|
||||
body.matchday .stadium-dialog-action.primary:not([disabled]) {decorator:none;background-color:#d48c7b26;border-color:#e5a19770;color:#efb2aa;}
|
||||
body.silver .stadium-block[disabled],body.matchday .stadium-block[disabled] {opacity:.85;border-color:#d8b77f52;background-color:#b6955d0d;}
|
||||
|
||||
.stadium-place-label>span {display:block;width:100%;white-space:nowrap;}
|
||||
|
||||
.stadium-periphery-scene {position:absolute;left:0;top:67.375dp;width:2612dp;height:1469.25dp;overflow:hidden;}
|
||||
.stadium-scene-sprite,.stadium-periphery-preview {position:absolute;display:block;pointer-events:none;}
|
||||
.stadium-periphery-hit,.stadium-periphery-hit:hover,.stadium-periphery-hit:focus,.stadium-periphery-hit:active {position:absolute;display:block;box-sizing:border-box;padding:0;margin:0;border:0;border-radius:0;background-color:transparent;decorator:none;opacity:1;}
|
||||
.stadium-periphery-hit .control-label {display:none;}
|
||||
#stadium-interaction-hint {position:absolute;left:0;top:1568.625dp;width:2612dp;height:56dp;line-height:56dp;text-align:center;font-size:29dp;color:var(--muted);margin:0;}
|
||||
#stadium-interaction-hint>span {display:block;width:100%;white-space:nowrap;}
|
||||
.stadium-nav-button.half {width:1295dp;}
|
||||
|
||||
.stadium-screen.periphery .stadium-nav {top:1704.625dp;}
|
||||
|
||||
body.midnight .stadium-summary strong.money-amount,body.silver .stadium-summary strong.money-amount,body.matchday .stadium-summary strong.money-amount {color:var(--money);}
|
||||
body .stadium-summary strong.money-amount.is-negative {color:var(--danger);}
|
||||
@@ -0,0 +1,109 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.statistics-native {position:absolute;left:0;top:0;width:2612dp;height:1864dp;color:#d4e0e9;}
|
||||
.statistics-panel {position:absolute;left:0;top:0;width:2612dp;height:1724dp;border:2dp #c5d9e726;border-radius:18dp;background-color:#12243140;}
|
||||
.statistics-heading {position:absolute;left:30dp;top:30dp;width:2548dp;height:46dp;line-height:46dp;margin:0;font-size:38dp;font-weight:normal;color:#dce6ee;text-align:center;}
|
||||
.statistics-winner-note {position:absolute;left:30dp;top:88dp;width:2548dp;height:32dp;margin:0;font-size:25dp;line-height:32dp;text-align:center;color:#99b1c2;}
|
||||
.statistics-winner-note .statistics-cell-text {display:block;text-align:center;}
|
||||
.statistics-list {position:absolute;left:30dp;top:114dp;width:2548dp;height:1580dp;overflow-y:auto;overflow-x:hidden;}
|
||||
.statistics-list.statistics-winners {top:154dp;height:1540dp;}
|
||||
.statistics-table {width:2548dp;}
|
||||
.statistics-row {display:flex;align-items:center;width:2548dp;font-size:31dp;color:#d4e0e9;}
|
||||
.statistics-row.striped {background-color:#e3edf605;}
|
||||
.statistics-head {font-size:27dp;color:#a8bdcc;border-bottom:2dp #c5d9e72b;}
|
||||
.statistics-cell {display:flex;align-items:center;justify-content:flex-end;min-width:0;flex-shrink:0;padding:8dp 14dp;overflow:hidden;}
|
||||
.statistics-cell.statistics-col-0 {justify-content:flex-start;}
|
||||
.statistics-cell-text {display:block;flex-shrink:0;white-space:nowrap;}
|
||||
.statistics-cell>.statistics-cell-text {width:100%;text-align:right;}
|
||||
.statistics-cell.statistics-col-0>.statistics-cell-text {text-align:left;}
|
||||
.statistics-club {width:100%;max-width:100%;min-width:0;padding:2dp 0;font-size:31dp;color:var(--text);gap:14dp;}
|
||||
.statistics-club .report-club-name {flex:1;min-width:0;max-width:100%;text-align:left;}
|
||||
.statistics-club .image-frame {flex-shrink:0;}
|
||||
.statistics-club.current {color:#b8e1d1;}
|
||||
.statistics-winners .statistics-club.current {color:var(--text);}
|
||||
.statistics-club.name-first {justify-content:flex-end;}
|
||||
.statistics-club.name-first .report-club-name {text-align:right;flex:1;}
|
||||
.statistics-section-1 .statistics-col-2 {justify-content:flex-start;}
|
||||
.statistics-player-prefix {display:block;flex-shrink:0;white-space:nowrap;}
|
||||
.statistics-player-link {display:flex;align-items:center;justify-content:flex-start;min-width:0;max-width:100%;padding:0;border:0;border-radius:0;background-color:transparent;font-size:31dp;color:var(--text);}
|
||||
.statistics-player-link .statistics-cell-text {text-align:left;}
|
||||
.statistics-player-link:hover {background-color:transparent;color:#f3f7fa;}
|
||||
.statistics-player-link:focus-visible {background-color:var(--hover);}
|
||||
.statistics-winners .statistics-cell {padding:14dp 20dp;justify-content:flex-start;}
|
||||
.statistics-winners .statistics-cell>.statistics-cell-text {text-align:left;}
|
||||
.statistics-winners .statistics-head {font-size:29dp;color:#b2c5d3;font-weight:normal;}
|
||||
.statistics-winners .statistics-col-0 {font-size:29dp;color:#b8ccd9;}
|
||||
.statistics-winners .statistics-club {gap:20dp;padding:6dp 0;}
|
||||
.statistics-trophy-heading {display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:170dp;min-width:0;padding:6dp;border:0;border-radius:12dp;background-color:transparent;color:var(--text);font-size:29dp;font-weight:normal;}
|
||||
.statistics-trophy-heading:hover {background-color:transparent;color:#f3f7fa;}
|
||||
.statistics-trophy-heading:focus-visible {border:3dp var(--accent);}
|
||||
.statistics-trophy-heading:disabled {opacity:1;color:var(--text);}
|
||||
.statistics-trophy-icon {display:block;width:105dp;height:105dp;flex-shrink:0;}
|
||||
.statistics-trophy-label {display:block;width:100%;height:35dp;line-height:35dp;margin-top:10dp;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.statistics-world-trophy {display:flex;align-items:center;justify-content:flex-start;max-width:100%;min-width:0;height:62dp;padding:0;border:0;background-color:transparent;color:var(--text);font-size:31dp;}
|
||||
.statistics-world-trophy:disabled {opacity:1;}
|
||||
.statistics-world-trophy-art {display:block;width:58dp;height:58dp;margin-right:20dp;flex-shrink:0;}
|
||||
.statistics-finals .statistics-cell {position:relative;}
|
||||
.statistics-finals .statistics-cell.statistics-col-0 {padding-left:280dp;justify-content:flex-end;}
|
||||
.statistics-finals .statistics-cell.statistics-col-0>.statistics-cell-text {text-align:right;}
|
||||
.statistics-finals .statistics-cell.statistics-col-1 {padding-left:8dp;padding-right:8dp;justify-content:center;}
|
||||
.statistics-finals .statistics-cell.statistics-col-1>.statistics-cell-text {text-align:center;}
|
||||
.statistics-finals .statistics-cell.statistics-col-2 {padding-right:280dp;justify-content:flex-start;}
|
||||
.statistics-finals .statistics-cell.statistics-col-2>.statistics-cell-text {text-align:left;}
|
||||
.statistics-fixture-round {position:absolute;left:28dp;top:0;width:230dp;height:100%;display:flex;align-items:center;justify-content:flex-start;color:#a8bdcc;}
|
||||
.statistics-fixture-round>span {display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
body.silver .statistics-fixture-round,body.matchday .statistics-fixture-round {color:var(--muted);}
|
||||
.statistics-empty {margin:0;padding:40dp;font-size:30dp;color:var(--muted);}
|
||||
.statistics-graph {position:absolute;left:30dp;top:104dp;width:2548dp;height:860dp;padding:22dp;border:2dp #c5d9e726;border-radius:16dp;background-color:#12233070;}
|
||||
.statistics-series {position:absolute;left:30dp;top:992dp;width:2548dp;height:182dp;}
|
||||
.statistics-action {border:2dp #d4e0ec29;border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);color:#e0e6ec;font-size:30dp;font-weight:normal;}
|
||||
.statistics-action:hover {decorator:none;background-color:var(--hover);}
|
||||
.statistics-action:focus-visible {border-color:var(--accent);}
|
||||
.statistics-series-button {position:absolute;display:flex;align-items:center;justify-content:center;padding:12dp 24dp;}
|
||||
.statistics-series-dot {display:block;width:18dp;height:18dp;margin-right:18dp;border-radius:9dp;flex-shrink:0;}
|
||||
.statistics-series-label {display:block;flex-shrink:0;white-space:nowrap;}
|
||||
.statistics-absolute>.statistics-cell-text {width:100%;text-align:center;}
|
||||
.statistics-series-button[aria-pressed=false] {color:#92a6b6;}
|
||||
.statistics-series-button[aria-pressed=false] .statistics-series-dot {opacity:0.35;}
|
||||
.statistics-absolute {position:absolute;display:flex;align-items:center;justify-content:center;}
|
||||
.statistics-absolute .statistics-cell-text {display:block;text-align:center;}
|
||||
.statistics-section-8 .statistics-list {top:190dp;height:1504dp;}
|
||||
.statistics-minutes .statistics-row {font-size:28dp;}
|
||||
.statistics-minutes .statistics-cell {justify-content:center;padding:8dp;}
|
||||
.statistics-minutes .statistics-cell>.statistics-cell-text {text-align:center;}
|
||||
.statistics-minutes .statistics-cell.statistics-col-0 {justify-content:flex-start;}
|
||||
.statistics-minutes .statistics-cell.statistics-col-0>.statistics-cell-text {text-align:left;}
|
||||
.statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell:not(.statistics-col-0) {border:4dp #293c48;background-color:#46606b33;color:#bdd0dc;}
|
||||
.statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell.good {background-color:#4c91774d;color:#c6ebd9;}
|
||||
.statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell.bad {background-color:#b65b554d;color:#f2c1b8;}
|
||||
.statistics-trophy-layer {position:absolute;left:0;top:0;width:100%;height:100%;z-index:200000;overflow:hidden;background-color:var(--panel);color:var(--text);text-align:center;}
|
||||
.statistics-trophy-backdrop {position:absolute;left:0;top:0;width:100%;height:100%;filter:saturate(0.3) brightness(0.4) blur(5px);pointer-events:none;}
|
||||
.statistics-trophy-shade {position:absolute;left:0;top:0;width:100%;height:100%;background-color:var(--panel);pointer-events:none;}
|
||||
.statistics-trophy-large {position:absolute;filter:drop-shadow(#0005 0dp 23.76dp 38.88dp);pointer-events:none;}
|
||||
#statistics-trophy-title {position:absolute;margin:0;text-align:center;font-weight:normal;letter-spacing:0.02em;color:var(--text);}
|
||||
.statistics-trophy-winner {position:absolute;display:flex;align-items:center;justify-content:center;color:var(--text);}
|
||||
.statistics-trophy-winner .image-frame {margin-right:1.2em;flex-shrink:0;}
|
||||
.statistics-trophy-winner>span {display:block;flex-shrink:0;white-space:nowrap;letter-spacing:-0.025em;}
|
||||
.statistics-trophy-season {position:absolute;margin:0;text-align:center;color:var(--muted);}
|
||||
.statistics-trophy-season .statistics-cell-text {display:block;width:100%;text-align:center;}
|
||||
.statistics-trophy-close {position:absolute;display:flex;align-items:center;justify-content:center;padding:0;border:1px var(--border);background-color:transparent;decorator:linear-gradient(180deg,#daeaf316,#b9d6eb09);color:var(--text);}
|
||||
.statistics-trophy-close:hover {decorator:none;background-color:var(--hover);}
|
||||
.statistics-trophy-close:focus-visible {border-color:var(--accent);}
|
||||
.statistics-trophy-close>span {display:block;}
|
||||
body.silver .statistics-native,body.matchday .statistics-native,body.silver .statistics-row,body.matchday .statistics-row,body.silver .statistics-heading,body.matchday .statistics-heading,body.silver .statistics-winners .statistics-col-0,body.matchday .statistics-winners .statistics-col-0 {color:var(--text);}
|
||||
body.silver .statistics-panel,body.matchday .statistics-panel,body.silver .statistics-graph,body.matchday .statistics-graph {border-color:var(--border);background-color:var(--panel);}
|
||||
body.silver .statistics-head,body.matchday .statistics-head,body.silver .statistics-winners .statistics-head,body.matchday .statistics-winners .statistics-head,body.silver .statistics-winner-note,body.matchday .statistics-winner-note {border-color:var(--border);color:var(--muted);}
|
||||
body.silver .statistics-row.striped {background-color:#42627d09;}
|
||||
body.matchday .statistics-row.striped {background-color:#f8e7e00a;}
|
||||
body.silver .statistics-club,body.matchday .statistics-club,body.silver .statistics-player-link,body.matchday .statistics-player-link {color:var(--text);}
|
||||
body.silver .statistics-club.current,body.matchday .statistics-club.current {color:var(--accent);}
|
||||
body.silver .statistics-winners .statistics-club.current,body.matchday .statistics-winners .statistics-club.current {color:var(--text);}
|
||||
body.silver .statistics-action,body.matchday .statistics-action {border-color:var(--border);color:var(--text);}
|
||||
body.silver .statistics-action {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .statistics-action {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.silver .statistics-series-button[aria-pressed=false],body.matchday .statistics-series-button[aria-pressed=false] {color:var(--muted);}
|
||||
body.silver .statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell:not(.statistics-col-0),body.matchday .statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell:not(.statistics-col-0) {border-color:var(--border);background-color:var(--panel);color:var(--text);}
|
||||
body.silver .statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell.good,body.matchday .statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell.good {background-color:var(--hover);color:var(--accent);}
|
||||
body.silver .statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell.bad,body.matchday .statistics-minutes .statistics-row:not(.statistics-head) .statistics-cell.bad {background-color:#b65b554d;color:var(--danger);}
|
||||
|
||||
body.silver .statistics-trophy-close {background-color:transparent;decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.silver .statistics-trophy-close:hover {decorator:none;background-color:var(--hover);}
|
||||
@@ -0,0 +1,164 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
* { box-sizing:border-box; }
|
||||
div,h1,h2,h3,p,label,header,section,aside,footer,nav {display:block;}
|
||||
span,small,strong {display:inline-block;}
|
||||
body {
|
||||
--text:#e9f0f6;--muted:#afbfcd;--accent:#a5e2cf;--money:#a5e2cf;--desk-top:#3c5264a8;--desk-bottom:#172b3ee0;
|
||||
--strong:#152a3af5;--soft:#d4eaff0b;--border:#e0f0ff2b;
|
||||
--menu-top:#303c49eb;--menu-bottom:#1a2531f2;--panel:#12243155;--input:#172633b0;
|
||||
--hover:#bad5f21a;--selected:#477f7c77;--danger:#f0aaa7;--on-accent:#152a3a;
|
||||
margin:0;width:100%;height:100%;overflow:hidden;font-family:Modern;font-size:32dp;color:var(--text);background-color:#0b121c;
|
||||
}
|
||||
body.silver {
|
||||
--text:#233443;--muted:#526779;--accent:#25617a;--money:#25617a;--desk-top:#f4f9f3e6;--desk-bottom:#d6e1e9e8;
|
||||
--strong:#e7f0f5fc;--soft:#315b7110;--border:#6c879c4a;
|
||||
--menu-top:#f0f5f9f5;--menu-bottom:#d4e0eaf5;--panel:#f1f6fa80;--input:#ffffffad;
|
||||
--hover:#9eb9d43b;--selected:#a3c3dd54;--danger:#a23f45;--on-accent:#f7fcff;
|
||||
}
|
||||
body.matchday {
|
||||
--text:#efeded;--muted:#b7b4b9;--accent:#efb2aa;--money:#efeded;--desk-top:#303238f5;--desk-bottom:#1d2025f2;
|
||||
--strong:#272a30fc;--soft:#f9f4ed0b;--border:#ead9da29;
|
||||
--menu-top:#343338f5;--menu-bottom:#202126f7;--panel:#1d1e2466;--input:#191a208a;
|
||||
--hover:#d5b3b423;--selected:#d48c7b26;--danger:#f0a6a7;--on-accent:#2a2022;
|
||||
}
|
||||
#background {position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;}
|
||||
#canvas {position:absolute;width:3840dp;height:2160dp;overflow:hidden;}
|
||||
button,input,select,textarea {font-family:Modern;color:var(--text);font-size:32dp;}
|
||||
button {padding:16dp 26dp;background-color:var(--soft);border:2dp var(--border);border-radius:14dp;cursor:arrow;text-align:center;tab-index:auto;}
|
||||
.control-button {display:flex;align-items:center;justify-content:center;}
|
||||
.control-label {display:block;}
|
||||
.choice.control-button {justify-content:flex-start;}
|
||||
button:hover {background-color:var(--hover);}
|
||||
button:disabled,button[disabled] {opacity:0.4;cursor:arrow;tab-index:none;}
|
||||
button:focus-visible,input:focus-visible,select:focus-visible {border-color:var(--accent);}
|
||||
button.primary {background-color:var(--selected);border-color:var(--accent);}
|
||||
input,select,textarea {padding:14dp 20dp;border:2dp var(--border);border-radius:12dp;background-color:var(--input);tab-index:auto;}
|
||||
select {cursor:arrow;width:520dp;padding-right:45dp;}
|
||||
.row select,.toolbar select {flex:1;min-width:0;}
|
||||
select selectvalue {padding-right:24dp;}
|
||||
select selectarrow {width:10dp;height:10dp;margin-right:-12dp;margin-top:6dp;border-bottom:2dp var(--muted);border-right:2dp var(--muted);transform:rotate(45deg);}
|
||||
select selectbox {padding:8dp;border:2dp var(--border);border-radius:12dp;background-color:var(--strong);max-height:760dp;}
|
||||
select option {font-size:1em;padding:12dp 20dp;min-height:42dp;}
|
||||
#manager-country,#manager-league,#manager-strength {height:88dp;font-size:30dp;}
|
||||
#manager-strength {width:100%;}
|
||||
select option:hover,select option:checked {background-color:var(--selected);}
|
||||
scrollbarvertical {width:18dp;}
|
||||
scrollbarhorizontal {height:18dp;}
|
||||
scrollbarvertical slidertrack,scrollbarhorizontal slidertrack {background-color:var(--soft);}
|
||||
scrollbarvertical sliderbar {width:10dp;margin:4dp;border-radius:5dp;background-color:var(--muted);}
|
||||
scrollbarhorizontal sliderbar {height:10dp;margin:4dp;border-radius:5dp;background-color:var(--muted);}
|
||||
scrollbarvertical sliderarrowinc,scrollbarvertical sliderarrowdec,scrollbarhorizontal sliderarrowinc,scrollbarhorizontal sliderarrowdec {display:none;}
|
||||
input[type=range] {height:60dp;padding:0;background-color:transparent;border-width:0;flex-shrink:0;}
|
||||
input[type=range] slidertrack {height:8dp;margin:26dp 0;background-color:var(--muted);border-radius:4dp;}
|
||||
input[type=range] sliderbar {width:36dp;height:36dp;margin-top:12dp;background-color:var(--accent);border:4dp var(--strong);border-radius:18dp;}
|
||||
input[type=range] sliderarrowinc,input[type=range] sliderarrowdec {display:none;}
|
||||
input[type=checkbox] {width:38dp;height:38dp;padding:0;border-radius:9dp;}
|
||||
input[type=checkbox]:checked {background-color:var(--accent);}
|
||||
h1,h2,h3,p {margin:0;}
|
||||
h1 {font-size:40dp;font-weight:bold;}
|
||||
h2 {font-size:38dp;font-weight:normal;}
|
||||
h3 {font-size:31dp;font-weight:bold;}
|
||||
.small {font-size:26dp;color:var(--muted);}
|
||||
.muted {color:var(--muted);}
|
||||
.accent {color:var(--accent);}
|
||||
/* Monetary meaning stays independent of the skin highlight colour. */
|
||||
.money-amount {color:var(--money);}
|
||||
.money-amount.is-negative {color:var(--danger);}
|
||||
.row {display:flex;align-items:center;gap:24dp;}
|
||||
.column {display:flex;flex-direction:column;gap:24dp;}
|
||||
.center {text-align:center;}
|
||||
.grow {flex:1;}
|
||||
.fill {position:absolute;left:0;top:0;width:100%;height:100%;}
|
||||
.clip {overflow:hidden;}
|
||||
.image-frame {overflow:hidden;display:flex;align-items:center;justify-content:center;}
|
||||
.center>.image-frame {margin-left:auto;margin-right:auto;}
|
||||
.front-shade {decorator:linear-gradient(90deg,#061019f5,#08131dea 29%,#09151d8c 55%,#07131c33 80%);}
|
||||
.brand {position:absolute;left:320dp;top:340dp;}
|
||||
.brand p {font-size:28dp;letter-spacing:10dp;color:#9cb7c3;margin:0 0 28dp 8dp;}
|
||||
.brand h1 {font-size:174dp;letter-spacing:-7dp;color:#f0f4f5;font-weight:bold;}
|
||||
.brand span {color:#a9d5c9;}
|
||||
.main-options {position:absolute;left:308dp;top:764dp;width:1250dp;}
|
||||
.main-options button {display:block;width:100%;height:128dp;margin-bottom:18dp;padding:18dp 38dp;background-color:transparent;border-color:transparent;text-align:left;font-size:59dp;font-weight:normal;color:#d3dfe7;}
|
||||
.main-options button {display:flex;align-items:center;justify-content:flex-start;}
|
||||
.main-options button:hover,.main-options button:focus {background-color:#b5dbd51a;border-color:#c6e3df26;color:#ecf9f4;}
|
||||
.main-options button:disabled {color:#7a8f9e;}
|
||||
.main-options small {font-size:25dp;margin-left:36dp;}
|
||||
.front-footer {position:absolute;left:346dp;right:180dp;bottom:140dp;display:flex;align-items:flex-end;justify-content:space-between;color:#bacdd7;}
|
||||
.front-footer p {font-size:29dp;}
|
||||
.front-footer small {font-size:22dp;color:#849dad;}
|
||||
.window {position:absolute;left:560dp;top:60dp;width:2720dp;height:2040dp;overflow:hidden;border:2dp var(--border);border-radius:30dp;decorator:linear-gradient(155deg,var(--menu-top),var(--menu-bottom));backdrop-filter:blur(36dp);box-shadow:0dp 12dp 36dp #0008;}
|
||||
.titlebar {position:absolute;left:0;top:0;width:100%;height:108dp;display:flex;align-items:center;padding:0 28dp;border-bottom:2dp var(--border);background-color:var(--soft);}
|
||||
.titlebar h1 {flex:1;text-align:center;margin-right:76dp;}
|
||||
.close {width:76dp;height:76dp;padding:0;border-width:0;background-color:transparent;}
|
||||
.close span {display:block;width:48dp;height:48dp;margin:13dp;border-radius:24dp;background-color:#fa6a60;color:#592420;font-size:37dp;text-align:center;}
|
||||
.content {position:absolute;left:52dp;right:52dp;top:148dp;bottom:24dp;overflow:hidden;}
|
||||
.panel {border:2dp var(--border);border-radius:18dp;background-color:var(--panel);overflow:hidden;}
|
||||
.toolbar {display:flex;align-items:center;gap:24dp;}
|
||||
.toolbar button,.toolbar select {min-height:86dp;}
|
||||
.bottom-controls {position:absolute;left:0;right:0;bottom:0;height:94dp;display:flex;gap:24dp;}
|
||||
.bottom-controls button,.bottom-controls select {flex:1;height:94dp;}
|
||||
.list {overflow:auto;}
|
||||
.table {width:100%;display:table;font-size:36dp;}
|
||||
.table .tr {display:table-row;}
|
||||
.table .th,.table .td {display:table-cell;vertical-align:middle;padding:12dp 16dp;height:78dp;border-bottom:1dp var(--border);}
|
||||
.table .th {font-size:30dp;color:var(--muted);}
|
||||
.table .tr.odd {background-color:var(--soft);}
|
||||
.table .tr:hover {background-color:var(--hover);}
|
||||
.table button {background-color:transparent;border-width:0;padding:0;text-align:left;font-size:36dp;}
|
||||
.table .control-button {justify-content:flex-start;}
|
||||
.table .th.center .control-button {justify-content:center;}
|
||||
.table .th button {font-size:30dp;}
|
||||
.club-label {display:flex;align-items:center;gap:20dp;}
|
||||
.club-label img {flex-shrink:0;}
|
||||
.rank {width:75dp;text-align:right;color:var(--muted);}
|
||||
.info-bar {position:absolute;left:0;top:0;width:100%;height:148dp;display:flex;align-items:center;gap:64dp;padding:0 64dp;border-bottom:2dp var(--border);decorator:linear-gradient(145deg,var(--desk-top),var(--desk-bottom));backdrop-filter:blur(48dp);}
|
||||
.identity {display:flex;align-items:center;gap:26dp;min-width:650dp;padding:0;background-color:transparent;border-width:0;text-align:left;}
|
||||
.identity {justify-content:flex-start;}
|
||||
.identity strong {font-size:38dp;}
|
||||
.identity small {display:block;font-size:27dp;color:var(--muted);margin-top:8dp;}
|
||||
.info-date {margin-left:auto;min-width:430dp;font-size:34dp;}
|
||||
.info-date small {display:block;font-size:27dp;color:var(--muted);margin-top:8dp;}
|
||||
.info-cash {min-width:450dp;padding-left:58dp;border-left:2dp var(--border);}
|
||||
.info-cash small {display:block;font-size:27dp;color:var(--muted);}
|
||||
.info-cash strong {font-size:40dp;color:var(--money);}
|
||||
.desktop-card {position:absolute;border:2dp var(--border);border-radius:36dp;decorator:linear-gradient(145deg,var(--desk-top),var(--desk-bottom));backdrop-filter:blur(34dp);overflow:hidden;}
|
||||
.desktop-card.pinned {border-color:var(--border);}
|
||||
.card-heading {position:absolute;left:30dp;right:30dp;top:22dp;color:var(--muted);font-size:25dp;}
|
||||
.card-button {position:absolute;background-color:transparent;border-width:0;padding:0;}
|
||||
.calendar-link {display:flex;align-items:center;gap:18dp;padding:18dp 28dp;justify-content:flex-start;}
|
||||
.calendar-arrow {margin-left:auto;}
|
||||
.desktop-app {position:absolute;width:224dp;height:224dp;padding:0;background-color:transparent;border-width:0;text-align:center;}
|
||||
.app-tile {position:absolute;left:25dp;top:0;width:174dp;height:174dp;padding:12dp;border:2dp #e3efff59;border-radius:42dp;decorator:linear-gradient(140deg,#597d8e,#274956);box-shadow:0dp 12dp 25dp #0005;}
|
||||
.app-name {position:absolute;left:-20dp;top:190dp;width:264dp;font-size:29dp;color:#f6f8fa;}
|
||||
.desktop-app:hover .app-tile {background-color:#ffffff20;}
|
||||
body.matchday .app-tile {border-radius:32dp;border-color:#dbdfe33d;}
|
||||
body.silver .app-tile {border-color:#edf7ff99;}
|
||||
.pin-dot {position:absolute;right:16dp;top:16dp;width:14dp;height:14dp;border-radius:7dp;background-color:var(--accent);}
|
||||
.field-row {display:flex;align-items:center;justify-content:space-between;gap:28dp;min-height:112dp;padding:20dp 0;border-bottom:2dp var(--border);}
|
||||
.field-row label {flex:1;font-size:32dp;}
|
||||
.field-row input,.field-row select {width:540dp;}
|
||||
.choice {padding:24dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);}
|
||||
.choice.selected {background-color:var(--selected);border-color:var(--accent);}
|
||||
.choice.locked {opacity:0.4;}
|
||||
#popup {position:absolute;left:0;top:0;width:100%;height:100%;display:none;align-items:center;justify-content:center;z-index:200;}
|
||||
#popup.visible {display:flex;}
|
||||
.popup-backdrop {background-color:#08101980;}
|
||||
.popup-box {position:relative;width:1500dp;padding:50dp;border:2dp var(--border);border-radius:24dp;background-color:var(--strong);}
|
||||
.popup-box h2 {margin-bottom:30dp;}
|
||||
.popup-box p {font-size:32dp;line-height:1.5;margin-bottom:30dp;}
|
||||
.popup-box footer {display:flex;justify-content:flex-end;gap:20dp;}
|
||||
#toast {position:absolute;left:50%;bottom:20dp;width:1100dp;margin-left:-550dp;padding:18dp 30dp;border:2dp var(--border);border-radius:18dp;background-color:var(--strong);text-align:center;font-size:27dp;display:none;z-index:250;}
|
||||
#desktop-context {display:none;position:absolute;width:280px;padding:6px;border:1px var(--border);border-radius:12px;background-color:var(--strong);z-index:180;box-shadow:0px 8px 24px #0005;}
|
||||
#desktop-context button {display:block;width:100%;padding:9px 12px;border:0px;border-radius:6px;background-color:transparent;text-align:left;font-size:15px;}
|
||||
#desktop-context .control-button {display:flex;justify-content:flex-start;}
|
||||
#desktop-context button:hover {background-color:var(--selected);}
|
||||
#desktop-context .separator {height:1px;margin:5px;background-color:var(--border);}
|
||||
.gallery-card {position:absolute;width:800dp;height:440dp;padding:30dp;}
|
||||
.gallery-card h2 {font-size:32dp;margin-bottom:24dp;}
|
||||
.gallery-card p {font-size:26dp;color:var(--muted);margin:15dp 0;}
|
||||
.gallery-card button {font-size:26dp;}
|
||||
|
||||
label,input[type=checkbox],input[type=radio],input[type=range] {cursor:arrow;}
|
||||
/* Native SDL names: game controls use arrow, editing retains the I-beam. */
|
||||
input[type=text],input[type=search],input[type=number],input[type=password],textarea {cursor:text;}
|
||||
a[href] {cursor:pointer;}
|
||||
@@ -0,0 +1,36 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
/* Font size is set in physical px by TicketPopover, independently of desktop dp. */
|
||||
#native-ticket-layer {
|
||||
position:absolute;left:0;top:0;width:100%;height:100%;z-index:100000;
|
||||
font-family:Modern;color:var(--text);line-height:1.35;
|
||||
}
|
||||
#native-ticket-panel {
|
||||
position:absolute;box-sizing:border-box;width:23.571429em;height:14em;min-height:14em;
|
||||
display:flex;flex-direction:column;gap:0.571429em;padding:0.857143em;
|
||||
border:0.071429em var(--border);border-radius:0.857143em;background-color:var(--strong);
|
||||
box-shadow:0px 0.571429em 2.142857em #0006;overflow:auto;font-size:1em;
|
||||
}
|
||||
#native-ticket-panel h2 {font-size:1.142857em;font-weight:bold;margin:0;}
|
||||
.native-ticket-heading {display:flex;justify-content:space-between;align-items:center;gap:0.857143em;}
|
||||
.native-ticket-heading span {font-size:1em;color:var(--muted);white-space:nowrap;}
|
||||
.native-ticket-editor {display:flex;flex-direction:column;gap:0.142857em;text-align:center;}
|
||||
#native-ticket-amount,.native-ticket-review strong {font-size:1.857143em;line-height:1.2;font-weight:bold;color:var(--money);}
|
||||
#native-ticket-range {width:100%;height:2em;min-height:0em;margin:0;padding:0;border-width:0em;background-color:transparent;font-size:1em;}
|
||||
#native-ticket-range slidertrack {height:0.285714em;margin:0.857143em 0em;background-color:var(--muted);border-radius:0.142857em;}
|
||||
#native-ticket-range sliderbar {box-sizing:border-box;width:1.285714em;height:1.285714em;margin-top:0.357143em;background-color:var(--accent);border:0.142857em var(--strong);border-radius:0.642857em;}
|
||||
#native-ticket-range sliderarrowdec,#native-ticket-range sliderarrowinc {width:0em;height:0em;}
|
||||
.native-ticket-limits {display:flex;justify-content:space-between;font-size:1em;color:var(--muted);}
|
||||
.native-ticket-review {gap:0.571429em;}
|
||||
.native-ticket-review p {margin:0;font-size:1em;}
|
||||
.native-ticket-arrow {display:inline-block;position:relative;width:0.8em;height:0.55em;vertical-align:middle;}
|
||||
.native-ticket-arrow-line {position:absolute;left:0em;top:0.25em;width:0.7em;border-top:0.06em var(--muted);}
|
||||
.native-ticket-arrow-head {position:absolute;left:0.42em;top:0.1em;width:0.25em;height:0.25em;border-top:0.06em var(--muted);border-right:0.06em var(--muted);transform:rotate(45deg);}
|
||||
#native-ticket-error {margin:0;font-size:1em;color:var(--danger);}
|
||||
.native-ticket-actions {display:flex;justify-content:flex-end;gap:0.428571em;margin-top:auto;}
|
||||
#native-ticket-panel button {
|
||||
box-sizing:border-box;min-height:2.428571em;padding:0.428571em 0.714286em;border:0.071429em var(--border);
|
||||
border-radius:0.428571em;background-color:var(--soft);font-size:1em;color:var(--text);white-space:nowrap;
|
||||
}
|
||||
#native-ticket-panel button:hover {background-color:var(--hover);}
|
||||
#native-ticket-panel button.native-ticket-primary {background-color:var(--selected);border-color:var(--accent);}
|
||||
#native-ticket-panel button:focus-visible,#native-ticket-range:focus-visible {border-color:var(--accent);}
|
||||
@@ -0,0 +1,103 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.toto-native {position:absolute;left:0;top:0;right:0;bottom:0;}
|
||||
.toto-program {position:absolute;left:0;top:0;width:1116.265625dp;height:1614dp;padding:28dp;border:2dp var(--border);border-radius:18dp;background-color:var(--panel);overflow:hidden;}
|
||||
.toto-program>header {position:absolute;left:28dp;right:28dp;top:28dp;height:176dp;padding:8dp 10dp;border-bottom:2dp var(--border);}
|
||||
.toto-program>header>p {margin:0 0 8dp;font-size:24dp;line-height:28dp;color:var(--muted);}
|
||||
.toto-program h2 {margin:0 0 14dp;font-size:42dp;font-weight:bold;line-height:48dp;}
|
||||
.toto-program>header>span {font-size:27dp;line-height:31dp;}
|
||||
.toto-program-head {position:absolute;left:28dp;right:28dp;top:204dp;height:94dp;padding:0 12dp 16dp;border-bottom:2dp var(--border);display:flex;align-items:flex-end;gap:20dp;color:var(--muted);font-size:24dp;}
|
||||
.toto-program-head>span {width:90dp;flex-shrink:0;line-height:28dp;}
|
||||
.toto-program-head>span:nth-child(2) {flex:1;width:auto;text-align:center;}
|
||||
.toto-program-head>span:last-child {text-align:right;}
|
||||
.toto-match-row {position:absolute;left:28dp;right:28dp;height:82dp;padding:5dp 12dp;border-bottom:2dp var(--border);display:flex;align-items:center;gap:20dp;}
|
||||
.toto-match-row.striped {background-color:var(--soft);}
|
||||
.toto-match-number {width:90dp;flex-shrink:0;font-size:28dp;}
|
||||
.toto-match-league {width:90dp;flex-shrink:0;font-size:23dp;text-align:right;color:var(--muted);white-space:nowrap;}
|
||||
.toto-match-teams {display:flex;align-items:center;gap:10dp;flex:1;min-width:0;}
|
||||
.toto-match-teams>div {display:flex;align-items:center;flex:1;min-width:0;}
|
||||
.toto-home {justify-content:flex-end;}
|
||||
.toto-away {justify-content:flex-start;}
|
||||
.toto-versus {width:32dp;flex-shrink:0;text-align:center;font-size:28dp;color:var(--muted);}
|
||||
.toto-club-label {display:flex;align-items:center;gap:10dp;max-width:100%;min-width:0;font-size:26dp;line-height:34dp;}
|
||||
.toto-club-label .image-frame {flex-shrink:0;}
|
||||
.toto-club-name {display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
|
||||
.toto-home .toto-club-name {text-align:right;}
|
||||
.toto-program-note {position:absolute;left:38dp;right:38dp;top:1228dp;font-size:24dp;line-height:36dp;color:var(--muted);margin:0;}
|
||||
.toto-coupon {position:absolute;left:1152.265625dp;top:0;width:1459.734375dp;height:1614dp;padding:28dp;border:2dp #dfc9b9;border-radius:4dp;background-color:#fff8ed;color:#bd302c;overflow:hidden;box-shadow:0dp 18dp 40dp #0004;}
|
||||
.toto-print-mark {position:absolute;left:8dp;width:5dp;height:40dp;background-color:#bd302c;}
|
||||
.toto-print-mark.top {top:30dp;}.toto-print-mark.bottom {bottom:30dp;}
|
||||
.toto-paper-heading {position:absolute;left:28dp;right:28dp;top:28dp;height:154dp;border-bottom:3dp #bd302c;display:flex;align-items:center;justify-content:space-between;}
|
||||
.toto-paper-brand {width:40%;}
|
||||
.toto-paper-brand>strong {display:block;font-size:76dp;font-weight:bold;letter-spacing:-6dp;line-height:68.4dp;transform:skewX(-8deg);}
|
||||
.toto-paper-brand h2 {margin:12dp 0 0;font-size:28dp;font-weight:bold;letter-spacing:3dp;line-height:33.6dp;color:#bd302c;}
|
||||
.toto-paper-caption {display:flex;flex-direction:column;gap:12dp;align-items:flex-end;width:55%;}
|
||||
.toto-paper-caption>strong,.toto-paper-caption>span,.toto-paper-caption>small {display:block;width:100%;text-align:right;}
|
||||
.toto-paper-caption>strong {font-size:35dp;line-height:42dp;font-weight:normal;}
|
||||
.toto-paper-caption>span {font-size:25dp;line-height:30dp;}
|
||||
.toto-paper-caption>small {font-size:22dp;line-height:26.4dp;}
|
||||
.toto-field {position:absolute;top:182dp;width:221.619792dp;height:1066dp;}
|
||||
.toto-column-heading {position:absolute;left:0;top:0;width:100%;height:74dp;padding:0 12dp;border:0dp;border-bottom:3dp transparent;border-radius:0dp;background-color:transparent;color:#bd302c;display:flex;align-items:center;justify-content:space-between;gap:8dp;}
|
||||
.toto-column-heading>span {display:block;font-size:23dp;white-space:nowrap;}
|
||||
.toto-column-heading>strong {display:block;width:34dp;height:36dp;line-height:36dp;text-align:center;flex-shrink:0;font-size:26dp;font-weight:normal;background-color:#bd302c;color:#fff8ed;}
|
||||
.selected-column .toto-column-heading {border-bottom-color:#bd302c;background-color:#bd302c0a;}
|
||||
.toto-column-heading:hover {background-color:#bd302c13;}
|
||||
.toto-pick-head {position:absolute;left:0;top:74dp;width:100%;height:42dp;border-bottom:2dp #bd302c;font-size:24dp;text-align:center;}
|
||||
.toto-pick-head>span {position:absolute;top:0;height:40dp;line-height:40dp;}
|
||||
.toto-pick-head>span:first-child {font-size:17dp;}
|
||||
.toto-pick-row {position:absolute;left:0;width:100%;height:82dp;border-bottom:1dp #d1554f55;}
|
||||
.toto-row-number {position:absolute;left:0;top:8.5dp;width:28dp;height:64dp;line-height:64dp;text-align:center;background-color:#bd302c;color:#fff8ed;font-size:24dp;}
|
||||
.toto-pick {position:absolute;top:8.5dp;height:64dp;display:flex;align-items:center;justify-content:center;padding:0;border:2dp #cd4740;border-radius:0dp;background-color:transparent;color:#c0443d;font-size:28dp;}
|
||||
.toto-pick:hover {background-color:#bd302c0c;}.toto-pick[aria-pressed=true] {color:#c06a63;}
|
||||
.toto-pick:focus-visible,.toto-column-heading:focus-visible {box-shadow:0dp 0dp 0dp 3dp #253e62;background-color:#253e6210;}
|
||||
.toto-pick-value {display:block;width:100%;line-height:34dp;text-align:center;}
|
||||
.toto-cross {position:absolute;left:-2dp;top:-2dp;width:59.53993dp;height:64dp;pointer-events:none;}
|
||||
.toto-field-progress {position:absolute;top:1018dp;left:0;width:100%;height:48dp;line-height:48dp;text-align:center;margin:0;font-size:19dp;color:#a53a33;}
|
||||
.toto-paper-footer {position:absolute;left:28dp;right:28dp;top:1248dp;padding-top:16dp;border-top:2dp #bd302c;}
|
||||
.toto-paper-footer p {margin:0 0 10dp;font-size:23dp;line-height:27.6dp;text-align:center;}
|
||||
.toto-paper-footer strong {font-weight:bold;}.toto-paper-footer b {font-weight:normal;margin:0 12dp;}
|
||||
.toto-paper-footer>span {display:block;font-size:22dp;line-height:30.8dp;}
|
||||
.toto-paper-footer>small {display:block;margin-top:12dp;padding-top:10dp;border-top:2dp #bd302c66;font-size:18dp;line-height:21.6dp;letter-spacing:.6dp;}
|
||||
.toto-status {position:absolute;left:0;right:0;top:1644dp;height:92dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;font-size:28dp;color:var(--muted);}
|
||||
.toto-status>div {display:flex;flex-direction:column;gap:12dp;width:60%;}
|
||||
.toto-status>div>strong {display:block;width:100%;font-size:30dp;font-weight:normal;color:var(--text);line-height:35dp;}
|
||||
.toto-status>div>span {display:block;width:100%;font-size:25dp;line-height:29dp;}
|
||||
.toto-status>p {margin:0;white-space:nowrap;}.toto-status>p>strong {margin-left:24dp;font-size:34dp;font-weight:normal;color:var(--accent);}
|
||||
.toto-nav {position:absolute;left:0;right:0;bottom:0;height:94dp;display:flex;gap:20dp;}
|
||||
.toto-control {display:flex;align-items:center;justify-content:center;flex:1;min-width:0;padding:8dp 15dp;border:2dp var(--border);border-radius:12dp;background-color:transparent;decorator:linear-gradient(180deg,#c1d1e31c,#869eb312);font-size:30dp;}
|
||||
.toto-control>span {display:block;width:100%;white-space:nowrap;text-align:center;}
|
||||
.toto-layer {position:absolute;left:0;right:0;top:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#08101980;z-index:30;}
|
||||
.toto-dialog {width:2484dp;padding:40dp 52dp;border:2dp var(--border);border-radius:22dp;background-color:#283542f5;font-size:36dp;box-shadow:0dp 24dp 70dp #0007;}
|
||||
.toto-dialog h2 {width:100%;font-size:42dp;line-height:48dp;font-weight:bold;letter-spacing:-.4dp;text-align:center;margin:0 0 35dp;}
|
||||
.toto-dialog.receipt {height:1172dp;background-color:#283542;}
|
||||
.toto-receipt {width:100%;height:820dp;overflow-y:auto;}
|
||||
.toto-receipt-row {display:flex;height:64dp;width:100%;font-size:34dp;}
|
||||
.toto-receipt-row>span {display:block;flex-shrink:0;height:64dp;line-height:64dp;text-align:center;}
|
||||
.toto-receipt-row.head {color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.toto-receipt-row.striped {background-color:#38706b19;}
|
||||
.toto-receipt-total {margin:30dp 0 0;font-size:30dp;line-height:45dp;text-align:right;color:var(--accent);}
|
||||
.toto-notice {margin:36dp 0;line-height:54dp;}
|
||||
.toto-dialog-actions {display:flex;height:65dp;width:100%;margin-top:45dp;}
|
||||
.toto-dialog-actions .toto-control {font-size:32dp;}
|
||||
body.midnight .toto-program {background-color:#12243140;border-color:#c5d9e726;}
|
||||
body.midnight .toto-program>header>p {color:#97afc2;}
|
||||
body.midnight .toto-program h2 {color:#e5edf3;}
|
||||
body.midnight .toto-program>header>span {color:#b4c7d6;}
|
||||
body.midnight .toto-match-row.striped {background-color:#c5d9e704;}
|
||||
body.midnight .toto-match-row {border-color:#c5d9e717;}
|
||||
body.midnight .toto-club-label {color:#d7e3ec;}
|
||||
body.midnight .toto-away .toto-club-label {color:#a9bfce;}
|
||||
body.midnight .toto-program-note {color:#91aabb;}
|
||||
body.midnight .toto-status {color:#9eb7c8;}
|
||||
body.midnight .toto-status>div>strong {color:#d1e3ec;}
|
||||
body.midnight .toto-status>p>strong,body.midnight .toto-receipt-total {color:#cce5dc;}
|
||||
body.silver .toto-control {decorator:linear-gradient(180deg,#ffffffb0,#bfd0e259);}
|
||||
body.matchday .toto-control {decorator:linear-gradient(180deg,#e8d6dc12,#a1a0aa0d);}
|
||||
body.silver .toto-dialog,body.silver .toto-dialog.receipt {background-color:#eaf1f7fc;}
|
||||
body.matchday .toto-dialog,body.matchday .toto-dialog.receipt {background-color:#2c2c32fc;}
|
||||
.toto-dialog.notice {position:relative;height:332dp;}
|
||||
.toto-dialog.notice .toto-notice {position:absolute;left:52dp;right:52dp;top:124dp;height:54dp;margin:0;}
|
||||
.toto-dialog.notice .toto-dialog-actions {position:absolute;left:52dp;right:52dp;top:223dp;width:auto;height:65dp;margin:0;}
|
||||
.toto-program>header>span {position:absolute;left:10dp;top:125.5dp;height:31dp;line-height:31dp;}
|
||||
|
||||
.toto-dialog.receipt.settlement {height:auto;width:1600dp;}
|
||||
.toto-dialog.settlement .toto-receipt {height:auto;max-height:500dp;}
|
||||
@@ -0,0 +1,188 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.transfer-overview {position:absolute;left:0;right:0;top:0;bottom:0;font-size:34dp;color:var(--text);}
|
||||
.transfer-heading {position:absolute;left:0;right:0;top:0;height:106dp;display:flex;align-items:center;justify-content:space-between;}
|
||||
.transfer-heading h2 {font-size:36dp;font-weight:normal;line-height:41dp;}
|
||||
.transfer-heading>div {text-align:right;}
|
||||
.transfer-heading>div>span {display:block;width:100%;font-size:25dp;line-height:29dp;color:var(--muted);}
|
||||
.transfer-heading>div>strong {display:block;width:100%;margin-top:8dp;font-size:40dp;line-height:46dp;font-weight:normal;color:var(--accent);}
|
||||
.transfer-columns {position:absolute;left:0;right:0;top:134dp;bottom:132dp;}
|
||||
.transfer-roster {position:absolute;left:0;top:0;bottom:0;width:1480.96875dp;}
|
||||
.transfer-complete .transfer-roster {width:2612dp;}
|
||||
.transfer-roster>header {position:absolute;left:0;right:0;top:0;height:50dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;}
|
||||
.transfer-roster h2,.transfer-market header h2 {font-size:30dp;font-weight:normal;line-height:35dp;}
|
||||
.transfer-roster>header>span {display:block;font-size:23dp;line-height:27dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-roster-scroll {position:absolute;left:0;right:0;top:58dp;bottom:48dp;border:2dp var(--border);border-radius:16dp;background-color:var(--soft);overflow:auto;}
|
||||
.transfer-roster-table {min-width:1250dp;width:100%;font-size:34dp;}
|
||||
.transfer-roster-row {display:flex;height:86dp;align-items:center;}
|
||||
.transfer-roster-row.head {height:62dp;font-size:30dp;line-height:35dp;color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.transfer-roster-row.striped {background-color:#e3edf605;}
|
||||
.transfer-roster-row.selected {background-color:var(--selected);}
|
||||
.transfer-roster-row>div {height:100%;padding:6dp 8dp;flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:0;}
|
||||
.transfer-roster-row>div>span {display:block;width:100%;text-align:center;white-space:nowrap;}
|
||||
.transfer-roster-row>div:first-child {justify-content:flex-start;}
|
||||
.transfer-roster-row.head>div:first-child>span {text-align:left;}
|
||||
.transfer-name-cell button {width:100%;padding:4dp 0;font-size:34dp;text-align:left;display:flex;align-items:center;gap:12dp;border:0dp;background-color:transparent;min-width:0;}
|
||||
.transfer-player-rank {display:block;width:45dp;flex-shrink:0;text-align:right;color:var(--muted);}
|
||||
.transfer-player-name {display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-listed {color:#df9990;}
|
||||
.transfer-list-marker {display:block;width:20dp;flex-shrink:0;color:#d68e85;font-size:16dp;}
|
||||
.transfer-roster-note {position:absolute;left:0;right:0;bottom:0;font-size:23dp;line-height:27dp;color:var(--muted);}
|
||||
.transfer-trait {display:inline-block;min-width:32dp;text-align:center;font-size:27dp;color:var(--muted);}
|
||||
.transfer-nation {display:inline-block;width:36dp;height:24dp;flex-shrink:0;text-transform:uppercase;font-size:20dp;line-height:24dp;color:var(--muted);}
|
||||
.transfer-market {position:absolute;left:1514.96875dp;top:0;bottom:0;width:1097.03125dp;overflow:auto;}
|
||||
.transfer-market-content {position:relative;width:1087.03125dp;height:1598dp;}
|
||||
.transfer-market-content>header {position:absolute;left:0;right:0;top:0;height:60dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;}
|
||||
.transfer-market-content>header>span {font-size:27dp;line-height:31dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-name-search {position:absolute;left:0;right:0;top:72dp;height:78dp;display:flex;gap:16dp;}
|
||||
.transfer-name-search input {flex:1;min-width:0;width:0;padding:12dp 20dp;font-size:32dp;border:2dp var(--border);border-radius:12dp;background-color:#111f2a80;color:var(--text);}
|
||||
.transfer-name-search button {width:142dp;flex-shrink:0;font-size:25dp;}
|
||||
.transfer-offers {position:absolute;left:0;right:0;top:162dp;height:764.71875dp;}
|
||||
.transfer-market-player {position:absolute;display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:8dp;padding:10dp 22dp;border:2dp var(--border);border-radius:12dp;background-color:var(--soft);color:var(--text);text-align:left;}
|
||||
.transfer-market-player:hover {background-color:#c5d9e712;}
|
||||
.transfer-market-player.selected {border-color:var(--accent);background-color:var(--selected);}
|
||||
.transfer-market-name {display:flex;align-items:center;gap:16dp;width:100%;font-size:34dp;line-height:39dp;}
|
||||
.transfer-market-name>strong {display:block;flex:1;min-width:0;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-market-name>span:not(.transfer-trait):not(.transfer-nation) {display:block;width:55dp;flex-shrink:0;font-size:28dp;color:var(--muted);}
|
||||
.transfer-market-attributes {display:flex;justify-content:space-between;gap:20dp;width:100%;padding-left:52dp;font-size:29dp;line-height:34dp;color:var(--muted);}
|
||||
.transfer-market-attributes>span {display:block;white-space:nowrap;}
|
||||
.transfer-market-attributes strong {font-weight:normal;color:var(--text);}
|
||||
.transfer-empty {position:absolute;left:0;right:0;top:180dp;text-align:center;font-size:29dp;color:var(--text);}
|
||||
.transfer-empty small {display:block;width:100%;margin-top:20dp;font-size:24dp;color:var(--muted);}
|
||||
.transfer-market-pages {position:absolute;left:0;right:0;top:938.71875dp;height:54dp;display:flex;align-items:center;justify-content:space-between;gap:16dp;font-size:23dp;color:var(--muted);}
|
||||
.transfer-market-pages>span {display:block;white-space:nowrap;}
|
||||
.transfer-market-pages button {min-width:70dp;height:46dp;padding:0;font-size:33dp;}
|
||||
.transfer-preview {position:absolute;left:0;right:0;top:1004.71875dp;height:159.28125dp;padding:14dp 22dp;border:2dp var(--border);border-radius:12dp;background-color:var(--soft);}
|
||||
.transfer-preview>p {font-size:33dp;line-height:38dp;height:38dp;white-space:nowrap;margin-bottom:12dp;overflow:hidden;}
|
||||
.transfer-preview .club-label {width:100%;min-width:0;gap:12dp;}
|
||||
.transfer-preview .club-label>span {display:block;min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-preview>div {display:flex;gap:20dp;}
|
||||
.transfer-preview>div>section {flex:1;min-width:0;}
|
||||
.transfer-preview section>span {display:block;width:100%;font-size:28dp;line-height:32dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-preview section>strong {display:block;width:100%;margin-top:5dp;font-size:33dp;line-height:38dp;font-weight:normal;color:var(--accent);white-space:nowrap;}
|
||||
.transfer-negative {color:#e79b92;}
|
||||
.transfer-filters {position:absolute;left:0;right:0;top:1208dp;height:76dp;display:flex;gap:12dp;}
|
||||
.transfer-filters button {flex:1;min-width:0;padding:8dp;font-size:25dp;}
|
||||
|
||||
.transfer-strengths {position:absolute;left:0;right:0;top:1296dp;height:160dp;}
|
||||
.transfer-strengths>header {height:54dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;}
|
||||
.transfer-strengths>header>nav {display:flex;gap:12dp;}
|
||||
.transfer-strengths button {height:50dp;min-width:128dp;padding:6dp 16dp;font-size:24dp;}
|
||||
.transfer-strengths p {font-size:23dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-strengths p>strong {font-weight:normal;color:var(--text);margin-left:10dp;}
|
||||
.transfer-strengths>div {display:flex;gap:12dp;margin-top:12dp;}
|
||||
.transfer-strengths>div>section {flex:1;min-width:0;text-align:center;border-left:1dp var(--border);}
|
||||
.transfer-strengths>div>section:first-child {border:0dp;}
|
||||
.transfer-strengths section>span {display:block;width:100%;font-size:27dp;line-height:31dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-strengths section>strong {display:block;width:100%;margin-top:10dp;font-size:42dp;line-height:48dp;font-weight:normal;color:var(--accent);}
|
||||
.transfer-business {position:absolute;left:0;right:0;top:1468dp;height:130dp;}
|
||||
.transfer-business>p {position:absolute;left:0;right:0;bottom:74dp;font-size:23dp;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-business>div {position:absolute;left:0;right:0;bottom:0;height:62dp;display:flex;gap:18dp;}
|
||||
.transfer-business button {flex:1;min-width:0;height:62dp;font-size:28dp;}
|
||||
.transfer-actions {position:absolute;left:0;right:0;bottom:0;height:94dp;display:flex;gap:18dp;}
|
||||
.transfer-actions button {flex:1;min-width:0;height:94dp;font-size:27dp;}
|
||||
.transfer-complete .transfer-roster-table {font-size:28dp;}
|
||||
.transfer-complete .transfer-roster-row.head {font-size:25dp;}
|
||||
.transfer-layer {position:absolute;left:0;right:0;top:0;bottom:0;z-index:35;display:flex;align-items:center;justify-content:center;background-color:#08101980;}
|
||||
.transfer-dialog {position:relative;width:2200dp;flex-shrink:0;border:2dp var(--border);border-radius:22dp;background-color:#283542f5;font-size:30dp;}
|
||||
.transfer-dialog>h2 {text-align:center;position:absolute;left:52dp;right:52dp;top:40dp;height:45dp;font-size:40dp;line-height:45dp;font-weight:bold;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-dialog-scroll {position:absolute;left:52dp;right:52dp;top:113dp;bottom:154dp;overflow:visible;}
|
||||
.transfer-dialog-actions {position:absolute;left:52dp;right:52dp;bottom:40dp;height:82dp;display:flex;gap:22dp;}
|
||||
.transfer-dialog-button {flex:1;min-width:0;height:82dp;font-size:29dp;}
|
||||
.transfer-dialog h3 {font-size:28dp;line-height:32dp;font-weight:normal;color:var(--text);}
|
||||
.transfer-offer-layout {position:relative;width:2092dp;height:939.5dp;}
|
||||
.transfer-offer-layout>header {position:absolute;left:0;right:0;top:0;height:111dp;padding-bottom:26dp;border-bottom:2dp var(--border);display:flex;align-items:center;gap:26dp;}
|
||||
.transfer-offer-person {flex:1;min-width:0;}
|
||||
.transfer-offer-person>strong {display:block;width:100%;font-size:36dp;line-height:42dp;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-offer-person>span {display:block;width:100%;margin-top:10dp;font-size:26dp;line-height:30dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-offer-club {width:44%;max-width:44%;flex-shrink:0;min-width:0;font-size:29dp;display:flex;justify-content:flex-end;}
|
||||
.transfer-offer-club .club-label {width:100%;min-width:0;max-width:100%;justify-content:flex-end;}
|
||||
.transfer-offer-club .image-frame {flex-shrink:0;}
|
||||
.transfer-offer-club .club-label>span {display:block;flex:0 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-demands {position:absolute;left:0;right:0;top:137dp;height:140dp;display:flex;gap:24dp;}
|
||||
.transfer-demands>section {flex:1;min-width:0;padding:24dp 28dp;border:2dp var(--border);border-radius:14dp;background-color:var(--soft);}
|
||||
.transfer-demands span {display:block;width:100%;font-size:26dp;line-height:30dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-demands strong {display:block;width:100%;margin-top:14dp;font-size:38dp;line-height:44dp;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-offer-your {position:absolute;left:0;right:0;top:301dp;}
|
||||
.transfer-offer-inputs {position:absolute;left:0;right:0;top:349dp;height:129dp;display:flex;gap:26dp;}
|
||||
.transfer-offer-inputs>div {flex:1;min-width:0;}
|
||||
.transfer-offer-inputs>div>span {display:block;width:100%;font-size:26dp;line-height:31dp;white-space:nowrap;}
|
||||
.transfer-offer-inputs button,.transfer-offer-inputs select {display:block;width:100%;height:82dp;margin-top:16dp;padding:12dp 20dp;border:2dp var(--border);border-radius:12dp;background-color:#111f2a80;color:var(--text);font-size:30dp;text-align:right;}
|
||||
.transfer-offer-inputs select {text-align:left;padding-right:40dp;}
|
||||
.transfer-offer-premiums {position:absolute;left:0;right:0;top:502dp;height:376dp;}
|
||||
.transfer-premium-row {position:absolute;display:flex;align-items:center;justify-content:space-between;gap:24dp;border-bottom:2dp var(--border);font-size:27dp;}
|
||||
.transfer-premium-row>span {display:block;flex:1;min-width:0;white-space:nowrap;}
|
||||
.transfer-premium-row button {width:150dp;flex-shrink:0;height:60dp;font-size:30dp;}
|
||||
.transfer-offer-note {position:absolute;left:0;right:0;top:902dp;font-size:25dp;line-height:37.5dp;color:var(--muted);}
|
||||
.transfer-search-editor {position:relative;width:2092dp;height:628dp;}
|
||||
.transfer-search-kind {position:absolute;left:0;right:0;top:0;height:116dp;}
|
||||
.transfer-search-kind>nav,.transfer-search-traits>nav {display:flex;gap:18dp;margin-top:14dp;}
|
||||
.transfer-search-kind button,.transfer-search-traits button {flex:1;min-width:0;height:70dp;font-size:28dp;}
|
||||
|
||||
.transfer-search-ranges {position:absolute;left:0;right:0;top:138dp;height:128dp;}
|
||||
.transfer-search-ranges>div {position:absolute;display:flex;align-items:center;gap:20dp;font-size:27dp;line-height:31dp;}
|
||||
.transfer-search-ranges span {display:block;width:160dp;flex-shrink:0;white-space:nowrap;}
|
||||
.transfer-search-ranges input {display:block;flex:1;min-width:0;height:16dp;}
|
||||
.transfer-search-ranges output {display:block;width:60dp;flex-shrink:0;text-align:right;color:#e1b3aa;}
|
||||
.transfer-search-traits {position:absolute;left:0;right:0;top:288dp;height:116dp;}
|
||||
.transfer-search-space {position:absolute;left:0;right:0;top:426dp;height:76dp;display:flex;gap:45dp;}
|
||||
.transfer-search-space>div {display:flex;align-items:center;justify-content:space-between;gap:20dp;flex:1;min-width:0;font-size:27dp;}
|
||||
.transfer-search-space span {display:block;white-space:nowrap;}
|
||||
.transfer-search-space select {width:63%;height:76dp;padding:12dp 40dp 12dp 20dp;font-size:30dp;border:2dp var(--border);border-radius:12dp;background-color:#111f2a80;color:var(--text);text-align:left;}
|
||||
.transfer-search-budget {position:absolute;left:0;right:0;top:524dp;height:104dp;border-top:2dp var(--border);padding-top:20dp;display:flex;align-items:center;justify-content:space-between;font-size:29dp;}
|
||||
.transfer-search-budget>span {display:block;white-space:nowrap;}
|
||||
.transfer-search-budget button {width:490dp;height:82dp;font-size:30dp;text-align:right;padding:12dp 20dp;}
|
||||
.transfer-player-info {position:relative;width:2092dp;height:551dp;}
|
||||
.transfer-info-photo {position:absolute;left:0;top:0;width:440dp;height:550dp;border-radius:20dp;overflow:hidden;background-color:var(--soft);display:flex;align-items:center;justify-content:center;}
|
||||
.transfer-info-photo>span {display:block;font-size:50dp;}
|
||||
.transfer-info-facts {position:absolute;left:485dp;right:0;top:0;height:551dp;}
|
||||
.transfer-info-facts>div {position:absolute;border-bottom:2dp var(--border);padding-bottom:16dp;}
|
||||
.transfer-info-facts span {display:block;width:100%;font-size:25dp;line-height:29dp;color:var(--muted);white-space:nowrap;}
|
||||
.transfer-info-facts strong {display:block;width:100%;font-size:30dp;line-height:35dp;font-weight:normal;margin-top:10dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-team-info>h3 {font-size:34dp;margin:20dp 0;}
|
||||
.transfer-info-table-row {display:flex;height:92dp;align-items:center;font-size:30dp;}
|
||||
.transfer-info-table-row.head {height:66dp;color:var(--muted);}
|
||||
.transfer-info-table-row>span {display:block;width:27.5%;text-align:center;}
|
||||
.transfer-info-table-row>span:first-child {width:45%;text-align:left;}
|
||||
.transfer-poach {position:relative;width:2092dp;height:869dp;}
|
||||
.transfer-poach>p {font-size:28dp;line-height:42dp;color:var(--muted);}
|
||||
.transfer-poach-pickers {position:absolute;left:0;right:0;top:68dp;height:94dp;display:flex;gap:24dp;}
|
||||
.transfer-poach-pickers select {width:1034dp;height:94dp;border:2dp var(--border);border-radius:12dp;background-color:var(--soft);font-size:30dp;padding:12dp 40dp 12dp 24dp;text-align:left;}
|
||||
.transfer-poach-clubs {position:absolute;left:0;right:0;top:186dp;height:684dp;overflow:auto;}
|
||||
.transfer-poach-clubs button {position:absolute;padding:16dp 20dp;text-align:left;}
|
||||
.transfer-poach-clubs .club-label {width:100%;min-width:0;gap:18dp;}
|
||||
.transfer-poach-clubs .club-label>span {display:block;flex:1;min-width:0;font-size:26dp;white-space:normal;}
|
||||
.transfer-poach-roster,.transfer-order-list {position:relative;max-height:1030dp;overflow:auto;}
|
||||
.transfer-poach-row {display:flex;height:74dp;align-items:center;font-size:30dp;}
|
||||
.transfer-poach-row.head,.transfer-order-row.head {color:var(--muted);border-bottom:2dp var(--border);}
|
||||
.transfer-poach-row>button,.transfer-poach-row>span:first-child {display:block;width:38%;flex-shrink:0;font-size:30dp;text-align:left;}
|
||||
.transfer-poach-row>span {display:block;width:15.5%;flex-shrink:0;text-align:center;white-space:nowrap;}
|
||||
.transfer-order-row {display:flex;height:74dp;align-items:center;font-size:30dp;}
|
||||
.transfer-order-row>span {display:block;width:20%;padding:6dp 8dp;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
|
||||
.transfer-order-row>span:first-child {width:31%;}
|
||||
.transfer-order-row>span:nth-child(4) {width:22%;}
|
||||
.transfer-order-row>span:last-child {width:7%;}
|
||||
.transfer-order-row>button {width:56dp;height:56dp;font-size:36dp;}
|
||||
.transfer-notice {font-size:30dp;line-height:45dp;}
|
||||
body.silver .transfer-dialog {background-color:#eaf1f7fc;}
|
||||
body.silver .transfer-name-search input,body.silver .transfer-offer-inputs button,body.silver .transfer-offer-inputs select,body.silver .transfer-search-space select {background-color:#ffffffad;}
|
||||
body.silver .transfer-negative {color:#a54135;}
|
||||
body.matchday .transfer-dialog {background-color:#2c2c32fc;}
|
||||
body.matchday .transfer-name-search input,body.matchday .transfer-offer-inputs button,body.matchday .transfer-offer-inputs select,body.matchday .transfer-search-space select {background-color:#191a208a;}
|
||||
.transfer-dialog select selectbox {padding:10dp;border:2dp var(--border);margin-top:8dp;max-height:600dp;overflow:auto;}
|
||||
.transfer-dialog select option {height:72dp;min-height:72dp;padding:10dp 14dp;line-height:52dp;font-size:30dp;}
|
||||
|
||||
.transfer-offer-flag {width:60dp;height:40dp;flex-shrink:0;overflow:hidden;}
|
||||
.transfer-nation {overflow:hidden;border-radius:3dp;}
|
||||
#transfer-submit {background-color:var(--selected);border-color:var(--accent);color:var(--accent);}
|
||||
.transfer-search-ranges input slidertrack {height:4dp;margin-top:6dp;margin-bottom:6dp;}
|
||||
.transfer-search-ranges input sliderbar {width:16dp;height:16dp;margin-top:0;}
|
||||
|
||||
.transfer-filters button[aria-pressed=true],.transfer-strengths button[aria-pressed=true],.transfer-search-kind button[aria-pressed=true],.transfer-search-traits button[aria-pressed=true],.transfer-actions button[aria-pressed=true] {background-color:#9cafc240;border-color:#dce9f047;color:#f5f8fc;}
|
||||
body.silver .transfer-filters button[aria-pressed=true],body.silver .transfer-strengths button[aria-pressed=true],body.silver .transfer-search-kind button[aria-pressed=true],body.silver .transfer-search-traits button[aria-pressed=true],body.silver .transfer-actions button[aria-pressed=true] {background-color:#a3c3dd54;border-color:#356f966e;color:#193b52;}
|
||||
body.matchday .transfer-filters button[aria-pressed=true],body.matchday .transfer-strengths button[aria-pressed=true],body.matchday .transfer-search-kind button[aria-pressed=true],body.matchday .transfer-search-traits button[aria-pressed=true],body.matchday .transfer-actions button[aria-pressed=true] {background-color:#d48c7b26;border-color:#e5a19770;color:#ffe5de;}
|
||||
|
||||
/* Account balances follow the infobar's semantic money colour in every skin. */
|
||||
body .transfer-heading>div>strong.money-amount,
|
||||
body .transfer-preview strong.money-amount {color:var(--money);}
|
||||
body .transfer-heading>div>strong.money-amount.is-negative,
|
||||
body .transfer-preview strong.money-amount.is-negative {color:var(--danger);}
|
||||
@@ -0,0 +1,143 @@
|
||||
/* SPDX-License-Identifier: GPL-3.0-only */
|
||||
.info-bar {z-index:1000;}
|
||||
.desk-card {cursor:arrow;}
|
||||
.desk-card:focus-visible {border-color:var(--accent);}
|
||||
.desk-card-heading {height:70dp;display:flex;align-items:center;justify-content:space-between;gap:20dp;padding:22dp 30dp 12dp;font-size:25dp;line-height:1.2;color:var(--muted);}
|
||||
.desk-card-heading>span {display:block;min-width:0;flex:1;white-space:nowrap;overflow:hidden;}
|
||||
.desk-card-heading>.image-frame {flex-shrink:0;}
|
||||
.desk-calendar-month {position:absolute;left:0;right:0;top:0;height:116dp;background-color:#a45254;color:#fff4ee;display:flex;align-items:center;justify-content:center;font-size:38dp;}
|
||||
body.silver .desk-calendar-month {background-color:#b76264;}body.matchday .desk-calendar-month {background-color:#a24143;}
|
||||
.desk-calendar-body {position:absolute;left:0;right:0;top:116dp;bottom:90dp;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8dp;}
|
||||
.desk-calendar-body>span {display:block;font-size:38dp;color:var(--muted);}
|
||||
.desk-calendar-body>strong {display:block;font-size:240dp;line-height:1.02;font-weight:normal;letter-spacing:-14dp;}
|
||||
.desk-calendar-body>small {display:block;font-size:27dp;color:var(--muted);}
|
||||
.desk-calendar-foot {position:absolute;left:0;right:0;bottom:0;height:90dp;display:flex;align-items:center;gap:18dp;border-top:2dp var(--border);padding:18dp 28dp;color:var(--muted);font-size:25dp;}
|
||||
.desk-calendar-foot>span {display:block;flex-shrink:0;}.desk-calendar-foot .calendar-arrow {margin-left:auto;}
|
||||
[data-widget=calendar][data-size=s] .desk-calendar-month {height:82dp;font-size:29dp;}
|
||||
[data-widget=calendar][data-size=s] .desk-calendar-body {top:82dp;bottom:60dp;gap:0;}
|
||||
[data-widget=calendar][data-size=s] .desk-calendar-body>span {font-size:29dp;}
|
||||
[data-widget=calendar][data-size=s] .desk-calendar-body>strong {font-size:140dp;letter-spacing:-6dp;}
|
||||
[data-widget=calendar][data-size=s] .desk-calendar-body>small {font-size:20dp;}
|
||||
[data-widget=calendar][data-size=s] .desk-calendar-foot {height:60dp;font-size:20dp;gap:10dp;padding:8dp 18dp;}
|
||||
.desk-account-main {padding:16dp 34dp 20dp;display:flex;flex-direction:column;gap:10dp;}
|
||||
.desk-account-main>span {display:block;font-size:25dp;color:var(--muted);}
|
||||
.desk-account-main>strong {display:block;font-size:65dp;letter-spacing:-2dp;font-weight:normal;line-height:1.1;color:var(--money);}
|
||||
.desk-account-bottom {position:absolute;bottom:0;left:0;right:0;height:132dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;padding:20dp 34dp;border-top:2dp var(--border);background-color:var(--soft);}
|
||||
.desk-account-bottom>div {display:flex;flex-direction:column;gap:8dp;}
|
||||
.desk-account-bottom span {display:block;font-size:24dp;color:var(--muted);}
|
||||
.desk-account-bottom strong {display:block;font-size:34dp;font-weight:normal;color:var(--text);}
|
||||
.desk-account-bottom button {display:flex;align-items:center;justify-content:flex-start;gap:20dp;padding:10dp 20dp;border:0dp;border-radius:18dp;background-color:var(--soft);text-align:left;}
|
||||
.desk-account-bottom button>span {display:flex;flex-direction:column;gap:4dp;}
|
||||
[data-widget=account][data-size=s] .desk-account-main>strong {font-size:48dp;}
|
||||
[data-widget=account][data-size=s] .desk-account-bottom {gap:12dp;padding:16dp 24dp;}
|
||||
[data-widget=account][data-size=s] .desk-account-bottom button>.image-frame {display:none;}
|
||||
[data-widget=account][data-size=s] .desk-account-bottom strong {font-size:28dp;}
|
||||
.desk-fixture {position:absolute;left:22dp;right:22dp;top:76dp;bottom:24dp;display:flex;align-items:center;justify-content:space-between;gap:18dp;text-align:center;}
|
||||
.desk-fixture>div {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8dp;min-width:0;flex:1;}
|
||||
.desk-fixture>div.desk-fixture-centre {flex:1.25;}
|
||||
.desk-fixture>div>span {display:block;font-size:23dp;white-space:nowrap;max-width:100%;overflow:hidden;}
|
||||
.desk-fixture-centre>small {display:block;font-size:24dp;color:var(--muted);}
|
||||
.desk-fixture-centre>strong {display:block;font-size:54dp;font-weight:normal;}
|
||||
.desk-fixture-centre>span {color:var(--muted);}
|
||||
[data-widget=competition][data-size=s] .desk-fixture {gap:4dp;left:14dp;right:14dp;}
|
||||
[data-widget=competition][data-size=s] .desk-fixture>div>span {font-size:18dp;}
|
||||
[data-widget=competition][data-size=s] .desk-fixture-centre>strong {font-size:40dp;}
|
||||
[data-widget=competition][data-size=s] .desk-fixture-centre>small {font-size:20dp;}
|
||||
.desk-portrait-caption {position:absolute;bottom:0;left:0;right:0;display:flex;flex-direction:column;gap:8dp;padding:48dp 30dp 28dp;decorator:linear-gradient(0deg,#0d1928ed,#0d19287a,#0d192800);color:#eff4f8;}
|
||||
.desk-portrait-caption small,.desk-logo-caption small {display:block;opacity:0.72;font-size:24dp;}
|
||||
.desk-portrait-caption strong {display:block;font-size:34dp;font-weight:bold;overflow:hidden;white-space:nowrap;}
|
||||
.desk-logo-surface {position:absolute;left:24dp;right:24dp;top:28dp;bottom:110dp;display:flex;align-items:center;justify-content:center;}
|
||||
.desk-logo-caption {position:absolute;left:20dp;right:20dp;bottom:30dp;text-align:center;display:flex;flex-direction:column;gap:10dp;}
|
||||
.desk-logo-caption strong {display:block;font-size:28dp;font-weight:normal;}
|
||||
.desk-warning-grid {position:absolute;left:0;right:0;top:76dp;bottom:0;}
|
||||
.desk-warning {position:absolute;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7dp;padding:0;border:0dp;background-color:transparent;}
|
||||
.status-lamp {position:relative;display:flex;align-items:center;justify-content:center;width:64dp;height:64dp;flex-shrink:0;border-radius:32dp;border:2dp #9ddbc653;decorator:linear-gradient(145deg,#8acbb5,#40776c);color:#edfff6;}
|
||||
.status-lamp.attention {decorator:linear-gradient(145deg,#e0a28d,#aa514d);border-color:#f6bea18c;}
|
||||
.warning-caption {display:block;font-size:18dp;color:var(--muted);max-width:100%;white-space:nowrap;overflow:hidden;}
|
||||
[data-widget=warnings][data-size=s] .warning-caption {font-size:13dp;}
|
||||
[data-widget=warnings][data-size=l] .warning-caption {font-size:25dp;}
|
||||
[data-widget=warnings][data-size=l] .status-lamp {width:90dp;height:90dp;border-radius:45dp;}
|
||||
.desk-mood {position:absolute;left:30dp;right:30dp;top:70dp;bottom:22dp;display:flex;gap:22dp;align-items:center;}
|
||||
.desk-mood>div {flex:1;min-width:100dp;}.desk-mood strong {display:block;font-size:42dp;font-weight:normal;}.desk-mood small {font-size:27dp;}
|
||||
.desk-mood>span {display:block;font-size:24dp;color:var(--muted);}
|
||||
.mood-track {position:relative;display:block;margin-top:14dp;height:14dp;border-radius:7dp;background-color:var(--soft);}
|
||||
.mood-track i {display:block;height:100%;border-radius:7dp;background-color:var(--accent);}
|
||||
.desk-curve-picture {position:relative;margin:0 21dp;}.desk-curve-picture>.image-frame {position:absolute;left:0;top:0;}
|
||||
.curve-start,.curve-end {position:absolute;bottom:0;display:block;font-size:22dp;color:var(--muted);}.curve-start {left:3%;}.curve-end {right:3%;}
|
||||
.desk-curve-legend {height:110dp;padding:16dp 30dp 26dp;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14dp 28dp;font-size:24dp;line-height:1.25;}
|
||||
.desk-curve-legend>span {display:flex;align-items:center;gap:12dp;min-width:0;}.desk-curve-legend span>span {display:block;min-width:0;}
|
||||
.desk-curve-legend i {display:block;width:40dp;border-top:5dp var(--accent);flex-shrink:0;}
|
||||
.desk-curve-legend .curve-opponent i {border-top-color:#f2b286;}body.silver .desk-curve-legend .curve-opponent i {border-top-color:#a04b30;}body.matchday .desk-curve-legend .curve-opponent i {border-top-color:#91cce8;}
|
||||
.desk-summary {position:absolute;left:0;right:0;top:70dp;bottom:10dp;display:flex;align-items:center;text-align:center;}
|
||||
.desk-summary>div {display:flex;flex-direction:column;gap:6dp;flex:1;}.desk-summary small {display:block;font-size:23dp;color:var(--muted);}.desk-summary strong {display:block;font-size:46dp;font-weight:normal;}.desk-summary>div+div {border-left:2dp var(--border);}
|
||||
.desk-form {position:absolute;left:24dp;right:24dp;top:90dp;bottom:54dp;display:flex;align-items:center;justify-content:space-evenly;gap:12dp;}
|
||||
.desk-form>div {display:flex;flex-direction:column;align-items:center;gap:18dp;}.desk-form>div>span {display:flex;align-items:center;justify-content:center;border-radius:100dp;color:#f3f7f8;background-color:#587588;flex-shrink:0;}
|
||||
.desk-form>div>span>span {display:block;}.desk-form .form-S {background-color:#527f73;}.desk-form .form-N {background-color:#a96059;}.desk-form strong {display:block;font-weight:normal;}
|
||||
.desk-card-note {position:absolute;left:24dp;right:24dp;bottom:22dp;text-align:center;font-size:25dp;color:var(--muted);}
|
||||
.desk-duels {position:absolute;left:20dp;right:20dp;top:70dp;bottom:24dp;display:flex;align-items:center;text-align:center;}
|
||||
.desk-duels>div {display:flex;flex-direction:column;align-items:center;gap:10dp;flex:1;}.desk-duels strong {display:block;font-size:56dp;line-height:1;font-weight:normal;}.desk-duels small {display:block;font-size:20dp;color:var(--muted);}
|
||||
.desk-card.desk-utility {border:0dp;border-radius:0dp;decorator:none;backdrop-filter:none;overflow:visible;display:flex;flex-direction:column;align-items:center;gap:12dp;color:#f1f6f9;}
|
||||
.desktop-utility-icon {height:178dp;width:80%;display:flex;align-items:center;justify-content:center;border:2dp #c5d9ed59;border-radius:28dp;decorator:linear-gradient(135deg,#dce5ef40,#829bb12b);}
|
||||
.desk-utility>strong {display:block;font-size:23dp;font-weight:normal;}
|
||||
[data-size=wide] .desk-card-heading {height:54dp;padding:16dp 26dp 8dp;font-size:23dp;}
|
||||
[data-widget=account][data-size=wide] .desk-account-main {position:absolute;left:0;top:54dp;bottom:0;width:48%;padding:10dp 24dp 18dp;justify-content:center;}
|
||||
[data-widget=account][data-size=wide] .desk-account-main>strong {font-size:43dp;white-space:nowrap;}
|
||||
[data-widget=account][data-size=wide] .desk-account-bottom {left:48%;top:54dp;height:auto;gap:16dp;padding:12dp 24dp 18dp;border-top:0dp;border-left:2dp var(--border);background-color:transparent;}
|
||||
[data-widget=account][data-size=wide] .desk-account-bottom strong {font-size:29dp;}
|
||||
[data-widget=account][data-size=wide] .desk-account-bottom button {padding:10dp 14dp;gap:12dp;}
|
||||
[data-widget=warnings][data-size=wide] .desk-warning-grid {top:54dp;}
|
||||
[data-widget=results][data-size=wide] .desk-form {top:56dp;bottom:20dp;gap:12dp;}
|
||||
[data-widget=results][data-size=wide] .desk-form>div {flex-direction:row;gap:12dp;}
|
||||
.desktop-window {position:absolute;border-radius:36dp;background-color:var(--strong);decorator:none;backdrop-filter:blur(50dp);}
|
||||
.desktop-window-titlebar {position:absolute;left:0;right:0;top:0;height:108dp;display:flex;align-items:center;padding:0 28dp;border-bottom:2dp var(--border);background-color:var(--soft);}
|
||||
.desktop-window-titlebar h1 {position:absolute;left:104dp;right:104dp;text-align:center;margin:0;font-size:40dp;font-weight:bold;}
|
||||
.desktop-window-close {width:52dp;height:52dp;padding:0;border:2dp #ffaba359;border-radius:26dp;background-color:#f17d73;color:#542622;font-size:36dp;}
|
||||
.desktop-window-content {position:absolute;left:52dp;right:52dp;top:148dp;bottom:154dp;}
|
||||
.desktop-window-footer {position:absolute;left:0;right:0;bottom:0;height:116dp;padding:18dp 46dp;display:flex;align-items:center;gap:22dp;border-top:2dp var(--border);background-color:var(--soft);}
|
||||
.desktop-window-footer>p {display:block;flex:1;min-width:0;font-size:26dp;color:var(--muted);line-height:1.35;}
|
||||
.desktop-window-footer button {height:76dp;font-size:31dp;padding:18dp 30dp;}
|
||||
.modern-gallery-toolbar {height:122dp;display:flex;align-items:center;justify-content:space-between;gap:30dp;}.modern-gallery-toolbar>p {font-size:42dp;margin:0;}
|
||||
.modern-search {display:flex;align-items:center;gap:16dp;border:2dp var(--border);border-radius:18dp;background-color:var(--soft);padding:16dp 22dp;width:660dp;}
|
||||
.modern-search input {border:0dp;background-color:transparent;width:100%;min-width:0;flex:1;font-size:30dp;}
|
||||
.modern-widget-gallery {position:absolute;left:0;right:0;top:146dp;bottom:0;overflow:auto;}
|
||||
.widget-gallery-item {position:absolute;width:784dp;height:660dp;padding:24dp;border:2dp var(--border);border-radius:26dp;background-color:var(--soft);}
|
||||
.gallery-widget-preview {position:relative;width:100%;height:320dp;overflow:hidden;background-color:var(--soft);border-radius:18dp;}
|
||||
.gallery-preview-card {position:absolute;transform-origin:50% 50%;pointer-events:none;backdrop-filter:none;}
|
||||
.gallery-description {padding:22dp 6dp 16dp;}.gallery-description>small {display:block;font-size:21dp;color:var(--muted);}.gallery-description h2 {font-size:31dp;font-weight:bold;margin:10dp 0;}.gallery-description p {font-size:24dp;color:var(--muted);margin:0;line-height:1.3;}
|
||||
.gallery-actions {position:absolute;left:24dp;right:24dp;bottom:24dp;display:flex;align-items:center;justify-content:space-between;gap:14dp;}
|
||||
.gallery-actions select {width:200dp;font-size:28dp;padding:14dp 18dp;height:64dp;}
|
||||
.gallery-actions button {display:flex;align-items:center;justify-content:center;gap:12dp;width:420dp;padding:14dp 18dp;font-size:25dp;height:64dp;}
|
||||
.gallery-actions button>span {display:block;flex-shrink:0;}
|
||||
.widget-gallery-empty {padding:180dp 50dp;text-align:center;font-size:34dp;color:var(--muted);}
|
||||
.modern-intro {text-align:center;font-size:45dp;margin:0 0 60dp;}
|
||||
.background-choice {position:relative;width:100%;display:block;text-align:left;padding:0;overflow:hidden;border-radius:26dp;}
|
||||
.background-choice>span {display:flex;flex-direction:column;gap:14dp;padding:30dp 36dp;}
|
||||
.background-choice strong {display:block;font-size:38dp;}.background-choice small {display:block;font-size:27dp;color:var(--muted);}.background-choice>i {position:absolute;right:44dp;bottom:138dp;}
|
||||
.background-note {text-align:center;font-size:28dp;color:var(--muted);margin-top:36dp;}
|
||||
.desktop-message {position:absolute;left:48dp;right:48dp;top:8dp;bottom:16dp;display:flex;flex-direction:column;align-items:center;justify-content:center;}
|
||||
.desktop-warning-symbol {width:150dp;height:150dp;display:flex;align-items:center;justify-content:center;border:2dp var(--border);border-radius:38dp;background-color:var(--soft);margin-bottom:40dp;}
|
||||
.desktop-message h2 {font-size:46dp;font-weight:bold;margin:0 0 25dp;text-align:center;}
|
||||
.desktop-message p {font-size:32dp;color:var(--muted);line-height:1.6;text-align:center;max-width:1250dp;}
|
||||
#desktop-context {width:270px;padding:6px;border:1px #cadce440;border-radius:12px;background-color:#263442f7;color:#e9eff4;font-size:14px;}
|
||||
body.silver #desktop-context {background-color:#edf3f8f7;color:#263d50;border-color:#ffffff99;}body.matchday #desktop-context {background-color:#282b30fa;}
|
||||
#desktop-context button {display:flex;align-items:center;gap:12px;width:100%;height:41px;padding:11px 12px;border:0px;border-radius:7px;background-color:transparent;text-align:left;font-size:14px;}
|
||||
#desktop-context button>span {display:block;flex-shrink:0;}
|
||||
#desktop-context .context-label {padding:12px 12px 3px;font-size:11px;color:#a6b6c4;border-top:1px #ffffff22;margin-top:6px;}
|
||||
.desktop-grid-dot {position:absolute;width:4dp;height:4dp;background-color:#d9eff21f;border-radius:2dp;pointer-events:none;}
|
||||
.desktop-layer {position:absolute;left:0;top:0;width:3840dp;height:2160dp;z-index:1;}
|
||||
.desk-calendar-month>span {display:block;flex-shrink:0;}
|
||||
.desk-fixture>div>span,.warning-caption {width:100%;flex-shrink:0;}
|
||||
.desktop-window-titlebar h1 {top:0;bottom:0;display:flex;align-items:center;justify-content:center;}
|
||||
.desktop-window-titlebar h1>span {display:block;flex-shrink:0;}
|
||||
.desktop-modal-layer {background-color:#06101c80;}
|
||||
.desktop-window-content {overflow:hidden;}
|
||||
.background-choice>i {display:block;width:48dp;height:48dp;z-index:2;}
|
||||
.desk-mood>.image-frame {flex:0;min-width:36dp;}
|
||||
.modern-widget-gallery {height:1392dp;max-height:1392dp;overflow-x:hidden;overflow-y:auto;}
|
||||
#desktop-context button:focus-visible {background-color:#95bfd52b;}
|
||||
.desktop-app:focus-visible .app-tile {border-color:var(--accent);}
|
||||
.gallery-preview-card button:disabled {opacity:1;}
|
||||
#desktop-context .context-check {margin-left:auto;}
|
||||
|
||||
/* Unknown readings are neutral, never a fabricated green status. */
|
||||
.status-lamp.unknown {decorator:none;background-color:var(--soft);border-color:var(--border);color:var(--muted);}
|
||||
@@ -281,7 +281,7 @@ This index includes registered and reserved names. `ListOptions` and `Help` from
|
||||
|
||||
| Command | Parameters | Purpose |
|
||||
|---|---|---|
|
||||
| `ListPeriphery` | – | the 14 objects: built, building, days |
|
||||
| `ListPeriphery` | – | the 14 objects: built (traffic access: stage 1-3), building, days |
|
||||
| `QuotePeriphery` | object:int(0..13) | the building firm's current offer (question) |
|
||||
| `BuildPeriphery` | object:int(0..13), price:money | accept the offer |
|
||||
| `DeclinePeriphery` | object:int(0..13), price:money | decline the offer |
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
"Stadium";"SetTicketPrice";"price:int(8..25)";"the ticket price (as on the desk)";"E_BAD_ARGUMENT";"";"";"partial";"06-verein.md"
|
||||
"Stadium";"OpenPeriphery";"–";"SICHT: PANORAMA (Stadium.Periphery)";"—";"";"";"ready";"06-verein.md"
|
||||
"Stadium";"OpenData";"–";"Open Data. See current Help for behaviour and bounds.";"—";"";"";"partial";"06-verein.md"
|
||||
"Stadium.Periphery";"ListPeriphery";"–";"the 14 objects: built, building, days";"—";"";"";"ready";"06-verein.md"
|
||||
"Stadium.Periphery";"ListPeriphery";"–";"the 14 objects: built (traffic access: stage 1-3), building, days";"—";"";"";"ready";"06-verein.md"
|
||||
"Stadium.Periphery";"QuotePeriphery";"object:int(0..13)";"the building firm's current offer (question)";"E_RULE";"";"";"ready";"06-verein.md"
|
||||
"Stadium.Periphery";"BuildPeriphery";"object:int(0..13), price:money";"accept the offer";"E_INSUFFICIENT_FUNDS, E_RULE";"";"";"ready";"06-verein.md"
|
||||
"Stadium.Periphery";"DeclinePeriphery";"object:int(0..13), price:money";"decline the offer";"—";"";"";"ready";"06-verein.md"
|
||||
|
||||
|
@@ -28,6 +28,31 @@ describe deliberate changes; they are not a list of every known compatibility li
|
||||
- [src/game/week.hpp](../src/game/week.hpp): uses the enhanced assistant-training rules, retaining the selected skill until it reaches its maximum.
|
||||
- [src/game/weekly.cpp](../src/game/weekly.cpp): uses the supported weekly-event configuration, with its rule switch disabled.
|
||||
- [src/game/weekly.hpp](../src/game/weekly.hpp): uses the supported weekly processing and transfer rule profile.
|
||||
- [src/modern/app/modern_session.cpp](../src/modern/app/modern_session.cpp): supports designated set-piece record initialization and validation.
|
||||
- [src/modern/app/modern_session.cpp](../src/modern/app/modern_session.cpp): native saves do not consume gameplay randomness for encryption.
|
||||
- [src/modern/content/world_expand.cpp](../src/modern/content/world_expand.cpp): Modern worlds have league sizes, clubs and players of their own; players whose nation has no single-byte nationality code carry a substitute foreign code.
|
||||
- [src/modern/game/career.cpp](../src/modern/game/career.cpp): in a Modern world a club's place in the strength band of its league follows the data set's ranking of the squads instead of the table place, and its players keep their relative values (balance.md).
|
||||
- [src/modern/game/career.cpp](../src/modern/game/career.cpp): skips reserved calendar positions when assigning a joining manager to a club.
|
||||
- [src/modern/game/career.cpp](../src/modern/game/career.cpp): retains an existing Modern club's league slot when a human joins, preserving its played results.
|
||||
- [src/modern/game/career.hpp](../src/modern/game/career.hpp): uses the supported player-generation ranges and excludes reserved calendar positions when assigning managers.
|
||||
- [src/modern/game/desk_actions.cpp](../src/modern/game/desk_actions.cpp): uses the supported transfer-fee arithmetic and designated set-piece fields.
|
||||
- [src/modern/game/desk_actions.cpp](../src/modern/game/desk_actions.cpp): Modern training camps have grades up to six stars with a capped step, a higher limit and recovery extras.
|
||||
- [src/modern/game/desk_actions.cpp](../src/modern/game/desk_actions.cpp): the Modern Toto takes up to six columns (one in the original), each at the stake plus a 10 % fee per extra column, 400,000 at most in all.
|
||||
- [src/modern/game/desk_actions.cpp](../src/modern/game/desk_actions.cpp): in Modern a training camp stay can bring an exclusive sponsor (shirt or four boards at 1.5 times the best regular offer), taken now or after the running contract.
|
||||
- [src/modern/game/desk_actions.hpp](../src/modern/game/desk_actions.hpp): supports designated set-piece records and the supported transfer-editor rules.
|
||||
- [src/modern/game/environment.hpp](../src/modern/game/environment.hpp): uses six monthly environment budgets across data editions while retaining the shared staff prices and academy player-generation strength bands.
|
||||
- [src/modern/game/highscore.cpp](../src/modern/game/highscore.cpp): reads the supported edition-specific high-score format from the loaded image.
|
||||
- [src/modern/game/matchday_setup.cpp](../src/modern/game/matchday_setup.cpp): in Modern worlds a referee may take a second match on a day with more matches than referees.
|
||||
- [src/modern/game/season.cpp](../src/modern/game/season.cpp): retains the enhanced academy player-generation strength bands with monthly youth budgets.
|
||||
- [src/modern/game/season.cpp](../src/modern/game/season.cpp): in Modern the age stops at 47, the most its five bits hold; real ages of a data set (a goalkeeper of 40) would otherwise run into the bits above.
|
||||
- [src/modern/game/season.hpp](../src/modern/game/season.hpp): retains the enhanced academy player-generation strength bands with monthly youth budgets.
|
||||
- [src/modern/game/week.cpp](../src/modern/game/week.cpp): uses the enhanced training rules: focus strength is at least five below its target, and completed skills rotate to another focus.
|
||||
- [src/modern/game/week.hpp](../src/modern/game/week.hpp): uses the enhanced assistant-training rules, retaining the selected skill until it reaches its maximum.
|
||||
- [src/modern/game/weekly.cpp](../src/modern/game/weekly.cpp): uses the supported weekly-event configuration, with its rule switch disabled.
|
||||
- [src/modern/game/weekly.hpp](../src/modern/game/weekly.hpp): uses the supported weekly processing and transfer rule profile.
|
||||
- [src/modern/ui/demo_calendar.cpp](../src/modern/ui/demo_calendar.cpp): the native season follows its saved start year (including leap days), rather than the HTML's fixed 2027/28.
|
||||
- [src/modern/ui/engine_achievements.cpp](../src/modern/ui/engine_achievements.cpp): shows recorded manager history between seasons without inventing future results.
|
||||
- [src/modern/ui/engine_balance.cpp](../src/modern/ui/engine_balance.cpp): viewing a balance is read-only and publishing a changed plan requires explicit confirmation.
|
||||
- [src/ui/league_table.hpp](../src/ui/league_table.hpp): uses three points for a win in the supported rule profile.
|
||||
- [src/ui/pitch.cpp](../src/ui/pitch.cpp): supports owner-bound designated set-piece selection in the extended manager record.
|
||||
- [src/ui/save_load.cpp](../src/ui/save_load.cpp): focuses the host save filename on entry and selects an existing name for replacement.
|
||||
|
||||
@@ -1,10 +1,23 @@
|
||||
# OpenBMH Editor 0.5.0
|
||||
# OpenBMH Editor 0.5.5
|
||||
|
||||
Der eigenständige, native Editor verwendet **RmlUI, SDL2 und OpenGL**. Er bearbeitet Startdatenbanken, keine laufenden Spielstände. Das Spiel und seine Classic-Prüfung bleiben unverändert. Editor 0.5.0 hat eine eigene Versionsreihe und den Release-Tag `editor-v0.5.0`; die Spielversion ist 0.2.0.
|
||||
Der eigenständige, native Editor verwendet **RmlUI und SDL2**, unter Windows mit Direct3D 11, unter Linux/macOS mit OpenGL. Er bearbeitet Startdatenbanken, keine laufenden Spielstände. Das Spiel und seine Classic-Prüfung bleiben unverändert. Editor 0.5.5 hat eine eigene Versionsreihe und den Release-Tag `editor-v0.5.5`; die Spielversion ist 0.2.1.
|
||||
|
||||
## Windows-Start und Diagnose
|
||||
|
||||
Windows verwendet Direct3D 11 und wechselt bei fehlender Hardware automatisch auf
|
||||
den integrierten WARP-Renderer. Der Editor und der Spiel-Launcher benötigen dort
|
||||
keinen OpenGL-Treiber. Dieser Start wird auch mit erzwungenem WARP auf Windows
|
||||
Server 2022 geprüft. Zum gezielten Testen lässt sich `OPENBMH_RML_DRIVER=warp`
|
||||
setzen; die normale Auswahl erfolgt automatisch.
|
||||
|
||||
Startfehler erscheinen in einem nativen Dialog und werden zusätzlich unter
|
||||
`%LOCALAPPDATA%\OpenBMH\OpenBMHEditor-startup.log` protokolliert. Bei einem
|
||||
Aufruf aus PowerShell/CMD kann auch stderr umgeleitet werden. Headless- und
|
||||
MCP-Aufrufe zeigen keinen modalen Fehlerdialog und behalten ihre Prozesscodes.
|
||||
|
||||
## Starten und Daten öffnen
|
||||
|
||||
Das vollständige Paket `OpenBMHEditor-0.5.0-<plattform>.zip` entpacken und `OpenBMHEditor.exe` (Windows) beziehungsweise `OpenBMHEditor` (Linux/macOS) starten. `assets/editor` muss beim Programm bleiben. Auf macOS kann die unsignierte Anwendung über **Rechtsklick → Öffnen** gestartet werden. Eine Signatur/Notarisierung ist nicht Bestandteil dieser Version. `OpenBMHEditor --version` zeigt die Editorversion ohne Grafikstart.
|
||||
Das vollständige Paket `OpenBMHEditor-0.5.5-<plattform>.zip` entpacken und `OpenBMHEditor.exe` (Windows) beziehungsweise `OpenBMHEditor` (Linux/macOS) starten. `assets/editor` muss beim Programm bleiben. Auf macOS kann die unsignierte Anwendung über **Rechtsklick → Öffnen** gestartet werden. Eine Signatur/Notarisierung ist nicht Bestandteil dieser Version. `OpenBMHEditor --version` zeigt die Editorversion ohne Grafikstart.
|
||||
|
||||
**Öffnen** bietet OBW-Dateien und entpackte Welten an. **BMH / FLTD importieren** liest einen Ordner mit einer unterstützten BMH- oder Football-Limited-Installation durch den bestehenden Konverter. Das Original wird nicht überschrieben. Eine bestehende Classic-OBW wird zunächst überprüft und dann in eine bearbeitbare Editorwelt übernommen.
|
||||
|
||||
@@ -13,6 +26,7 @@ Das vollständige Paket `OpenBMHEditor-0.5.0-<plattform>.zip` entpacken und `Ope
|
||||
## Bearbeiten
|
||||
|
||||
- Links einen Datenbereich auswählen; die Liste lässt sich durchsuchen, filtern, sortieren und seitenweise durchgehen. Rechts Änderungen mit **Anwenden** übernehmen. **Speichern** übernimmt auch die aktuellen Eingaben.
|
||||
- **Doppelklick** auf ein Land zeigt seine Ligen, auf eine Liga ihre Vereine und auf einen Verein dessen Spieler. Land, Liga und Verein werden als Filter übernommen. Ein einfacher Klick wählt weiterhin den Datensatz zum Bearbeiten aus. Nicht übernommene Eingaben werden vor dem Wechsel abgefragt.
|
||||
- Länder, Wettbewerbe, Vereine, Spieler, Kader, Stadien und Schiedsrichter lassen sich anlegen und bearbeiten. Referenzierte Datensätze werden erst nach Änderung ihrer Verknüpfungen gelöscht. Vereinswechsel zwischen Ligen aktualisieren auch deren Mitgliederlisten.
|
||||
- Spielwerte behalten ihre **quellenspezifischen Wertebereiche**. Ein Classic-Wert wird nicht auf eine erfundene 1–10-Skala umgerechnet. Neue Spieler ohne belegte Werte bleiben zunächst unbewertet.
|
||||
- Kader bleiben vollständig erhalten. Die Schaltfläche **24** schaltet lediglich die Seitengröße um. Spieler lassen sich über das Vereinsfeld verschieben, zum Tausch merken und mit einem anderen Spieler tauschen; die Pfeile ändern ihre Reihenfolge.
|
||||
@@ -20,11 +34,67 @@ Das vollständige Paket `OpenBMHEditor-0.5.0-<plattform>.zip` entpacken und `Ope
|
||||
- Rückgängig/Wiederholen gilt gemeinsam für native Oberfläche und MCP. Noch nicht angewendete Eingaben werden bei externen Änderungen nicht automatisch ersetzt; eine veraltete Änderung muss nach Aktualisierung erneut geprüft werden.
|
||||
- **Bilder** und die Bildaktionen am Datensatz unterstützen PNG, JPEG, WebP und eigenständige SVG. Vor dem Import: Ausschnitt ziehen oder Werte eingeben, frei drehen, spiegeln. Ein unveränderter Import behält seine Originalbytes. Bearbeitete Rasterbilder werden PNG, SVG bleibt Vektor. Das Original und die Transformationswerte bleiben für erneutes Bearbeiten im Paket. Classic-Porträts werden aus ihren eingefrorenen Rezepten angezeigt; eine Umbenennung ändert das Gesicht nicht.
|
||||
- Bildänderungen am Spieler, Verein oder Wettbewerb erhalten eine eigene Zuordnung. Gemeinsame Platzhalter und Bilder anderer Datensätze bleiben dabei erhalten. Im Bereich **Bilder** kann ein gemeinsam verwendetes Bild bewusst zentral bearbeitet werden.
|
||||
- Ein Klick auf ein Wappen, Porträt, einen Pokal oder ein Bild in der Liste öffnet eine große, schreibgeschützte **Bildvorschau**. **Zum Asset** öffnet den zugehörigen Eintrag im Bereich **Bilder**. Bei zusammengesetzten Classic-Porträts ohne einzelne Bilddatei führt die Schaltfläche zur allgemeinen Bildübersicht. Das Anschauen verändert keine Daten; beim Wechsel bleiben offene Eingaben durch die Übernehmen-/Verwerfen-Abfrage geschützt.
|
||||
|
||||
**Speichern** erzeugt ausschließlich `.obw` im Profil **`editor-world-v1`, Format 1.1**. Editorwelten sind **noch nicht im Classic-Spiel startbar**. Die Bezeichnung ist im Editor sichtbar. Unbekannte Erweiterungen, nicht bearbeitete Dokumente, Quellnachweise und Bilder bleiben erhalten. Noch nicht im Formular angebotene Regeln, Kalender- und Finanzdaten werden erhalten, aber nicht als vollständig editierbare Bereiche ausgegeben.
|
||||
|
||||
Shortcuts: Ctrl/Cmd+O, Ctrl/Cmd+S, Shift+Ctrl/Cmd+S, Ctrl/Cmd+Z und Shift+Ctrl/Cmd+Z. In Textfeldern gilt die lokale Text-Rückgängig-Funktion.
|
||||
|
||||
## Zurück und Vorwärts
|
||||
|
||||
Ein **Rechtsklick** an beliebiger Stelle öffnet **Zurück / Vorwärts**. Dieselbe
|
||||
Navigation funktioniert mit **Alt+Links / Alt+Rechts** und den beiden seitlichen
|
||||
Maustasten. Nicht verfügbare Richtungen sind ausgegraut. Escape oder ein Klick
|
||||
außerhalb schließt das Menü.
|
||||
|
||||
Der Verlauf merkt Datenbereiche, Doppelklick-Absprünge, Vergleichsansichten und
|
||||
Asset-Verknüpfungen. Beim Zurückkehren werden Filter, Suche, Sortierung,
|
||||
Datensatzauswahl, Tabellenseite und Scrollpositionen wiederhergestellt.
|
||||
Filtereingaben und einfache Zeilenauswahl erzeugen keine einzelnen Verlaufsschritte.
|
||||
Offene Formulareingaben werden weiterhin vor dem Wechsel abgefragt; Abbrechen
|
||||
lässt die Position im Verlauf unverändert. Ein neuer Absprung nach Zurück ersetzt
|
||||
den bisherigen Vorwärtszweig. Das Öffnen einer anderen Welt, auch über MCP,
|
||||
setzt den Verlauf zurück. **Zurück** ist unabhängig von **Rückgängig** und ändert
|
||||
keine Daten.
|
||||
|
||||
Die Dropdowns verwenden die Gestaltung der Modern-Desktop-Untermenüs:
|
||||
leichte Verläufe, runde Popup-Listen, ein Häkchen am gewählten Wert und dieselbe
|
||||
Schriftgröße in geschlossenem Feld und Auswahlliste. Escape schließt zuerst die
|
||||
offene Auswahlliste. [Native Vergleichsbilder](qa/editor-navigation/README.md)
|
||||
zeigen die Darstellung in allen drei Themes.
|
||||
|
||||
## CPU im Leerlauf
|
||||
|
||||
Ab 0.5.4 zeichnet der Editor nur bei Eingaben, sichtbaren Änderungen oder von
|
||||
RmlUI angeforderten Zeitereignissen. Ein unveränderter Bildschirm benötigt keine
|
||||
fortlaufenden Frames. Textcursor, Animationen, Scrollen und externe MCP-Änderungen
|
||||
bleiben aktiv; minimierte Fenster zeichnen nicht. Die vorherige Dauerschleife
|
||||
konnte insbesondere mit dem WARP-Softwarerenderer unter Remote Desktop einen
|
||||
erheblichen Teil der CPU belegen. Import, Bildverarbeitung und andere tatsächliche
|
||||
Datenarbeit benötigen weiterhin Rechenzeit.
|
||||
|
||||
## Stärken und Gehälter vergleichen
|
||||
|
||||
**Wertevergleich** in der Seitenleiste (oder die gleichnamige Schaltfläche bei Spielern, Vereinen und Wettbewerben) öffnet eine Übersicht mit drei Ansichten: **Spieler**, **Mannschaften**, **Ligen**. Spieler zeigen ihre einzelnen Spielwerte und das Gehalt je Saison; Mannschaften und Ligen zeigen Durchschnittswerte, Spielergehaltssummen, das Durchschnittsgehalt und die Anzahl bekannter Gehälter. Ein Klick auf eine Zeile öffnet ihren Datensatz zur Bearbeitung.
|
||||
|
||||
- Auf einen Spaltenkopf klicken, um auf- oder absteigend zu sortieren. Sortiert wird der gesamte gefilterte Bestand vor der Aufteilung auf Seiten mit bis zu 200 Zeilen. Suche sowie Land-, Liga- und Vereinsfilter grenzen die Ansicht ein. Fehlende Zahlen stehen in beiden Sortierrichtungen hinten.
|
||||
- **Spalten auswählen** blendet beliebige vorhandene Spielwerte ein. Bei vielen Spalten horizontal scrollen; Tabellenkopf und Werte bewegen sich gemeinsam. Die Wertebereiche stehen im Spaltenkopf, Gruppenwerte sind spielergewichtete Durchschnitte über bekannte Werte. Der gesamte Kader einschließlich Reserve zählt; reine Quellenduplikate mit `x-simulation.squad_role: source-only-duplicate` werden ausgeschlossen und ihre Anzahl angezeigt.
|
||||
- Verschiedene Attributsysteme bleiben getrennt. Bei einem einzigen System werden dessen Spielwerte automatisch angezeigt. Bei mehreren ein **Attributsystem** wählen, um dessen Spieler und die daraus gebildeten Mannschafts-/Ligawerte zu vergleichen. Das FC-Attribut `strength` heißt in einem System mit `overall` **Körperkraft**; es wird nicht als Classic-Gesamtstärke interpretiert. Es wird keine neue Stärkeskala berechnet.
|
||||
- **Gehälter gelten je Saison**, in der Währung und kleinsten Einheit aus dem OBW-Manifest. Berücksichtigt werden zum Saisonstart gültige Verträge des Spielers mit seiner aktuellen Mannschaft. Personalverträge, abgelaufene und zukünftige Verträge zählen nicht. Mehrere gleichzeitig gültige Verträge derselben Zuordnung sind unklar und werden nicht addiert. Ohne Vertragsangabe steht **—**, ein ausdrücklich gespeichertes Nullgehalt bleibt **0**.
|
||||
- Unvollständige Gehaltssummen und Durchschnitte tragen ein **\***. Sie berücksichtigen nur bekannte Spielergehälter; die Spalte **Gehälter bekannt** zeigt die Abdeckung. Auch Spielwertdurchschnitte verwenden nur bekannte Werte (Anzahl per Tooltip). Classic-Grunddaten liefern häufig keine konkreten Verträge: Der Editor erfindet diese Gehälter nicht.
|
||||
|
||||
[Native Vorher-/Nachher-Bilder](qa/editor-comparison/README.md) dokumentieren die Ansichten und Spaltenauswahl.
|
||||
|
||||
Die Übersicht verändert weder Daten noch Undo-Historie. Änderungen und Rückgängig aktualisieren ihre Werte automatisch. Alle drei Themes und beide Sprachen werden unterstützt.
|
||||
|
||||
Über MCP liefert **`editor_compare`** dieselbe schreibgeschützte Übersicht. Beispielargumente:
|
||||
|
||||
```json
|
||||
{"table":"players","sort":"attributes.overall","descending":true,"limit":200}
|
||||
```
|
||||
|
||||
`table` ist `players`, `clubs` oder `leagues`. Weitere Sortierschlüssel sind `name`, `salary` (Spieler), `salary_total`, `salary_average`, `salary_known`, `player_count`, `club_count` sowie `attributes.<feld>`. `attribute_set` grenzt das System ein, `search`, `nation`, `competition`, `team` filtern, `offset`/`limit` blättern. Die Antwort enthält Originalskalen, Stichtag, Währung und Abdeckung. Gehälter bleiben Integer in kleinster Währungseinheit; das Durchschnittsgehalt wird auf diese Einheit gerundet. Das entsprechende Session-Kommando für Command-Scripts heißt `compare`.
|
||||
|
||||
## Optionen und MCP
|
||||
|
||||
**Optionen** bietet Deutsch/Englisch, Midnight Glass/Silver Glass/Matchday und den integrierten MCP-Server. Die Sprache ändert die Oberfläche; Namen und Quelldaten werden nicht übersetzt. Einstellungen werden im Benutzerprofil gespeichert.
|
||||
@@ -39,18 +109,35 @@ Unter **Darstellung** stehen die drei Farbwelten der modernen Untermenüs zur Au
|
||||
|
||||
Der MCP-Server ist standardmäßig aktiviert und bindet ausschließlich `127.0.0.1`, standardmäßig Port `8765`. Port `0` wählt einen freien Port. Status und tatsächlicher Port sind in Optionen sichtbar. **Verbindung kopieren** kopiert eine JSON-Konfiguration einschließlich Bearer-Token für HTTP-fähige MCP-Clients. Das Token bleibt lokal im Benutzerprofil und wird nur auf ausdrückliches Kopieren/CLI-Anfordern ausgegeben. Ein anderer bereits laufender Editor kann den Standardport belegen; dann einen anderen Port wählen.
|
||||
|
||||
Implementiert ist [MCP Streamable HTTP 2025-11-25](https://modelcontextprotocol.io/specification/2025-11-25/basic/transports), mit Aushandlung von 2025-06-18; JSON-Antworten, ohne optionale SSE-Sitzungen. Neuere MCP-Versionen werden nicht als unterstützt beworben. Der Server prüft Token, Host und gegebenenfalls Origin. Oberfläche und Agent bearbeiten dieselbe Welt, verwenden dieselbe Validierung und dieselbe Undo-Historie. Für konkurrierende Änderungen `expected_revision` aus `editor_info`/`editor_get` mitsenden.
|
||||
Implementiert ist [MCP Streamable HTTP 2025-11-25](https://modelcontextprotocol.io/specification/2025-11-25/basic/transports), mit Aushandlung von 2025-06-18; JSON-Antworten, ohne optionale SSE-Sitzungen. Neuere MCP-Versionen werden nicht als unterstützt beworben. Der Server prüft Token, Host und gegebenenfalls Origin. Oberfläche und Agent bearbeiten dieselbe Welt, verwenden dieselbe Validierung und dieselbe Undo-Historie. Für konkurrierende Änderungen `expected_revision` aus `editor_info`/`editor_get` mitsenden. `editor_info.world_generation` kennzeichnet die aktuell geladene Welt innerhalb der Sitzung: Öffnen/Neu erhöht den Wert, Bearbeiten, Speichern und Rückgängig behalten ihn bei. Er wird nicht im OBW gespeichert.
|
||||
|
||||
Werkzeuge: `editor_info`, `editor_open`, `editor_new`, `editor_list`, `editor_get`, `editor_apply`, `editor_rules`, `editor_validate`, `editor_history`, `editor_save`, `editor_undo`, `editor_redo`, `editor_roster_move`, `editor_roster_swap`, `editor_roster_order`, `editor_review_resolve`, `editor_image_import`, `editor_image_edit`, `editor_image_preview`, `editor_image_export`. Die eingeblendeten Tools enthalten Parameterschemata und Beschreibungen. Öffnen einer anderen Welt verwirft ungespeicherte Änderungen nur mit `discard: true`.
|
||||
Werkzeuge: `editor_info`, `editor_open`, `editor_new`, `editor_list`, `editor_compare`, `editor_regulations`, `editor_get`, `editor_apply`, `editor_rules`, `editor_validate`, `editor_history`, `editor_save`, `editor_undo`, `editor_redo`, `editor_roster_move`, `editor_roster_swap`, `editor_roster_order`, `editor_review_resolve`, `editor_image_import`, `editor_image_edit`, `editor_image_preview`, `editor_image_export`. Die eingeblendeten Tools enthalten Parameterschemata und Beschreibungen. Öffnen einer anderen Welt verwirft ungespeicherte Änderungen nur mit `discard: true`.
|
||||
|
||||
## Spiel- und Ligaregeln ansehen
|
||||
|
||||
**Regelwerk** zeigt Auf- und Abstieg, Ziel-Ligen, Relegation und internationale
|
||||
Qualifikation. Wettbewerbe lassen sich durchsuchen und nach Land filtern.
|
||||
**Spielregeln** zeigt die übernommenen Einträge aus `world/rules.json`, etwa
|
||||
Wertebereiche, Kreditfaktoren, Trainingslager und Classic-Verfahren. Phasen und
|
||||
weitere Originalfelder sind ebenfalls einsehbar. Dieser Bereich ist vollständig
|
||||
schreibgeschützt; er verändert weder Welt noch Undo-Historie.
|
||||
|
||||
Explizite OBW-Regeln werden direkt dargestellt. Bei Classic-Importen kennzeichnet
|
||||
die Ansicht die versionierten Classic-Verfahrensregeln. Parallel-Ligen behalten
|
||||
Meister plus bedingte Relegationsplätze; die unterste Liga nutzt den Nachrückerpool.
|
||||
Internationale Plätze folgen dem ursprünglichen Champions-League-/UEFA-/
|
||||
Pokalsieger-Cup-Verfahren. Nicht festgelegte Regeln bleiben als solche sichtbar.
|
||||
Das sind keine heutigen UEFA-Regeln und kein neuer Saison-Simulator.
|
||||
`editor_regulations` bietet dieselben Informationen schreibgeschützt über MCP.
|
||||
|
||||
## Kompilieren
|
||||
|
||||
Voraussetzungen entsprechen dem Hauptprojekt: C++20-Compiler, Git, CMake ≥ 3.24 und Ninja. Windows: Visual Studio 2022 C++ Build Tools / x64 Native Tools Prompt; macOS ARM: Xcode Command Line Tools, CMake und Ninja; Linux: GTK3-, X11- und OpenGL-Entwicklungspakete wie im Haupt-README. Die Grafikausgabe benötigt OpenGL 3.3, auf macOS OpenGL 4.1.
|
||||
Voraussetzungen entsprechen dem Hauptprojekt: C++20-Compiler, Git, CMake ≥ 3.24 und Ninja. Windows: Visual Studio 2022 C++ Build Tools / x64 Native Tools Prompt; macOS ARM: Xcode Command Line Tools, CMake und Ninja; Linux: GTK3-, X11- und OpenGL-Entwicklungspakete wie im Haupt-README. Windows nutzt Direct3D 11 mit automatischem WARP-Software-Fallback; Linux benötigt OpenGL 3.3, macOS OpenGL 4.1.
|
||||
|
||||
```sh
|
||||
cmake -S . -B build-editor -G Ninja -DCMAKE_BUILD_TYPE=Release -DOPENBMH_BUILD_EDITOR=ON
|
||||
cmake --build build-editor --target openbmh_editor editor_core_tests --parallel 2
|
||||
ctest --test-dir build-editor -C Release -R '^editor_(core_tests|version)$' --output-on-failure
|
||||
cmake --build build-editor --target openbmh_editor editor_core_tests editor_comparison_tests editor_regulations_tests --parallel 2
|
||||
ctest --test-dir build-editor -C Release -R '^editor_(core_tests|comparison_tests|regulations_tests|version)$' --output-on-failure
|
||||
```
|
||||
|
||||
macOS ARM zusätzlich bei der Konfiguration: `-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0`. Unter Windows das Argument nach `-R` ohne einfache Shell-Anführungszeichen verwenden. Der Editor wird beim normalen Spiel-Build standardmäßig nicht mitgebaut.
|
||||
@@ -71,8 +158,14 @@ Pakete baut `tools/package/make_editor_package.py --build build-editor --out dis
|
||||
|
||||
Extract the complete package and run **OpenBMHEditor**. Open an OBW archive or an unpacked world, import a supported BMH/Football Limited installation, or open the synthetic demo. Use the sidebar, searchable/filterable list and property inspector; **Apply** records one shared, undoable transaction. **Save** writes only an **OBW 1.1 editor world**, not a playable Classic mod or a legacy installation.
|
||||
|
||||
Use **Comparison** to inspect sortable player, team and league ratings and per-season salaries. Select attribute columns and filter by country, league, club or attribute system. Group ratings are player-weighted means; salary totals and means use known player contracts only and explicitly flag incomplete coverage. Missing values remain unknown. The read-only MCP tool `editor_compare` returns the same data.
|
||||
|
||||
Use **Regulations** to inspect promotion, relegation, playoffs, international qualification and stored game rules. Explicit OBW declarations and versioned Classic policies are distinguished; missing rules stay unspecified. This page and `editor_regulations` are read only.
|
||||
|
||||
The editor retains full squads, original image data, source claims and unknown extensions. Its 24-player view does not remove players. Image import offers normalized crop, arbitrary rotation and mirroring; re-editing uses the preserved source. Classic portraits keep their frozen appearance recipe. Unsupported editing areas are preserved rather than replaced.
|
||||
|
||||
Click a crest, portrait, trophy or list thumbnail to open a large read-only image preview. **View asset** opens its linked asset record; composed Classic portraits without a single image file lead to the image library. Viewing preserves the world and pending property edits.
|
||||
|
||||
In **Options**, switch the interface to **English**, choose one of the three themes, and enable/disable the integrated local MCP server. **Copy connection** provides the authenticated configuration. The server defaults to loopback port 8765; use port 0 for a free port. GUI and MCP share the same world, validation and undo history. It supports MCP Streamable HTTP 2025-11-25/2025-06-18 and optional stdio mode. Use `expected_revision` for concurrent edits.
|
||||
|
||||
Build with the three commands above, including `-DOPENBMH_BUILD_EDITOR=ON`. The native application requires OpenGL 3.3 (macOS 4.1) and the platform development dependencies documented in the main README. Editor 0.5.0 is unsigned and does not bundle any real-world dataset or proprietary game assets.
|
||||
Build with the three commands above, including `-DOPENBMH_BUILD_EDITOR=ON`. Windows uses Direct3D 11 with automatic WARP software fallback. Linux requires OpenGL 3.3; macOS requires OpenGL 4.1, plus the documented platform development dependencies. Editor 0.5.5 is unsigned and does not bundle any real-world dataset or proprietary game assets.
|
||||
@@ -1,6 +1,6 @@
|
||||
# Engine split: Classic, Classic Extended and Modern
|
||||
|
||||
Status: **concept and migration plan**. It prepares one shared match engine under three season engines. Nothing in this document changes the behaviour of the current release.
|
||||
Status: **concept and migration plan**. It prepares one shared match engine under the season engines of three game variants. Nothing in this document changes the behaviour of the current release.
|
||||
|
||||
## 1. Goal
|
||||
|
||||
@@ -8,27 +8,35 @@ OpenBMH will offer three game variants:
|
||||
|
||||
| Variant | Data | Season engine | Interface | State |
|
||||
|---|---|---|---|---|
|
||||
| **Classic** | Imported from the user's BMH or FLTD installation (OBW `runtime:classic-v1`) | The current engine: fixed calendar, 9 leagues, original competition structure and rules | Classic 320×200 interface | Essentially complete |
|
||||
| **Classic Extended** | Classic data plus extension data | Classic engine with optional, switchable extensions | Classic interface plus additional screens in the same style | Not started |
|
||||
| **Modern** | Typed OBW worlds (imported or own) | New engine: generated calendar, data-driven leagues and competitions, playable foreign leagues | New high-resolution interface (RmlUi) | Interface in progress |
|
||||
| **Classic** | Imported from the user's BMH or FLTD installation (OBW `runtime:classic-v1`) | Classic: fixed calendar, 9 leagues, original competition structure and rules | Classic 320×200 bitmap interface | Essentially complete |
|
||||
| **Classic Extended** | Classic data, optionally extended where the classic screens can show it | Working idea: Classic engine plus features **backported from Modern**, step by step (§4) | Classic bitmap interface, extended by hand per feature | Open; after Modern |
|
||||
| **Modern** | New OBW data set (imported and extended, or own worlds) | Modern: generated calendar, data-driven leagues and competitions, playable foreign leagues, leagues larger than 12 teams | New high-resolution interface (RmlUi), designed for many leagues | Interface in progress |
|
||||
|
||||
All three use **the same match engine**. A match between two given teams under the same rules is simulated by the same code in every variant; only what happens around it (calendar, competitions, finances, transfers, development) differs.
|
||||
|
||||
### 1.1 Where a change belongs
|
||||
|
||||
- **Classic** receives changes that work with the imported original assets and the original data layout: bug fixes, quality of life, small rule corrections, menus such as the environment menu of a later DIAMOND release.
|
||||
- **Modern** is where new features are designed first, without the limits of the original screens or data layout: more leagues, foreign leagues with more than 12 teams, a free calendar, new competitions and systems.
|
||||
- **Classic Extended** takes Modern features back into the Classic engine **one at a time**, where the bitmap interface can present them with reasonable manual work. The classic screens were never designed for variable structures, so Classic Extended will never offer every Modern feature; each backport is a decision of its own (§4).
|
||||
|
||||
## 2. Target architecture
|
||||
|
||||
```
|
||||
Classic UI Classic Extended UI Modern UI (RmlUi)
|
||||
\ | /
|
||||
+-------- app / protocol layer -------+ variant capabilities
|
||||
/ | \
|
||||
season: classic season: classic + extensions season: modern
|
||||
(GameState image) (GameState image + ext state) (typed OBW model)
|
||||
\ | /
|
||||
+------ match adapter (per engine) ---+
|
||||
|
|
||||
match engine (bmh_match: typed contract)
|
||||
|
|
||||
random sources, attribute set bmh-classic@1
|
||||
Classic UI (bitmap) Classic UI + extra screens Modern UI (RmlUi)
|
||||
| | |
|
||||
+---------------- app / protocol layer (capabilities) -------+
|
||||
| | |
|
||||
season: classic season: classic + backported features season: modern
|
||||
(GameState image) (GameState image + extension state) (typed OBW model)
|
||||
| | \ / |
|
||||
| | shared feature modules |
|
||||
| | (bmh_features, ports) |
|
||||
+------------------ match adapter (per engine) --------------+
|
||||
|
|
||||
match engine (bmh_match: typed contract)
|
||||
|
|
||||
random sources, attribute set bmh-classic@1
|
||||
```
|
||||
|
||||
### 2.1 Libraries
|
||||
@@ -37,11 +45,21 @@ All three use **the same match engine**. A match between two given teams under t
|
||||
|---|---|---|
|
||||
| `bmh_match` | Minute simulation, events, chances, cards, injuries during the match, substitutions, live interventions, the Reality scene and reporter | `random`, the match contract types; **not** `GameState`, calendar, finances |
|
||||
| `bmh_season_classic` | Today's `src/game` without the match core: turn driver, weekly/monthly/season processing, cups, transfers, finances, post-match effects | `bmh_match`, `bmhcore` formats |
|
||||
| `bmh_season_classic_ext` | Extension modules on top of Classic (§4) | `bmh_season_classic` |
|
||||
| `bmh_season_modern` | New season engine on the typed OBW model (§5) | `bmh_match`, `bmh_world` |
|
||||
| `bmh_world` | Typed OBW model, reader/writer, validator, importers (`src/import`) | `bmhcore` formats |
|
||||
| `bmh_season_classic_ext` | Classic Extended: registry of backported features, their state and hook points in the Classic turn (§4) | `bmh_season_classic`, `bmh_features` |
|
||||
| `bmh_features` | Season features written once for Modern and reusable by Classic Extended, each against small **ports** (interfaces) instead of a concrete state model | the match contract types only |
|
||||
| `bmh_season_modern` | New season engine on the typed OBW model (§5) | `bmh_match`, `bmh_features`, `bmh_world` |
|
||||
| `bmh_world` | Typed OBW model, reader/writer, validator (`src/content`, `src/import`) | `bmhcore` formats |
|
||||
|
||||
The dependency rule: **the match engine knows no season engine**, and no season engine reaches into another one's state.
|
||||
The dependency rules: **the match engine knows no season engine**; no season engine reaches into the state of another; **no season engine knows an interface**; a feature in `bmh_features` knows neither `GameState` nor the OBW model, only its ports.
|
||||
|
||||
### 2.2 Writing Modern features so they can be backported
|
||||
|
||||
Backporting is cheap only if a feature is written for it from the start:
|
||||
|
||||
- The rules of a feature (for example youth development, a staff system, sponsor negotiation) live in `bmh_features` and read and write the game only through a port: `PlayerRoster`, `ClubFinance`, `Calendar`, `Mailbox`, `RandomSources` and similar narrow interfaces.
|
||||
- Modern implements the ports on the typed model. Classic Extended implements the same ports as adapters on `GameState` plus its extension state.
|
||||
- A feature declares what it needs (ports, data fields, calendar events) and which presentation it needs (screens, messages). This declaration is the checklist for a backport: if the Classic adapter cannot provide a port, or no classic screen can show the result, the feature stays Modern-only.
|
||||
- Features that depend on Modern-only structures (generated calendar, generic competition stages, leagues of variable size) are marked as such and are not candidates.
|
||||
|
||||
## 3. The match contract
|
||||
|
||||
@@ -94,7 +112,7 @@ The match engine draws only through an injected `RandomSources` interface with t
|
||||
|
||||
### 3.5 Attribute set
|
||||
|
||||
The match engine consumes players in attribute set `bmh-classic@1` (OBW §5.3). Classic and Classic Extended already store exactly this. Modern may keep richer attributes for its own systems, but provides a `bmh-classic@1` projection for every player it sends into a match. A later, finer match model would be a **new version** of the match engine with its own attribute set, selectable per variant; it is not part of this plan.
|
||||
The match engine consumes players in attribute set `bmh-classic@1` (OBW §5.3). Classic already stores exactly this. Modern may keep richer attributes for its own systems, but provides a `bmh-classic@1` projection for every player it sends into a match. A later, finer match model would be a **new version** of the match engine with its own attribute set, selectable per variant; it is not part of this plan.
|
||||
|
||||
### 3.6 Versioning
|
||||
|
||||
@@ -102,22 +120,31 @@ The match engine consumes players in attribute set `bmh-classic@1` (OBW §5.3).
|
||||
|
||||
## 4. Classic Extended
|
||||
|
||||
Classic Extended is **Classic plus switchable extensions**:
|
||||
> **Working idea, not a decision.** Backporting Modern features into the Classic engine is the current idea for Classic Extended; the variant may take a different shape. What does not depend on it: the shared match engine (§3), the Modern engine driven only through the protocol, and features written against ports (§2.2), which keep several options open.
|
||||
|
||||
- It runs on the Classic season engine and the Classic save layout, plus one additional state block for extensions (`x-extended/` in OBW saves).
|
||||
- Each extension is a module with an id, a version, its own state, its rules and its screens. A career records which extensions it uses.
|
||||
- **Invariant:** with every extension switched off, Classic Extended produces exactly the Classic results. A test runs the Classic regression through the Extended engine with no extensions.
|
||||
- Extensions hook into defined points of the Classic turn (start/end of day, week, month, season; before/after matchday; desk actions), never into the middle of a Classic routine.
|
||||
- Its screens use the classic interface toolkit (`src/ui`), in the same resolution and style.
|
||||
- Candidates for first extensions: the environment ("Umfeld") menu of a later DIAMOND release (reviewed against our rule base, documented as a deviation), more statistics and history screens, quality-of-life automation, configurable rule values (roadmap 0.3).
|
||||
Classic Extended is the **Classic season engine plus backported Modern features**, presented in the classic bitmap interface.
|
||||
|
||||
- **Invariant:** with every backported feature switched off, Classic Extended produces exactly the Classic results. A test runs the Classic regression through the Extended engine with no features.
|
||||
- Each backported feature is a module with an id and version, its own state (`x-extended/` in OBW saves), the Classic adapters for its ports and its classic-style screens. A career records which features it uses; features can be switched on at career start and, where safe, later.
|
||||
- Features hook into defined points of the Classic turn (start/end of day, week, month and season; before/after a matchday; desk actions), never into the middle of a Classic routine.
|
||||
- **Data:** Classic Extended starts from Classic data. A feature may bring additional data, but only in a shape the classic screens can show. Structures that change the size of what the screens list (more or larger leagues, new competitions) are Modern-only unless a specific screen is redesigned for them.
|
||||
- **Interface cost per feature**, the main factor in each backport decision:
|
||||
1. The result fits existing screens (a new value on the player card, a message, a desk action): small.
|
||||
2. A new screen of fixed size in the classic style (a staff or youth screen): medium, new own artwork needed.
|
||||
3. A screen whose content grows with the data (longer tables, more league selectors, calendar views): large, often not worth it.
|
||||
- **Assets:** the original bitmaps of the user's installation plus new classic-style artwork. New artwork must be the project's own.
|
||||
- Order of work: a feature is built and settled in Modern first, then backported if its ports and its presentation fit (§2.2).
|
||||
|
||||
## 5. Modern
|
||||
|
||||
> **Decision for 0.3 (October 2026):** Modern starts as a **fork of the Classic season core** in `src/modern/`, sharing formats, `GameState` (with a world layout) and the match core with Classic. It runs only on Modern data sets and moves away from Classic step by step; Classic stays unchanged. The typed engine described below remains the direction, reached gradually rather than by a rewrite. The 0.3 plan, status and UI interface are documented in German under [new_engine](new_engine/README.md).
|
||||
|
||||
Modern is a new season engine on the typed OBW model (`docs/formats/OBW.md`):
|
||||
|
||||
- **Data set:** an OBW world that goes beyond the original structure, for example foreign leagues with more than 12 teams, more leagues (up to 32) and real-world competition formats. It can start from an imported Classic world and be extended, or be a world of its own.
|
||||
- **Calendar:** generated each season from `world/calendar.json` (series, windows, events) instead of a fixed day table; any season start, international windows, winter breaks per nation.
|
||||
- **Competitions:** the generic stage model (league, groups, league phase, knockout, playoff, final) with declarative slots and promotion/relegation; up to 32 leagues; foreign leagues are playable, not only simulated.
|
||||
- **Systems:** finances, transfers, contracts, youth, staff and development are rewritten on the typed model, reusing Classic formulas where they fit, documented where they differ.
|
||||
- **Competitions:** the generic stage model (league, groups, league phase, knockout, playoff, final) with declarative slots and promotion/relegation; foreign leagues are playable, not only simulated.
|
||||
- **Systems:** finances, transfers, contracts, youth, staff and development are rewritten on the typed model, reusing Classic formulas where they fit and documenting where they differ.
|
||||
- **Interface:** the RmlUi client through the app/protocol layer only.
|
||||
- Matches always go through the shared match contract (§3).
|
||||
|
||||
@@ -125,10 +152,10 @@ Modern does not have to reproduce Classic results; its quality gate is plausibil
|
||||
|
||||
## 6. Variant selection and saves
|
||||
|
||||
- The world or save manifest names the runtime: `requires: ["runtime:classic-v1"]`, `["runtime:classic-extended-v1"]` or `["runtime:modern-v1"]`, plus `match@1`.
|
||||
- `CareerSession` selects the season engine from the manifest; the protocol reports **capabilities** per variant, so interfaces and console clients only offer supported actions.
|
||||
- Conversions are **one-way**: Classic → Classic Extended (switch on extensions), Classic or Classic Extended → Modern (convert to the typed model). There is no way back, and the original file is kept.
|
||||
- Legacy `.FBM` saves stay Classic.
|
||||
- The world or save manifest names the runtime: `requires: ["runtime:classic-v1"]`, `["runtime:classic-extended-v1"]` (with the list of active features and their versions) or `["runtime:modern-v1"]`, plus `match@1`.
|
||||
- `CareerSession` selects the season engine from the manifest; the protocol reports **capabilities** per engine and feature, so interfaces and console clients only offer supported actions.
|
||||
- Conversions are **one-way**: Classic → Classic Extended (switch features on), Classic or Classic Extended → Modern (convert to the typed model; backported feature state maps to the Modern original of the feature). There is no way back, and the original file is kept.
|
||||
- **All variants save only in the OBW format** (`.obs`). Legacy `.FBM` saves are an import source only: they are converted into a Classic `.obs` career and never written.
|
||||
|
||||
## 7. Migration plan
|
||||
|
||||
@@ -141,23 +168,27 @@ Each step keeps the game playable and the Classic regression (`tools/regression/
|
||||
| 2 | Introduce `RandomSources`; the match core no longer touches the global streams directly | Regression identical |
|
||||
| 3 | Typed `MatchdaySetup`/`MatchdayResult`; Classic adapter builds the setup from `MatchGroup`/`GameState` and writes results back; move post-match effects out of the minute loop into `bmh_season_classic` | Regression identical; match contract tests |
|
||||
| 4 | Remove the remaining `GameState` dependencies from `bmh_match` (enforced by the build: `bmh_match` does not link `GameState`) | Build rule; regression identical |
|
||||
| 5 | Variant field in manifests, engine selection in `CareerSession`, capability reporting in the protocol | Classic unchanged; capability tests |
|
||||
| 6 | Classic Extended skeleton: extension registry, hook points, `x-extended` state, "all extensions off = Classic" test | Regression identical through Extended |
|
||||
| 7 | Modern season engine on `bmh_world`, first with one nation and the shared match engine, then the competition model, then foreign leagues | Modern plausibility runs |
|
||||
| 8 | First Classic Extended extensions; Modern feature growth | Per extension/feature |
|
||||
| 5 | Runtime field in manifests, engine selection in `CareerSession`, capability reporting in the protocol | Classic unchanged; capability tests |
|
||||
| 6 | `bmh_features` with the first ports; Modern season engine on `bmh_world`, first with one nation and the shared match engine, then the competition model, then foreign leagues and larger leagues | Modern plausibility runs |
|
||||
| 7 | Classic Extended skeleton: feature registry, hook points, `x-extended` state, Classic adapters for the first ports, "no features = Classic" test | Regression identical through Extended |
|
||||
| 8 | Backports one feature at a time, each with its interface cost assessed (§4) | Per feature: Classic regression with the feature off, plausibility with it on |
|
||||
| 9 | Classic → Modern conversion of worlds and careers | Converted careers playable |
|
||||
|
||||
Steps 1 to 4 are the actual split and the risky part; they are pure refactoring and must be done in small commits with the regression after each.
|
||||
Steps 1 to 4 are the actual split and the risky part; they are pure refactoring and must be done in small commits with the regression after each. Classic improvements continue in parallel on `bmh_season_classic`.
|
||||
|
||||
For 0.3 the order changes: the Modern fork (phases M0–M7 in [new_engine](new_engine/phasen.md)) comes first and shares the match core as it is; steps 1 to 4 follow later and then serve both season cores.
|
||||
|
||||
## 8. Tests
|
||||
|
||||
- **Match contract tests:** a fixed `MatchdaySetup` with fixed seeds yields a fixed `MatchdayResult` (golden files with synthetic teams, public).
|
||||
- **Classic regression:** unchanged scripts and expected outputs; run after every step.
|
||||
- **Extended identity:** Classic regression through the Extended engine with no extensions.
|
||||
- **Extended identity:** the Classic regression through the Extended engine with no features.
|
||||
- **Feature tests:** each module in `bmh_features` is tested once against fake ports, then through both adapters (Modern and Classic Extended).
|
||||
- **Modern plausibility:** bulk season simulations with goal, points and money distributions compared to Classic as a reference band.
|
||||
- **Dependency check:** the build fails if `bmh_match` includes season or `GameState` headers.
|
||||
- **Dependency checks:** the build fails if `bmh_match` includes season or `GameState` headers, if `bmh_features` includes `GameState` or OBW model headers, or if a season engine includes interface headers.
|
||||
|
||||
## 9. Open decisions
|
||||
|
||||
- Whether Classic Extended may change the save layout for its extensions only in OBW saves or also offer a legacy `.FBM` export (proposal: OBW only).
|
||||
- Whether Modern keeps `bmh-classic@1` as its only player attribute set at first (proposal: yes, richer attributes later).
|
||||
- Which team owns which variant: Classic and the split (engine/integration), Modern interface (UI), Classic Extended extensions (both, per module).
|
||||
- Which features become the first backport candidates (proposal: features of interface cost 1 or 2 that do not change league structure).
|
||||
- Whether Modern keeps `bmh-classic@1` as its only player attribute set at first (proposal: yes, richer attributes later as a new match engine version).
|
||||
- Ownership: the split and Classic (engine/integration), the Modern interface (UI), Modern features and their backports (shared, per feature).
|
||||
@@ -13,11 +13,19 @@ OpenBMH is a C++20 engine with graphical and console frontends. The implementati
|
||||
| `src/cli` | Command language, structured protocol, console windows and multi-client seat routing |
|
||||
| `src/audio` | Bank decoding, synthesis, playback and cues, without authority to change gameplay |
|
||||
| `src/launch` | RmlUI launcher, portable mod library, child processes and legacy installation discovery |
|
||||
| `src/modern/ui` | Opt-in native Modern UI with a read-only world catalogue and a replaceable presentation data source |
|
||||
| `src/content` | Sealed OBW content, native career containers and personal preferences |
|
||||
| `src/import` | Legacy installation and save-layout conversion; original readers are used here |
|
||||
|
||||
`bmhcore` contains the format and game layers. `bmhui`, `openbmh_audio` and the application session provide reusable pieces above it. Frontends should translate actions and display results; they should not introduce independent transfer, calendar or financial rules.
|
||||
|
||||
The experimental Modern frontend uses namespace `bmh::modern_ui`, preserving
|
||||
the Modern season fork's existing lookup of `bmh::ui`. Its current `DemoSource`
|
||||
owns presentation-only fixtures and separate JSON checkpoints; it neither
|
||||
constructs a career nor starts matches. See [native UI status](new_ui/NATIVE_STATUS.md)
|
||||
for the implemented slice and outstanding HTML transfers. Shared archive/image
|
||||
helpers live in `bmh_asset_io`, without linking the editor GUI or MCP server.
|
||||
|
||||
## Session boundary
|
||||
|
||||
`CareerSession` owns the live game, the two random streams and progression state. Requests identify the manager and the revision they observed. Shared actions validate that identity, stage state and random effects, and publish supported results together. Rejected requests must not leave partial transactions.
|
||||
@@ -26,7 +34,7 @@ Some calendar operations need synchronous human decisions. Their presenters own
|
||||
|
||||
## Calendar and matches
|
||||
|
||||
The planned split into one shared match engine and three season engines (Classic, Classic Extended, Modern) is described in [ENGINE_SPLIT](ENGINE_SPLIT.md).
|
||||
The planned split into one shared match engine and the season engines of Classic, Classic Extended (Classic plus backported Modern features) and Modern is described in [ENGINE_SPLIT](ENGINE_SPLIT.md).
|
||||
|
||||
The turn driver moves between manager desks, match clocks and calendar events. Weekly, monthly and seasonal processing can produce decisions as well as simulation results. Match groups contain the day's competitions; a manager can intervene only in a group involving that manager's team. A multi-client match clock advances at a barrier shared by all seats.
|
||||
|
||||
@@ -57,8 +65,11 @@ of `OpenBMH`, keeping edition-specific process globals isolated. Portable mod co
|
||||
personal files have independent lifetimes. See [runtime-0.2](formats/obw/runtime-0.2.md).
|
||||
|
||||
The launcher layout and theme live in `assets/launcher/launcher.rml` and `theme.rcss`.
|
||||
They share the same RmlUI core, FreeType font engine and upstream SDL2/OpenGL renderer
|
||||
on all desktop platforms. The C++ view translates events into the existing launcher
|
||||
They share the same RmlUI core, FreeType font engine and SDL2 platform layer.
|
||||
Windows uses the pinned upstream Direct3D 11 renderer with hardware-to-WARP
|
||||
fallback, while Linux/macOS keep the upstream OpenGL renderer. Both the editor
|
||||
and launcher share window/device lifetime, resizing and capture through
|
||||
`src/launch/rml_video.*`. The C++ view translates events into the existing launcher
|
||||
interface; it does not own conversion rules or mod storage. This presentation layer
|
||||
can be reused by future modern screens. Classic game screens retain their current UI.
|
||||
The operating system supplies the folder picker through nativefiledialog-extended.
|
||||
|
||||
@@ -469,6 +469,22 @@ A resolver looks a key up in the active packs by priority (§9.5), then in the w
|
||||
|
||||
Asset metadata sits next to the files in `assets/index.json`: key, files per size, author, source and licence (required).
|
||||
|
||||
**Optional visual defaults (1.1).** A world may set
|
||||
`manifest.presentation: "assets/presentation.json"`. The referenced document has
|
||||
`schema: "asset-presentation@1"`, an optional `player_photo_fallback` asset key,
|
||||
`trophy_fallback` (normally `asset:comp/generic/trophy`), and
|
||||
`youth_photos: {assets: [<photo keys>], selection: "random-on-creation",
|
||||
fallback: <photo key>}`. All keys resolve through the normal asset index. A
|
||||
client supporting youth creation chooses once using its saved game RNG and
|
||||
persists the selected key; it does not reroll a face on display or rename. This
|
||||
document supplies pictures, never player records, ratings or generation rules.
|
||||
Readers without this optional feature retain it and use their existing visual
|
||||
fallbacks. The current editor preserves it without generating youth players.
|
||||
An explicitly indexed player `photo` is displayed before composing a retained
|
||||
`appearance` recipe. A visual overlay can therefore keep Classic appearance and
|
||||
all game data intact while displaying a supplied photo or silhouette. Sealed
|
||||
Classic rendering and runtime capabilities are unaffected.
|
||||
|
||||
**Player pictures** (`asset:player/<key>/photo`) resolve in this order:
|
||||
|
||||
1. A photo from an active pack.
|
||||
@@ -516,6 +532,7 @@ Composed pictures may be cached in the user's cache directory; they are never wr
|
||||
### 9.6 RmlUi themes (`.obt`)
|
||||
|
||||
- A theme contains `.rml` documents, `.rcss` style sheets, fonts, icons and its `locale/` texts, plus a manifest naming the client version it targets.
|
||||
- Fixed interface artwork, including training-camp illustrations, maps, menu scenes and desktop motifs, belongs to the GUI resources or theme, not to the world. World assets include club crests, player photos and competition trophies. The stock Modern UI must not require its own pictures in the world's asset index; see the [GUI/world boundary](../new_ui/assets.md). Old interface images can be removed from Modern worlds through a separate validated migration once their remaining dependencies are gone. Classic content and its seals retain their existing requirements.
|
||||
- Interfaces bind to a **view model**, not to the world files. The client exposes data models (RmlUi data bindings) built from the application/protocol layer (`docs/protocol.md`), with ids and asset keys as values. RmlUi loads images through a file interface that resolves `asset:` keys (§9.2).
|
||||
- Neither worlds nor packs contain layout, so a theme works with every world, and the classic 320×200 interface keeps working next to it.
|
||||
|
||||
|
||||
@@ -126,6 +126,27 @@ the current edition's selection and qualification algorithm, including FA Cup
|
||||
qualifying/proper rounds and League Cup for English data, or indoor/Masters for
|
||||
German data. The generic `format` field alone is insufficient to execute a stage.
|
||||
|
||||
For inspection, `classic-season-entrants@1` assigns each first-division champion
|
||||
to the Champions League. A holder in that league also qualifies (or the
|
||||
runner-up if already champion). Domestic cup winners, with finalists as
|
||||
replacements, enter the Cup Winners' Cup. Title-holder overlap affects the
|
||||
remaining allocation. The regular UEFA-Cup quotas are `[4,4,4,4,3]` for source
|
||||
league indices `[0,5,6,7,8]`, taking the next unqualified clubs by rank. Foreign
|
||||
cup representatives follow the Classic selection procedure. The historical
|
||||
`x-legacy.europe_places` field is a prediction/colouring value, not that quota.
|
||||
|
||||
The versioned Classic ladder uses its first four domestic groups. Relegation
|
||||
counts come from each league's `x-legacy.relegation_places`. A single lower
|
||||
league supplies the corresponding top-ranked clubs; parallel lower leagues
|
||||
supply champions plus winners of the Classic playoffs. Without that playoff
|
||||
result only the champions are exchanged. The last domestic group draws from
|
||||
the newcomer pool, never a foreign league named by an unused `below` entry.
|
||||
License withdrawals and the Classic protection of a human manager at the
|
||||
bottom tier can affect the actual result. Foreign Classic leagues have no
|
||||
regular promotion/relegation. These are compatibility policy summaries, not
|
||||
independent typed modern rule declarations or permission to simulate them in
|
||||
the editor.
|
||||
|
||||
`classic-calendar@1` retains the complete source day table and bindings.
|
||||
`classic-season-calendar@1` applies options, season cycle, weekday alignment and
|
||||
leap-year behavior using the Classic calendar algorithm at runtime. Cup series
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
This additive profile is a native editing interchange. It does **not** change
|
||||
`classic-installation-v1`, its seals, the Classic runtime or save files.
|
||||
It is implemented by OpenBMH Editor 0.5.0, whose application version is separate
|
||||
It is implemented by OpenBMH Editor 0.5.x, whose application version is separate
|
||||
from the OBW format version and the OpenBMH 0.2.0 game version.
|
||||
|
||||
## Identification
|
||||
@@ -61,6 +61,55 @@ Competition `trophy` and optional fallback remain logical asset references;
|
||||
images are indexed just like crests and portraits. Arbitrary new competitions
|
||||
can use their own trophy or a package-supplied generic trophy.
|
||||
|
||||
### Read-only comparisons (Editor 0.5.1)
|
||||
|
||||
The editor's `compare` command / `editor_compare` MCP tool projects ratings and
|
||||
salaries without writing an additional OBW table. Player attributes retain their
|
||||
set and range. Club and league attributes are player-weighted means of known
|
||||
values within one set; mixed sets require a filter. Full rosters include reserves,
|
||||
except source evidence explicitly marked
|
||||
`x-simulation.squad_role: "source-only-duplicate"`. League membership uses a club's
|
||||
explicit league, or an unambiguous league `members` reference as fallback.
|
||||
|
||||
`contracts.salary` is per season, in integer `manifest.currency` minor units.
|
||||
Only contracts active on `manifest.start_date` and matching the player's current
|
||||
team count; absent bounds are open and explicit date bounds are inclusive.
|
||||
Multiple matching active contracts are ambiguous, not summed. Missing or invalid
|
||||
salary remains null, independently of an explicit zero. Club/league payrolls
|
||||
exclude staff and use known player salaries only. `salary_known`,
|
||||
`salary_unknown`, `salary_ambiguous`, `salary_complete` and `salary_overflow`
|
||||
describe coverage; a missing/empty/overflowed sum is null. Means of known salaries
|
||||
round to the nearest minor unit. Attribute means separately report their sample
|
||||
sizes in `attribute_counts`. No current date, invented contract or foreign-club
|
||||
strength-band interpretation is substituted for missing data.
|
||||
|
||||
### Read-only regulations (Editor 0.5.2)
|
||||
|
||||
The `regulations` command / `editor_regulations` MCP tool exposes the same
|
||||
read-only projection as the Regulations page. It accepts `language` (de/en),
|
||||
`search`, `nation` and `competition`. It returns `items`, all preserved `rules`,
|
||||
the world date, `read_only: true` and the session revision. It creates no table,
|
||||
edits, undo entries or runtime entrants.
|
||||
|
||||
Each item retains its full `record` and `stages`. Explicit `movement` entries
|
||||
retain rank ranges and destination references; tier comparisons label promotion
|
||||
and relegation, participant roles label playoffs. Competition/stage `slots`
|
||||
retain their full selector, fallback, explicit destination and phase; they are
|
||||
visible on both the source and destination competition. Fixed participant lists
|
||||
are not reinterpreted as qualification rules.
|
||||
|
||||
Imported `classic_runtime.qualifications: classic-season-entrants@1` and
|
||||
`legacy_ladder` records permit a labelled presentation of the existing Classic
|
||||
policy, documented in [classic-v1](classic-v1.md). Explicit declared rules take
|
||||
precedence. Unknown rules stay unspecified; the editor never substitutes modern
|
||||
UEFA quotas or infers qualification from historical colouring fields. This
|
||||
presentation registry does not implement a new season engine.
|
||||
|
||||
Optional `manifest.presentation` references the `asset-presentation@1` visual
|
||||
defaults described in [OBW §9.2](../OBW.md#92-resolution-and-image-formats).
|
||||
Youth pools, silhouette and generic trophy keys remain indexed assets. They are
|
||||
preserved across editor saves, independent of Classic source recipes or seals.
|
||||
|
||||
## Sources, conflicts and images
|
||||
|
||||
- `x-source/` can contain unchanged or losslessly gzipped normalized source
|
||||
|
||||
@@ -0,0 +1,127 @@
|
||||
# Imported implementation snapshot
|
||||
|
||||
Historical build/reference text from the secured implementation before the project split. Product names and release links below describe that snapshot.
|
||||
|
||||
# OpenBMH
|
||||
|
||||
The separate [OpenBMH Editor 0.5.5](docs/EDITOR.md) uses native RmlUI,
|
||||
supports German/English, three themes, image editing and a local MCP server.
|
||||
Download its own `editor-v0.5.5` release or build with
|
||||
`-DOPENBMH_BUILD_EDITOR=ON`. Edited worlds are independent of the Classic runtime.
|
||||
|
||||
A modern and faithful open source rebuild of the *Bundesliga Manager Hattrick* engine.
|
||||
|
||||
OpenBMH is a standalone C++20 engine with an SDL2 interface for *Bundesliga Manager Hattrick* (1994/95) and its English edition, *Football Limited*. The project develops a playable reconstruction alongside a platform for new rules, content and interfaces. Keeping the familiar game enjoyable and making it easier to extend are equally important goals.
|
||||
|
||||
Version 0.2 imports a game installation supplied by the player into a portable Classic mod. The running game reads the converted OBW content. Game data, artwork, music, manuals and the original executable are not distributed with OpenBMH. Its aim is recognisable behaviour and plausible results; documented compatibility decisions and safety fixes take precedence over reproducing every original fault.
|
||||
|
||||
This is an independent community project, with no affiliation with or endorsement by the original rights holders, the DFL or the Bundesliga. It is an engine implementation, not an official source release or a remaster.
|
||||
|
||||
## Get started
|
||||
|
||||
Check the [releases page](https://github.com/Weyoune/openbmh/releases) for available packages and their platform notes. A Windows package uses the name `OpenBMH-<version>-windows-x64.zip`. Availability and native validation are stated for each release; source build instructions do not establish platform support on their own.
|
||||
|
||||
These instructions describe **0.2.1**, released separately from the editor. See the [0.2 release notes](docs/release/0.2/RELEASE_NOTES.md).
|
||||
|
||||
1. Extract OpenBMH into a writable directory.
|
||||
2. Start `OpenBMH.exe` on Windows, or `OpenBMH` on Linux/macOS. Its RmlUI launcher initially has an empty **Name | Art** list. The night-stadium design uses a small version label in the lower-right corner.
|
||||
3. Choose **Add**, select your own BMH or Football Limited installation, and enter a unique mod name and starting display year. The default names are `BMH-classic` and `FTDL-classic` (the English format identifier is `FLTD-classic`).
|
||||
4. Optionally transfer saved games and settings from the installation or another folder. The import reports files it could not migrate.
|
||||
5. Select the resulting Classic mod and choose **Start**. After import, its original installation is no longer needed for play.
|
||||
|
||||
Converted contents live in `mods/<name>/content.obw` next to the program. Saves (`.obs`), settings (`.obsettings`), desktop layouts (`.oblayout`) and high scores (`.obscore`) live separately in `userdata/<content-id>/`. **Delete** asks before removing a mod and retains personal data; importing identical contents reconnects them. **Rename** renames the mod directory. Externally modified Classic packages are rejected; import the installation again to repair them. Keep backups of the portable directory.
|
||||
|
||||
For direct startup or the console:
|
||||
|
||||
```sh
|
||||
./OpenBMH --mod "mods/BMH-classic/content.obw"
|
||||
./openbmh_cli --console --mod "mods/BMH-classic/content.obw"
|
||||
```
|
||||
|
||||
Both frontends use native content and saves. Use **Add** to migrate older files rather than passing an original executable or `.FBM` to the running game. The starting year changes the Classic year display; original weekday and scheduling rules are preserved. Modern worlds are reserved for a later version.
|
||||
|
||||
The launcher uses SDL2 and RmlUI, with Direct3D 11 and automatic WARP software fallback on Windows, OpenGL 3.3 on Linux and OpenGL 4.1 on macOS; keep its `assets` directory next to the executable. Folder selection uses the operating system's dialog. See the [0.2 migration contract](docs/formats/obw/runtime-0.2.md) for compatibility and validation limits. Platform builds and automated tests are separate from human interactive acceptance on Windows and macOS.
|
||||
|
||||
## Features and direction
|
||||
|
||||
The graphical client and console share career management, matches, transfers, contracts, finances, training, stadium management and save handling. The console supports command batches, structured views and multiple manager clients. Audio is decoded from the user's installation where supported.
|
||||
|
||||
Version 0.1 establishes the playable engine and development interfaces. Later milestones introduce an open data format and typed model, configurable rules, a scalable interface and independently distributable content. These are goals rather than delivery dates; the [roadmap](docs/ROADMAP.md) describes their dependencies.
|
||||
|
||||
The standalone [`openbmh_import` tool](docs/formats/obw/import.md) produces the same complete Classic content packages, including media and frozen player portrait recipes. A mod directory contains its sealed `content.obw`; legacy save migration is performed through the launcher.
|
||||
|
||||
## Build from source
|
||||
|
||||
The following recipes target version 0.2. They require Git, CMake 3.24 or newer and a C++20 compiler. The first configure fetches pinned open-source dependencies. Native build and package results are documented for each release; these instructions do not claim an untested platform result.
|
||||
|
||||
Clone the public repository, then run the commands for your system:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/Weyoune/openbmh.git
|
||||
cd openbmh
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
Install Visual Studio 2022 or its Build Tools with **Desktop development with C++**, a Windows SDK and CMake. From Developer PowerShell, using the Visual Studio generator:
|
||||
|
||||
```powershell
|
||||
cmake -S . -B build-windows -G "Visual Studio 17 2022" -A x64
|
||||
cmake --build build-windows --config Release
|
||||
ctest --test-dir build-windows -C Release --output-on-failure
|
||||
.\build-windows\Release\OpenBMH.exe
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
On Debian or Ubuntu, install the compiler and development libraries. This example uses the default GTK3 file dialog backend:
|
||||
|
||||
```sh
|
||||
sudo apt install build-essential git cmake ninja-build pkg-config libgtk-3-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxi-dev libxfixes-dev libxss-dev libasound2-dev libpulse-dev libgl1-mesa-dev libudev-dev
|
||||
cmake -S . -B build-linux -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build-linux
|
||||
ctest --test-dir build-linux --output-on-failure
|
||||
./build-linux/OpenBMH
|
||||
```
|
||||
|
||||
Use a newer CMake if your distribution ships a version older than 3.24. A Linux binary can still require system libraries such as GTK3; a ZIP is not a guarantee of portability across distributions.
|
||||
|
||||
### macOS
|
||||
|
||||
Apple's Command Line Tools supply the compiler and SDK; full Xcode is not required. Install CMake and Ninja separately, for example with Homebrew. On Apple Silicon:
|
||||
|
||||
```sh
|
||||
xcode-select --install
|
||||
brew install cmake ninja
|
||||
cmake -S . -B build-macos -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64
|
||||
cmake --build build-macos
|
||||
ctest --test-dir build-macos --output-on-failure
|
||||
./build-macos/OpenBMH
|
||||
```
|
||||
|
||||
On Intel Macs omit the arm64 setting or select `x86_64`. These commands build terminal executables; they do not create a signed application bundle.
|
||||
|
||||
Game-data tests are optional: add `-DBMH_DATA="path/to/game"` when configuring to supply your own installation. The repository includes no original test data. See [BUILDING](docs/BUILDING.md) for test skips, system SDL2 and packaging details.
|
||||
|
||||
## Documentation
|
||||
|
||||
- [Build from source](docs/BUILDING.md) and [platform notes](docs/BUILD_PLATFORMS.md)
|
||||
- [Architecture](docs/architecture.md), [file formats](docs/formats/README.md) and [random generators](docs/RNG.md)
|
||||
- [Console reference](docs/CLI_CONCEPT/README.md), [structured protocol](docs/protocol.md) and [client/agent introduction](docs/CONSOLE_CLIENTS.md)
|
||||
- [Compatibility decisions](docs/COMPATIBILITY.md)
|
||||
|
||||
## Contribute
|
||||
|
||||
Reports with reproducible steps, documentation corrections and focused patches are welcome. Discuss larger design changes in an issue before implementing them. [CONTRIBUTING.md](CONTRIBUTING.md) explains the review and testing conventions. Do not upload original game files, screenshots, recordings, copied text databases or saved games to public issues or pull requests.
|
||||
|
||||
## How the project was developed
|
||||
|
||||
The implementation grew from study of file formats and behaviour of a legally obtained game installation. The public repository contains independently written implementation and format documentation. It does not contain the proprietary implementation or its extracted resources.
|
||||
|
||||
## License and thanks
|
||||
|
||||
OpenBMH's own code and documentation are licensed under **GNU GPL version 3 only**, SPDX **GPL-3.0-only**. [LICENSE](LICENSE) contains the unchanged GPLv3 text; the example wording in its appendix does not change this project's version choice. Game content has separate ownership and is not covered by this license.
|
||||
|
||||
Release source is identified by the matching version tag: [v0.1.2](https://github.com/Weyoune/openbmh/tree/v0.1.2) for the published 0.1.2 version. This branch develops 0.2; it is not a published release. Binary releases must accompany or offer the corresponding source and build/relinking materials required by the applicable licenses. The tag identifies application source; it does not replace required materials for linked third-party components.
|
||||
|
||||
Bundled components retain their own licenses, including Nuked OPL3 under LGPL-2.1-or-later. See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) and [ACKNOWLEDGEMENTS.md](ACKNOWLEDGEMENTS.md).
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"deleted_refs": [
|
||||
":refs/tags/editor-v0.5.0",
|
||||
":refs/tags/editor-v0.5.1",
|
||||
":refs/tags/editor-v0.5.2",
|
||||
":refs/tags/editor-v0.5.3",
|
||||
":refs/tags/editor-v0.5.4",
|
||||
":refs/tags/editor-v0.5.5",
|
||||
":refs/tags/v0.2.0",
|
||||
":refs/tags/v0.2.1",
|
||||
":refs/heads/0.3",
|
||||
":refs/heads/assist/modern-ui",
|
||||
":refs/heads/release/1.0"
|
||||
],
|
||||
"history_rewritten": false,
|
||||
"classic_releases_preserved": [
|
||||
"v0.1.1",
|
||||
"v0.1.2"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,234 @@
|
||||
[
|
||||
{
|
||||
"tag": "editor-v0.5.0",
|
||||
"source_release_id": 421232302,
|
||||
"target_release_id": 429185683,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.0-linux-x64.zip",
|
||||
"size": 5058331,
|
||||
"sha256": "0f4c8b2d894638d07c6d25fc711e2b811ef08ad76cb3fa3ed9bc388ed2594d1b"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.0-macos-arm64.zip",
|
||||
"size": 3545166,
|
||||
"sha256": "033e8870ef0fc17771d55bbbc0d64213fb8d6db5410f829f9391c6a003364b97"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.0-source.zip",
|
||||
"size": 53685961,
|
||||
"sha256": "3dbea63c93fe3cb2568322e89accd7d07e9c367c4055f5c18a3048d1a162c1ac"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.0-windows-x64.zip",
|
||||
"size": 4641538,
|
||||
"sha256": "34d35dc95c2af9fda7dc7302a83d2da22e7244e0075d6e6e4e797ff9b0b00762"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "21755cb7d9d8c089d1963fe982d8545e437a598e"
|
||||
},
|
||||
{
|
||||
"tag": "editor-v0.5.1",
|
||||
"source_release_id": 421424523,
|
||||
"target_release_id": 429188657,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.1-linux-x64.zip",
|
||||
"size": 5155715,
|
||||
"sha256": "2403d2f5ad5ce03357576849a14e88ecad5cb7041b82d4251eac2b33bf076e11"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.1-macos-arm64.zip",
|
||||
"size": 3637729,
|
||||
"sha256": "72d78ed4b5fa572700c7e94506f707fe0e499b2e981faad0f6b75f59aac3729f"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.1-source.zip",
|
||||
"size": 54622365,
|
||||
"sha256": "0796711b9bd3c517a08a435ebad051e95c0dff736ffe2f65c8ac3d31a1779c42"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.1-windows-x64.zip",
|
||||
"size": 4699654,
|
||||
"sha256": "233c6fb8f39f85790c98f4c7571435ab55c95f80fecc3ab1ca748f8c5c411456"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "42cc0b3c7fffebfeaeb4d70cdf986c9be8d2a2f2"
|
||||
},
|
||||
{
|
||||
"tag": "editor-v0.5.2",
|
||||
"source_release_id": 421454867,
|
||||
"target_release_id": 429188982,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.2-linux-x64.zip",
|
||||
"size": 5233430,
|
||||
"sha256": "15917aad75034b06a520901a1a02ecad14cc8b3550ae80a21fd22f6673db0650"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.2-macos-arm64.zip",
|
||||
"size": 3703244,
|
||||
"sha256": "8522fc104dd628bff3d5e69117927b754a5d1183c19947e6c743a1fdb7637f5e"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.2-source.zip",
|
||||
"size": 55495894,
|
||||
"sha256": "0fa7355631821f82e3780938f916a6eeb6be6da820c39152ea482e45391ffc77"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.2-windows-x64.zip",
|
||||
"size": 4751135,
|
||||
"sha256": "4ed6f56e6e64bef69820264d019b2e76f358d189a441467fc6b32ed4c85ff876"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "df54264bd2ebd95ba5244373dae816617b4ddbcf"
|
||||
},
|
||||
{
|
||||
"tag": "editor-v0.5.3",
|
||||
"source_release_id": 421655927,
|
||||
"target_release_id": 429189382,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.3-linux-x64.zip",
|
||||
"size": 5250872,
|
||||
"sha256": "a98a5886baacc021adcca8cb3b96d8aa525413b85b8d41a4aaace0fb7d47360b"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.3-macos-arm64.zip",
|
||||
"size": 3721020,
|
||||
"sha256": "7f041d45afb94c782826f6aa503d9fbdab04012493ff363a0ddd70172388a97e"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.3-source.zip",
|
||||
"size": 56020944,
|
||||
"sha256": "ebedaa5ce88a82f5875fb78ef066a25a0087da7d6860e584f97fbab4f3f78935"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.3-windows-x64.zip",
|
||||
"size": 4772076,
|
||||
"sha256": "9c66c13d278f8a449e70a0f30621d3b58fa3ed3480e33368d35bba8cbbe5eb66"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "245e213ccaa5edc1066615b8c534ff53fdd5681c"
|
||||
},
|
||||
{
|
||||
"tag": "editor-v0.5.4",
|
||||
"source_release_id": 421816283,
|
||||
"target_release_id": 429189730,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.4-linux-x64.zip",
|
||||
"size": 5265562,
|
||||
"sha256": "f6863baf8bc5f46e90b8320f6353e83f627468bfd5632fcb9c2f2830ce56504f"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.4-macos-arm64.zip",
|
||||
"size": 3740654,
|
||||
"sha256": "e8b154d0763ee9e2d5af77ded032de202e0c489acff1db2803fc9b2d4f53d26b"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.4-source.zip",
|
||||
"size": 56727706,
|
||||
"sha256": "782f393459c9a2895fe4b9c5db006c8413f85a666fd4f7d789e0698578c3286f"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.4-windows-x64.zip",
|
||||
"size": 4784089,
|
||||
"sha256": "177c5feebd33388f6d12df7ed6682b5017f9813566a8d952890ca4129cdc1971"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "fe307dea41ff165adee15a81a0d9178734110d0f"
|
||||
},
|
||||
{
|
||||
"tag": "editor-v0.5.5",
|
||||
"source_release_id": 421852213,
|
||||
"target_release_id": 429190153,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.5-linux-x64.zip",
|
||||
"size": 5265771,
|
||||
"sha256": "9494aaa233b151c9a7dba4929d2b8765c475a26356b9867d7976841d311a6d84"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.5-macos-arm64.zip",
|
||||
"size": 3740853,
|
||||
"sha256": "72e66fa1c721abdfcb5f3152a80ccbc59dde1598aa3aeeb49ec9ec65c26b4ccf"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.5-source.zip",
|
||||
"size": 57709744,
|
||||
"sha256": "74d5d03aa42c73633feeb44b8aae4c25977a926a60595146edb283e079ad6b09"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMHEditor-0.5.5-windows-x64.zip",
|
||||
"size": 4784299,
|
||||
"sha256": "81ae5b860f283cbf598d22d646309c0ac5f2b08fd4eea3bf3f05d4ad6225a48d"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "6a3e51038c70d5ba7c033feb29fab0e664502a5f"
|
||||
},
|
||||
{
|
||||
"tag": "v0.2.0",
|
||||
"source_release_id": 421260518,
|
||||
"target_release_id": 429190535,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMH-0.2.0-linux-x64.zip",
|
||||
"size": 15629038,
|
||||
"sha256": "1c7677550859dd3763f801f98e4310e699f413004e4c2f346cfbd7677a188d0c"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMH-0.2.0-macos-arm64.zip",
|
||||
"size": 12042706,
|
||||
"sha256": "f4030ab14356d8cf6a5fe184a9b0bf9d641192989304bdc56845d0e4eeb319f5"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMH-0.2.0-source.zip",
|
||||
"size": 25597701,
|
||||
"sha256": "7c23fe6245bddb795e19f2a90a3a61a4f5c407ccdef9d5df0316d1c5bb53a079"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMH-0.2.0-windows-x64.zip",
|
||||
"size": 11232114,
|
||||
"sha256": "309d520bc91a160d009db1f7ac84399ec3295639b5857b3f91442cae6c5a8293"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "878e171e15b1585873e67408dada6521282e51ec"
|
||||
},
|
||||
{
|
||||
"tag": "v0.2.1",
|
||||
"source_release_id": 421692293,
|
||||
"target_release_id": 429190834,
|
||||
"verified_assets": [
|
||||
{
|
||||
"name": "OpenBMH-0.2.1-linux-x64.zip",
|
||||
"size": 15640454,
|
||||
"sha256": "3e62647e264a31cd71c79cb451ef3b49aaf40ca956a054b6e2018d68ec58285e"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMH-0.2.1-macos-arm64.zip",
|
||||
"size": 12053490,
|
||||
"sha256": "9292dd94c44d022435a8f9f3ed70e97450a8ab1d366412cabef6cd35575365c4"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMH-0.2.1-source.zip",
|
||||
"size": 27932248,
|
||||
"sha256": "79f0107c83f84b5ab8d5cc8a79c9de871117442b4901d4e9bebc5d60aa5021ba"
|
||||
},
|
||||
{
|
||||
"name": "OpenBMH-0.2.1-windows-x64.zip",
|
||||
"size": 11242209,
|
||||
"sha256": "ea1270ac1f9cd4a81123cc4eaac02b4303a7a198167e0a530d38611803cf9632"
|
||||
}
|
||||
],
|
||||
"source_deleted": true,
|
||||
"archived_tag_object": "245e213ccaa5edc1066615b8c534ff53fdd5681c"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
# Modern-Engine · Regeln für Agenten
|
||||
|
||||
- Modern-Engine-Arbeit findet auf dem Branch `0.3` statt; Dokumentation liegt in `docs/new_engine/`.
|
||||
- Code der Modern-Saisonlogik gehört ausschließlich nach `src/modern/` (Namespace `bmh::modern`).
|
||||
- **Classic bleibt unverändert.** Gemeinsame Teile (`src/formats`, `src/game/state.*`, Zufall, Match-Kern) dürfen nur so geändert werden, dass Classic mit seinem Layout bit-identisch bleibt. Nach jeder solchen Änderung laufen Classic-Tests und Regression.
|
||||
- Die Modern-Engine lädt nur Modern-Datensätze (`runtime:modern-v1`); Classic lädt keine Modern-Datensätze.
|
||||
- UI-Code (RmlUi) liest Spielzustand nur über die Modern-Session und ihre Projektionen ([UI-Schnittstelle](ui-schnittstelle.md)), nie direkt aus `GameState`.
|
||||
- Regeländerungen gegenüber Classic werden in [DIFFERENCES](../DIFFERENCES.md) als Modern-Abweichung festgehalten.
|
||||
- Jede Änderung am OBW-Format (neue Felder, Wertebereiche, Prüfregeln) wird vor oder mit dem Code in [Datenformat](datenformat.md) eingetragen, mit einer Zeile „Editor“ für die nötige Editor-Anpassung.
|
||||
- Mit jeder Phase den Status in [README](README.md) und die Details in [Phasen](phasen.md) nachführen.
|
||||
- Private Datensätze, echte Namen, Wappen und Fotos gehören nicht in dieses Repository; Tests nutzen synthetische Welten.
|
||||
- Diese Notizen sind deutsch; Code, Kommentare und Commits englisch.
|
||||
|
||||
## Arbeiten im Abzweig (seit M1)
|
||||
|
||||
- Der Abzweig ist mit Skripten aus Classic erzeugt worden; **seitdem wird `src/modern/` von Hand gepflegt**. Classic-Änderungen werden nicht automatisch übernommen.
|
||||
- Modern-Saisonfunktionen nehmen `ModernState` (`src/modern/game/modern_state.hpp`), eine Ableitung von `GameState`. Modern-Code ruft sie **qualifiziert** auf: `modern::name(...)`. Ein fehlender Modern-Aufruf wird so zum Übersetzungsfehler statt zum stillen Aufruf der Classic-Version.
|
||||
- Datentypen sind zwischen Classic und Modern gemeinsam: Ein Modern-Header bindet den Classic-Header für die Typen ein und deklariert nur die Modern-Funktionen. Ein eigener Modern-Typ entsteht erst, wenn Modern ihn ändern muss.
|
||||
- Gemeinsame Callback-Typen übergeben `GameState&`; in Modern wird dort ausdrücklich nach `ModernState&` gewandelt.
|
||||
- Feste Classic-Größen (138, 168, 0x165, Pool-Slots) kommen in Modern aus dem `WorldLayout` (`league_clubs()`, `first_foreign_cup()`, `no_team()`, `transfer_list_slot()` …). Offsets im Speicherabbild (etwa `rec + 0xa8`) bleiben.
|
||||
- Prüfungen nach jeder Änderung:
|
||||
- `tools/modern/check_fork_calls.sh build` und `LIBRARY=bmh_modern_session tools/modern/check_fork_calls.sh build`: Modern ruft keine Classic-Saisonfunktion.
|
||||
- `season_sim` und `modern_season_sim` mit Classic-Daten und gleichen Argumenten liefern dieselbe Ausgabe, solange Modern keine Regel bewusst ändert.
|
||||
- Classic-Tests und Classic-Regression unverändert.
|
||||
@@ -0,0 +1,67 @@
|
||||
# Modern-Engine · Plan und Stand für 0.3
|
||||
|
||||
Stand: 23. Oktober 2026. Dieses Verzeichnis beschreibt, wie die Modern-Engine
|
||||
entsteht, was bereits umgesetzt ist und wo die neue Oberfläche ansetzen kann.
|
||||
Grundlage ist der [Engine-Split](../ENGINE_SPLIT.md); die Oberfläche ist in
|
||||
[new_ui](../new_ui/README.md) beschrieben.
|
||||
|
||||
| Dokument | Inhalt |
|
||||
|---|---|
|
||||
| [UI-Schnittstelle](ui-schnittstelle.md) | **Einstieg für die UI:** was die Modern-Session liefert und ab wann |
|
||||
| [Phasen](phasen.md) | Arbeitsschritte M0–M7 mit Abnahmekriterien |
|
||||
| [Befund](befund.md) | Feste Classic-Größen im Code, die Modern auflösen muss |
|
||||
| [Trainingslager](trainingslager.md) | Katalog, Preis, Wirkung und die neue 6-Sterne-Stufe |
|
||||
| [Datenformat](datenformat.md) | **Formatänderungen für Engine und Editor** (F1–F8) |
|
||||
| [Agentenregeln](AGENTS.md) | Arbeitsregeln für diesen Bereich |
|
||||
|
||||
## Ziel
|
||||
|
||||
Modern ist **BMH im Kern**, aber auf einem eigenen, wachsenden Datensatz:
|
||||
anfangs dieselben Regeln wie Classic, mit der Zeit neue Ligen und später
|
||||
angepasste Wettbewerbe (etwa eine Gruppenphase im Landesmeister-Wettbewerb).
|
||||
Bahnbrechende neue Spielsysteme sind nicht geplant. Die Modern-Engine lädt
|
||||
**nur Modern-Datensätze**; jede Erweiterung von Engine und Datensatz geschieht
|
||||
gemeinsam.
|
||||
|
||||
Der erste Modern-Datensatz (privat, Datenrevision 1.3) bringt gegenüber Classic:
|
||||
|
||||
- hochauflösende Wappen und Spielerporträts (Darstellung: UI),
|
||||
- Groß- und Kleinschreibung sowie getrennte Vor- und Nachnamen,
|
||||
- vier internationale Ligen mit 20, 20, 20 und 18 statt je 12 Vereinen,
|
||||
- 20 Spieler pro internationalem Verein wie bei den deutschen Vereinen (insgesamt 3414 Spieler, 449 Teams, davon 168 Ligavereine),
|
||||
- 18 Trainingslager in drei Regionen mit Qualitätswerten bis 6 Sterne.
|
||||
|
||||
Für 0.3 gilt außerdem:
|
||||
|
||||
- Der menschliche Manager übernimmt nur deutsche Vereine; die internationalen Ligen laufen voll simuliert mit.
|
||||
- Internationale Wettbewerbe bleiben vorerst wie in Classic, auch wenn sie veraltet sind.
|
||||
- Balance-Anpassungen an Spielerdaten und Wirtschaft sind ausdrücklich erlaubt und werden dokumentiert.
|
||||
|
||||
## Architektur-Entscheidung
|
||||
|
||||
**Modern ist ein eigener Saison-Kern, abgezweigt von Classic; Match-Kern und Formate bleiben gemeinsam.**
|
||||
|
||||
- **Classic bleibt unverändert** und bit-identisch zu seiner Regression.
|
||||
- **Gemeinsam:** `src/formats`, `src/game/state.*` (mit einem `WorldLayout`, Standard = Classic), Zufallsgeneratoren und der Match-Kern (`match_engine`, `match`, `reality_*`, `rating`, `lineup`).
|
||||
- **Abgezweigt nach `src/modern/`:** die Saisonlogik (Tagesablauf, Woche, Monat, Saison, Pokale, Spieltagsvorbereitung, Schreibtischaktionen, Karriere, Nationalteams, Transfers, Spielpläne) und eine eigene `ModernSession`. Nur dort werden feste Größen durch das Layout ersetzt und neue Regeln eingeführt.
|
||||
- Damit kann sich Modern Schritt für Schritt von Classic entfernen, ohne Classic zu gefährden. Fehler im gemeinsamen Match-Kern wirken auf beide; Fehler in der Saisonlogik werden bei Bedarf in beide Kerne übernommen.
|
||||
- Der typisierte Match-Vertrag aus dem Engine-Split bleibt das langfristige Ziel, ist aber keine Voraussetzung für 0.3.
|
||||
|
||||
## Phasen und Status
|
||||
|
||||
| Phase | Inhalt | Status |
|
||||
|---|---|---|
|
||||
| M0 | Classic-Referenz festhalten, Datensatz lokal bereitstellen | erledigt (Classic-Regressionen des öffentlichen Codes: Issue #14) |
|
||||
| M1 | `WorldLayout`, Abzweig `src/modern/` | Abzweig und Layout erledigt; vereinsbezogene Speicherblöcke folgen mit M3 |
|
||||
| M2 | Spielpläne je Liga, Kalender mit 38 Spieltagen | Engine-Teil erledigt (Tabelle je Ligagröße, Ligatermine, Aussetzen); Test mit echten Daten in M3 |
|
||||
| M3 | Modern-Weltlader, Namen (Vor-/Nachname, UTF-8), Asset-Schlüssel | Weltlader erledigt: Modern-Datensatz spielt zwei Saisons; Namen/Assets für die UI liegen in `ModernState`, Spielstände folgen mit M6 |
|
||||
| M4 | Trainingslager: 18 Lager, drei Karten, 6-Sterne-Wirkung | Engine erledigt (Katalog, Preis, 6-Sterne-Wirkung, Test); Saisonwirkung wird in M7 gemessen |
|
||||
| M5 | Datenrevision 1.4 des Modern-Datensatzes (privat), Wirtschaftsprüfung | erledigt: Revision 1.4 abgenommen (Lager, 100 Schiedsrichter, Geburtsdaten; siehe Phasen) |
|
||||
| M6 | Modern-Spielstände (`modern-career-v1`), Projektionen für die UI | Spielstände und native Neuanlage vorhanden (Rundreisen geprüft); UI-Projektionen schrittweise angebunden (u. a. Tabellen, Stärken, Liga-/Pokalspiele, Spielerstatistiken/Fairplay, Almanach) |
|
||||
| M7 | Balance-Läufe und Anpassungen | erledigt: Spielerwerte nach Rangfolge, Langläufe über 12 Saisons ohne Drift gegenüber Classic ([Balance](balance.md)); offen nur Läufe mit aktivem Manager |
|
||||
| M8 | Fußball-Almanach: alle Spiele mit Ereignissen und Aufstellungen ([Almanach](almanach.md)) | Engine und Leseprojektionen vorhanden; nativer Almanach angeschlossen; Elfmeterschuss-Aufzeichnung und belegte Altarchive korrigiert (#18) |
|
||||
| M9 | Nationalteams mit echten Kadern ([Nationalteams](nationalteams.md)) | Engine erledigt: 24 von 61 Nationen spielen mit Spielern; Mehrspieler-Coachidentität in Session/Archiv korrigiert (#20) |
|
||||
|
||||
Details und Abnahmekriterien stehen in [Phasen](phasen.md).
|
||||
|
||||
Native Manageranbindung (29.10.): reiner Hub-/Vereinskontext, atomarer bestätigter Beitritt über die vorhandenen Sessionmethoden, stabile Namen/Porträts/IDs und Ein-Mensch-Endpfad. Mehrspieler-KI-Übergabe bleibt offen. Die bewusste Modern-Korrektur der Beitrittsplatzierung (#29) ist im Abweichungskatalog dokumentiert. Siehe [Manager-UI](../new_ui/desktop/manager/ENGINE.md).
|
||||
@@ -0,0 +1,110 @@
|
||||
# Fußball-Almanach
|
||||
|
||||
Michaels Wunsch: Die Modern-Engine hebt **jedes je gespielte Spiel** auf, damit das Spiel einen „Fußball-Almanach“ mit starken Statistiken bekommt (ewige Torjäger, direkte Vergleiche, Rekorde, Serien, Zuschauer, Schiedsrichter …). Nur Modern; Classic bleibt unverändert.
|
||||
|
||||
Code: `src/modern/game/almanac.hpp/.cpp`. Datenformat: [F10](datenformat.md#f10--almanach).
|
||||
|
||||
## Was aufgezeichnet wird
|
||||
|
||||
Pro Spiel (`AlmanacMatch`):
|
||||
|
||||
| Feld | Inhalt |
|
||||
|---|---|
|
||||
| Saison | `season` (gespielte Saisons), `start_year` (Kalenderjahr des Saisonbeginns) im Saisonkopf |
|
||||
| Datum | Tageszähler des Kalenders; `almanac_date(zähler, display_start_year)` liefert Tag/Monat/Jahr wie der Schreibtisch |
|
||||
| Spieltyp | `type`: 0 Liga, sonst Pokal-ID + 1 (DFB-Pokal, Europapokale, Länderspiele, Freundschaftsspiele, Hallenturnier, Relegation …) |
|
||||
| Wettbewerb | `league` (Ligaindex, im Saisonkopf mit Welt-ID und Namen) bzw. `stage` (Pokalstufe = Eintrag der Pokaltabelle) |
|
||||
| Spieltag | `round`: Liga-Spieltag ab 1 bzw. Runde innerhalb der Pokalstufe ab 1 |
|
||||
| Vereine | Heim/Gast als stabile Welt-IDs (Vereinstabelle der Saison) |
|
||||
| Menschliche Manager | je Seite der Manager (Index und Name) oder −1 für Computer; Grundlage für spätere Vereinswechsel |
|
||||
| Ergebnis | Tore nach regulärer Zeit bzw. Verlängerung, Elfmeterschießen getrennt, `decided` (0 regulär, 1 Verlängerung, 2 Elfmeter) |
|
||||
| Schiedsrichter, Zuschauer, Wetter | Name (Tabelle der Saison), Zuschauerzahl, Temperatur in °C, Regen 0–7 |
|
||||
| Aufstellungen | je Seite die 11 Startspieler, dann die Bank: Ligavereine und die Nationalteams mit nominiertem Kader ([Nationalteams](nationalteams.md)); Teams ohne Spieler haben keine |
|
||||
| Ereignisse | Minute, Seite, Spieler und ggf. zweiter Spieler: Tor (mit Vorlage und Art: Spiel, Elfmeter/Freistoß, Nachschuss, Ecke), Fehlschuss, Gelb, Gelb-Rot, Rot, Verletzung, Wechsel (ein/aus), Elfmeter im Elfmeterschießen |
|
||||
|
||||
Pro Saison zusätzlich:
|
||||
|
||||
| Feld | Inhalt |
|
||||
|---|---|
|
||||
| Abschlusstabellen (`tables`) | alle Ligen in Platzierungsreihenfolge: Platz, Verein, Spiele, S/U/N, Tore, Gegentore, Punkte (nach einem Punktabzug). Aufgenommen zu Beginn des Saisonwechsels, bevor Auf- und Abstieg die Vereine verschieben |
|
||||
| Sieger (`winners`) | in der Reihenfolge, in der sie feststehen: Meister jeder Liga (mit Vizemeister) und jeder entschiedene Pokalwettbewerb (DFB-Pokal, Europapokale, Supercup, Relegation, Länderturniere, jedes Hallenturnier und das Masters) mit Datum, letzter Stufe und Finalgegner bzw. Gruppenzweitem. Nicht: die Behälter für Wiederholungsspiele und Freundschaftsspiele (Pokal-ID 9 und 10) |
|
||||
|
||||
## Woher die Daten kommen (keine Wirkung auf das Spiel)
|
||||
|
||||
- Tore, Fehlschüsse, Karten, Verletzungen: das Ereignisprotokoll der Spielgruppe (`MatchGroup::log`), das die Engine wie das Original für **jedes** Spiel führt.
|
||||
- Elfmeterschießen: die Tor-/Fehlschusspaare mit Minute 121 aus dem vollständigen Matchprotokoll. Show-Ereignisse sind nur ein Ersatz bei fehlendem Schussprotokoll; sichtbare und unbeobachtete Partien erhalten dieselbe Serie, ohne Doppelerfassung.
|
||||
- Wechsel: Vergleich der Spieler auf dem Platz nach jeder Minute. Damit werden auch Wechsel des menschlichen Managers (Bildschirm, Halbzeit) erfasst.
|
||||
- Aufstellung, Schiedsrichter, Wetter, Spieltag: beim Anpfiff; Ergebnis und Zuschauer nach dem Spieltag.
|
||||
- Der Almanach zieht keine Zufallszahlen und ändert nichts, was die Saisonlogik liest. Geprüft: Ein Modern-Lauf über 60 Züge ist mit und ohne Almanach identisch.
|
||||
|
||||
## Identitäten
|
||||
|
||||
- **Vereine** tauschen beim Auf- und Abstieg ihre Laufzeitnummer; der Almanach speichert deshalb die Welt-ID (`world_club_id`).
|
||||
- **Spieler**: Die Engine verwendet den Platz eines Spielers für eine neue Person wieder (Karriereende/Abgang in den Pool mit neuen Werten, Jugendspieler). Dort vergibt `new_player_identity` eine neue ID `player:gen-<n>`. Der Zähler wird mitgespeichert. Wie im Original behält die neue Person den Namen des Platzes; die ID trennt die Karrieren.
|
||||
- Spieler ohne Welt-ID (Classic-Daten) heißen `player:legacy-<index>`, Vereine `team:<index>`.
|
||||
|
||||
## Speicherung
|
||||
|
||||
- Jede Saison hat ihre eigenen Tabellen (Ligen, Vereine, Spieler, Manager, Schiedsrichter) und ist damit für sich lesbar.
|
||||
- Abgeschlossene Saisons liegen im Spielstand als `history/season-<Jahr>.bin` und werden nie wieder geschrieben; die laufende als `history/current.bin`. Beide stehen in `state/integrity.json`.
|
||||
- Binärformat Version 3 (Little Endian): `OBAL`, u16 Version, Saisonkopf, Tabellen (Ligen, Vereine, Spieler, Manager, Schiedsrichter), Spiele, Abschlusstabellen, Sieger. Die Spiele stehen spaltenweise (jedes Feld aller Spiele als eigener Block, Daten als Abstände, Spielerverweise in Low- und High-Bytes); eine Aufstellung nennt jeden Spieler über seinen Platz in der vorigen Aufstellung desselben Vereins. Versionen 1 (ohne Abschlusstabellen und Sieger) und 2 (eine Zeile je Spiel) werden weiter gelesen; abgeschlossene Saisons bleiben in der Version, in der sie geschrieben wurden. Text: u16 Länge + UTF-8. Einzelheiten in `encode_almanac_season`.
|
||||
- Größe: etwa 0,5 MB pro Saison im (komprimierten) Spielstand, mit allen Ereignissen und Aufstellungen. Ein Spielstand nach einer Saison ist ~700 KB statt ~210 KB.
|
||||
|
||||
## Für die UI (Codex)
|
||||
|
||||
Der [native und HTML-Almanachprototyp](../new_ui/desktop/almanac/README.md)
|
||||
liegt mit Pseudodaten vor. Der [Lesevertrag](../new_ui/desktop/almanac/DATA_CONTRACT.md)
|
||||
beschreibt die Abfragen `index`, `calendar`, `day` und `match` für eine spätere
|
||||
konstante Modern-Sessionprojektion. Dort sind auch die F10-Grenzen festgehalten:
|
||||
Teilstände nur bei vollständigem Nachweis ableiten, die ET-Teilnahme beim
|
||||
Elfmeterschießen nicht raten, historische Tabellen verwenden und fehlende
|
||||
Kader beziehungsweise Einzelangaben neutral ausgeben. Die UI liest derzeit
|
||||
keine F10-/OBS-Dateien und ändert keine Engine- oder Spielstanddaten.
|
||||
|
||||
- `ModernState::almanac`: `finished` (Dateiname + Bytes je Saison, mit `decode_almanac_season` lesen) und `current` (laufende Saison).
|
||||
- Auswertungen (Torjäger aller Zeiten, Bilanzen, Rekorde) baut die Engine als Projektionen, sobald die Almanach-Oberfläche feststeht. Bis dahin kann die UI direkt auf den Saisons rechnen. `modern_season_sim` zeigt am Laufende ein Beispiel (`print_almanac`: Prüfung Tore gegen Ergebnis, Top-Torschützen über alle Saisons).
|
||||
- Namen sind UTF-8; Wettbewerbsnamen für Pokale kommen wie im Ergebnisbildschirm aus den Texten (`type - 1` = Pokal-ID).
|
||||
|
||||
## Offen
|
||||
|
||||
- Nationalteams spielen seit M9 mit Kader, wenn der Datensatz genug Spieler ihrer Nationalität hat ([Nationalteams](nationalteams.md)); die übrigen Nationen, die Amateure und die Pokal-Ausländer spielen weiter ohne Spieler.
|
||||
- Behoben (25.10.2026): Die Spiele der deutschen Nationalmannschaft fehlten ganz, weil ihre Team-Nummer (357) zugleich „kein Team“ ist und als Platzhalter aussortiert wurde.
|
||||
- Projektionen für die Almanach-Oberfläche.
|
||||
- Kompression: Version 3 spart gegenüber Version 2 rund ein Viertel (eine halbe Saison: Almanach 294 → 218 KB, Spielstand 501 → 432 KB). Den Rest belegen vor allem die Ereignisse; eine stärkere ZIP-Stufe brächte nur etwa 10 %.
|
||||
|
||||
## Korrektur der Elfmeterschießen · 28. Oktober 2026 · #18
|
||||
|
||||
Der Recorder trennte bisher die mit Minute 121 protokollierten Elfmeterschüsse
|
||||
nicht von normalen Toren/Fehlschüssen. Zusätzlich wurden dieselben Schüsse aus
|
||||
den Show-Ereignissen aufgenommen. Dadurch enthielt der Spielstand normale Tore
|
||||
inklusive Elfmetertreffern, während der abgeleitete Elfmeterstand 0:0 blieb.
|
||||
|
||||
Die Aufzeichnung erfasst jetzt jeden protokollierten Elfmeter genau einmal und
|
||||
zählt normale Tore sowie Elfmetertreffer getrennt. Die tatsächliche Schussserie
|
||||
bleibt auch dann vollständig, wenn `CupTie2` seine gepackte Ergebnisanzeige
|
||||
begrenzt. Die Berechnung der Partie, ihr gepacktes Ergebnis und beide RNGs
|
||||
werden dabei nicht geändert.
|
||||
|
||||
Für ältere betroffene Archive normalisiert die gemeinsame Leseprojektion nur
|
||||
**Kopien**: Beide vollständigen Schussfolgen müssen in Seite, Spieler und
|
||||
Treffer/Miss übereinstimmen, eine abgeschlossene zulässige Serie bilden und mit
|
||||
dem gespeicherten gepackten Endstand einschließlich dessen Begrenzung vereinbar
|
||||
sein. Nur dann werden die doppelten Tor-/Fehlschusseinträge in der Lesekopie
|
||||
entfernt und Spieltore/Elfmetertore getrennt. Rohdaten des geladenen Spielstands
|
||||
und abgeschlossener Saisons bleiben bytegleich. Unvollständige oder
|
||||
widersprüchliche Überlieferungen werden nicht geraten. Auch Torschützen- und
|
||||
andere Archivstatistiken verwenden die normalisierte Lesekopie.
|
||||
|
||||
Hallenturniere und Hallenmasters gehen nach 40 Minuten direkt ins Elfmeterschießen;
|
||||
die Projektion behauptet dort keine Verlängerung. Bei Feldspielen überschneiden
|
||||
sich protokollierte Minuten 91–93 aus Nachspielzeit und Verlängerung. Enthält eine
|
||||
verlängerte Partie solche Tore oder kein vollständiges Torprotokoll, bleiben die
|
||||
Teilstände für reguläre Zeit/Verlängerung unbekannt (`null`); der gespeicherte
|
||||
Endstand und eine belegte Schussserie bleiben verfügbar.
|
||||
|
||||
Es gibt keine OBW-/Editor-Formatänderung und keinen neuen F10-Binärstand. Die
|
||||
Versionsrundreisen bleiben unverändert. Die synthetische Prüfung deckt sichtbare
|
||||
und unbeobachtete Schussserien, Doppelerfassung, Ergebnisbegrenzung, alte
|
||||
laufende/abgeschlossene Saisons, Statistik, Hallenspiele und unklare Teilstände ab.
|
||||
Private Vergleichsläufe und GUI-Nachweise liegen unter
|
||||
`bmh_4k_ui/docs/qa/almanac-shootout-2026-10-28/`.
|
||||
@@ -0,0 +1,130 @@
|
||||
# Balance (M7)
|
||||
|
||||
Laufende Notizen zur Balance der Modern-Engine: Befunde, bestätigte Entscheidungen, Messungen.
|
||||
|
||||
## Spielerwerte des Datensatzes
|
||||
|
||||
**Befund (24.10.2026):** Beim Karrierestart würfelt das Original (`startup_players`, CareerFirstSteps2) Kondition, Technik, Form und Eigenschaften **aller** Ligaspieler neu, nach Liga und Tabellenplatz (Stärkebänder `kLeagueStrength`, z. B. Bundesliga 71–93). Die Werte der Datenbank haben im Original deshalb nie gespielt. Im Modern-Datensatz blieben so 0 von 400 Spielern bei ihren Werten.
|
||||
|
||||
Die Werte des Datensatzes passen zwischen den Vereinen nicht zur Spielstärke: Wolfsburg (2. Liga) 92, stärker als jeder Bundesligist, Elversberg (Bundesliga) 42, Kaiserslautern (2. Liga) 28. Streuung der Vereinsstärke (Mittel der besten 14) in den deutschen Ligen 14–21 Punkte statt rund 6 im Original. 1:1 übernommen ergab das 3,3 Tore pro Spiel und Tabellen mit 100 bzw. 6 Punkten.
|
||||
|
||||
**Entscheidung: Rangfolge übernehmen.**
|
||||
- Die Vereine einer Liga nehmen die Plätze im Stärkeband der Liga nach der Rangfolge im Datensatz ein (Mittel von Kondition und Technik der besten 14), statt nach dem Tabellenplatz.
|
||||
- Innerhalb des Kaders behalten die Spieler ihren Abstand zum Vereinsniveau, gestaucht auf die Streuung erzeugter Spieler (W(Niveau ± 10 %), Standardabweichung ≈ 5,8 % des Niveaus), wo der Kader breiter ist. Form und Eigenschaften bleiben aus dem Datensatz.
|
||||
- Der Verein des Menschen (Mannschaftsstärke beim Start) und Vereine, die beim Start den Platz tauschen, werden als Ganzes auf ihr Niveau verschoben; die Abstände bleiben.
|
||||
- Neue Personen (Jugend, Ersatz für Abgänge) erzeugt die Engine wie das Original; ihre Werte liegen damit auf derselben Skala.
|
||||
- Ohne Modern-Welt (Classic-Daten) ändert sich nichts.
|
||||
|
||||
Code: `src/modern/game/career.cpp` (`startup_players`, `set_club_strength`, `place_club`), `keeps_world_values` in `modern_state.hpp`.
|
||||
|
||||
**Messung (Modern-Datensatz, Seed 1, zwei Saisons):**
|
||||
|
||||
| | Original (gewürfelt) | Datensatz 1:1 | Rangfolge |
|
||||
|---|---|---|---|
|
||||
| Tore pro Spiel | 2,67 | 3,27 | 2,77 |
|
||||
| Vereinsstärke Bundesliga (min–max) | 71–93 | 42–91 | 72–93 |
|
||||
| Streuung Bundesliga / 2. Liga | ≈ 6 / 6 | 13,7 / 17,4 | 6,3 / 6,4 |
|
||||
| Bundesliga-Meister / Letzter | – | 79 / 15 Pkt. | 75–77 / 15–18 Pkt. |
|
||||
|
||||
Messwerkzeug: `MODERN_SPREAD=1 modern_season_sim <welt.obw> 1 0 1` zeigt die Vereinsstärken je Liga beim Start.
|
||||
|
||||
### Alter und Fähigkeiten
|
||||
|
||||
Das Original würfelt beim Start auch das Alter (20–32, der Verein des Menschen 20–25) und die sieben Fähigkeiten (Teamplay, Tempo, Schuss, Passspiel, Zweikampf, Freistoß, Ecke; je 0–3) neu.
|
||||
|
||||
- **Alter:** Datensatzspieler behalten ihr Alter, wenn der Datensatz eines liefert (Geburtsdatum; `world_age_known`, `new_career_players`, `career_add_manager`). Seit Revision 1.4 hat der Datensatz Geburtsdaten für alle 3.414 Spieler; ohne Geburtsdatum (Revision 1.3: die 2.574 Originalspieler) wird das Alter wie im Original gewürfelt (Kader des Menschen 20–25).
|
||||
- **Fähigkeiten:** Der Datensatz 1.3 hat keine (alle 0, auch `x-legacy.skill_word`). Sie werden daher wie im Original gewürfelt (Mittel 1,5); nur Fähigkeiten, die ein Datensatz liefert (nicht alle 0), bleiben. Ein erster Versuch, sie zu „behalten“, ließ alle Spieler ohne Fähigkeiten spielen: 0,1–0,5 Tore pro Spiel weniger in jedem Wettbewerb.
|
||||
|
||||
Tore pro Spiel je Wettbewerb (zwei Saisons, Seed 1):
|
||||
|
||||
| | Classic-Daten | Modern |
|
||||
|---|---|---|
|
||||
| Bundesliga | 2,33 | 2,40 |
|
||||
| 2. Liga | 2,86 | 2,97 |
|
||||
| 3. Ligen | 3,12–3,30 | 3,23–3,28 |
|
||||
| Regionalliga | 3,28 | 3,28 |
|
||||
| Auslandsligen | 2,08–2,33 | 2,26–2,90 |
|
||||
| DFB-Pokal | 4,13 | 4,37 |
|
||||
|
||||
Messwerkzeug: `MODERN_VALUES=1` (Form, Fähigkeiten, Marktwerte je Liga beim Start); die Almanach-Auswertung zeigt Tore pro Spiel je Wettbewerb.
|
||||
|
||||
### Marktwerte
|
||||
|
||||
Beim Start (Mittel je Liga): Bundesliga 1,4 Mio. €, 2. Liga 0,7 Mio., 3. Ligen 0,36 Mio., Regionalliga 0,17 Mio., Auslandsligen 1,4–2,1 Mio. Die vom Datensatz hinzugefügten Spieler der Auslandsligen sind 2–23 % weniger wert als die Originalspieler derselben Ligen (jüngere, schwächere Kaderergänzungen). Erfahrung und Positionswert sind beim Start für alle Spieler 0, wie im Original. Keine Änderung.
|
||||
|
||||
### Finanzen
|
||||
|
||||
Der Verein des Menschen (Sim-Manager ohne Transfers, mit Werbung) bleibt über 10 Saisons im Plus (von etwa 8 Mio. auf etwa 0); mit Classic-Daten fällt er auf −7 Mio. Keine Änderung.
|
||||
|
||||
## Trainingslager
|
||||
|
||||
Messung (Modern-Datensatz, Verein des Menschen in der Bundesliga, 12 Seeds je Variante, erste Saison; der Mensch bucht, sobald erlaubt und bezahlbar; Werbeeinnahmen an):
|
||||
|
||||
| Variante | Aufenthalte | mittlerer Platz | Gewinn |
|
||||
|---|---|---|---|
|
||||
| kein Lager | – | 9,4 | – |
|
||||
| 5 Sterne (Lager 7, 840.000 €) | 3 je Saison | 7,8 | +1,7 Plätze |
|
||||
| 6 Sterne (Lager 14, 2,8 Mio. €) | 3–4 in 2 Saisons (Geld) | 6,9 | +2,5 Plätze |
|
||||
|
||||
6 Sterne bringen gegenüber 5 Sternen etwa +0,8 Plätze bei mehr als dreifachem Preis: Ziel erreicht (nicht übermächtig, höchstens etwa +1 Platz). Keine Änderung der Wirkung. Standardfehler je Mittel rund 1 Platz.
|
||||
|
||||
Messwerkzeug: `SIM_CAMP=<Lager> SIM_CONTRACTS=1 SIM_ADVERTISING=1 modern_season_sim <welt.obw> 100 0 <seed>`; am Ende steht `almanac human club … place`.
|
||||
|
||||
## Langläufe (10 Saisons)
|
||||
|
||||
`SIM_CONTRACTS=1 SIM_ADVERTISING=1 modern_season_sim <welt.obw> 520 0 <seed>`, Seeds 1–3, Mensch ohne eigene Transfers.
|
||||
|
||||
- **Fehler behoben:** Nach gut 5 Saisons fand ein Transfer keinen Verein mehr (`transfer: no club found`). Das Original nimmt ausländische Vereine (16 Kaderplätze) nur bis 15 Spieler; Modern-Auslandsvereine haben 20 Spieler in 24 Plätzen und kauften deshalb nie, bis die deutschen Kader voll waren. Vereine mit 24 Plätzen nehmen jetzt wie deutsche bis 21 Spieler (`weekly.cpp`, `transfer_bid`; Classic unverändert).
|
||||
- Danach laufen alle drei Karrieren 10 Saisons ohne Abbruch und ohne Regelverletzung (Alter, Werte, Kader); der Almanach hält 33.700–37.100 Spiele, Tore und Ergebnis stimmen überall.
|
||||
|
||||
| | Modern (Seeds 1–3) | Classic-Daten (Seeds 1, 3) |
|
||||
|---|---|---|
|
||||
| Tore pro Spiel (alle Wettbewerbe) | 2,86–2,90 (mehr Spiele in den torärmeren Auslandsligen; je Wettbewerb wie Classic) | 3,06–3,10 |
|
||||
| Bundesliga-Meister | 64–93 Pkt. | 65–92 Pkt. |
|
||||
| Bundesliga-Letzter | 9–25 Pkt. | 13–31 Pkt. |
|
||||
| Serienmeister | Dortmund 4×, Frankfurt 3× | Leipzig 5× |
|
||||
|
||||
Die Ligen driften in beiden Fällen über die Jahre auseinander (Serienmeister, Meister bis über 90 Punkte): Verhalten des Originals, keine Modern-Abweichung. Die geringere Torquote von Modern lag an den fehlenden Fähigkeiten (siehe oben) und ist behoben.
|
||||
|
||||
`MODERN_ALMANAC_SUMMARY=1` zeigt die Almanach-Auswertung auch mit Classic-Daten.
|
||||
|
||||
## Langläufe M7: Kader, Alter, Verletzungen, Werte (Revision 1.5)
|
||||
|
||||
Fünf Startvereine mit je 600 Runden (11–12 Saisons), dazu drei Vergleichsläufe mit Classic-Daten. Aufruf: `MODERN_BALANCE=1 SIM_CONTRACTS=1 SIM_ADVERTISING=1 [SIM_CAMP=n] modern_season_sim <Welt> 600 <Verein> <Seed>`. `MODERN_BALANCE=1` gibt an jedem Saisonende je Liga aus: Vereinsstärke (Technik + Kondition der besten 14, halbiert), Kadergröße, Alter, Verletzte, Marktwert, Gehalt.
|
||||
|
||||
Ergebnis: keine Prüfverletzung, keine Fehler bei Verträgen, Werbung und Lagern. Die Trends sind in Modern und Classic dieselben:
|
||||
|
||||
| Wert | Modern Saison 1 → 12 | Classic Saison 1 → 12 |
|
||||
|---|---|---|
|
||||
| Alter (alle Ligen) | 25,0–26,3 → 29,4–29,9 | 25,8–26,2 → 29,0–29,9 |
|
||||
| Stärke Bundesliga / 2. Liga / Regionalliga | 82,8 / 60,8 / 20,1 → 85,2 / 67,4 / 24,8 | 84,5 / 62,0 / 20,4 → 85,2 / 65,1 / 24,8 |
|
||||
| Stärke Auslandsligen | stabil (±1,5) | stabil (±2) |
|
||||
| Kader Auslandsligen | 20 → 17–18 | 15 → 14–15 |
|
||||
| Kader deutsche Ligen | 20 → 21–22 | 20 → 19–21 |
|
||||
| Verletzte je Liga (Saisonende) | deutsch 10–22, Ausland 7–11 | deutsch 9–19, Ausland 1–8 |
|
||||
| Marktwert Bundesliga (Mittel) | 1,70 → 1,76 Mio. € | 1,82 → 1,82 Mio. € |
|
||||
| Tore pro Spiel (alle Wettbewerbe) | 2,82–2,94 | 3,08–3,12 |
|
||||
|
||||
- **Alter:** Der Anstieg auf knapp 30 Jahre und das Einpendeln dort ist Verhalten des Originals (Spieler altern, Nachwuchs kommt jünger nach, das Gleichgewicht liegt bei etwa 29,5).
|
||||
- **Untere deutsche Ligen** werden in beiden Fällen stärker; das Original gleicht die Ligen über Auf- und Abstieg und Transfers an.
|
||||
- **Auslandskader** schrumpfen in beiden Fällen um etwa 2–3 Spieler und bleiben dann stehen (Mindestkader 14 beim Abwerben). Bei 38 Spieltagen reicht das: die Verletztenzahl ist in den Auslandsligen höher als in Classic, aber niedriger als in den deutschen Ligen.
|
||||
- **Marktwerte und Gehälter** bleiben über zwölf Jahre stabil (Bundesliga +3 %, Auslandsligen bis +6 %); keine Inflation, kein Verfall.
|
||||
- **Torquote:** Die großen Auslandsligen liegen bei 2,3–2,6 Toren (gleich starke Teams), die deutschen bei 2,8–3,3; insgesamt etwas unter Classic und nahe am echten Fußball.
|
||||
- **Finanzen des menschlichen Vereins:** Der Simulator spielt ohne Transfers und Aufstellungswahl; der Verein steigt meist nach einigen Saisons ab und kommt wieder. Der Kontostand bleibt zwischen −7 und +21 Mio. €; Classic zeigt mit derselben Spielweise −10 bis +9 Mio. €.
|
||||
- Ein Classic-Lauf meldet einen 41- bzw. 42-jährigen Spieler (Nr. 9 der Originaldaten): auch im Classic-Kern so, keine Modern-Abweichung; in Modern gilt die Grenze 47.
|
||||
|
||||
Keine Regeländerung nötig.
|
||||
|
||||
## Stadion: Verkehrsanbindung mit vier Stufen
|
||||
|
||||
Die Modern-Oberfläche zeigt für die Verkehrsanbindung vier Ausbaustufen, das Original hat drei (Zustandsbyte in Schritten von 0x55: 85, 170, 255; Angebot unter 171). In einer Modern-Welt (`WorldLayout::traffic_stages = 4`) gilt deshalb (`src/modern/game/traffic.hpp`, 27.10.2026):
|
||||
|
||||
- Schritte von 64: Stufe 1–4 bei 64, 128, 192, 255; ein Ausbau wird bis Stufe 3 angeboten. Jeder Ausbau kostet wie im Original (Grundpreis 2,5 Mio. €, 45 Tage).
|
||||
- Jede Stufe wirkt wie eine Original-Stufe (Einnahmen je Zuschauer, Monatseinnahmen, Zuschauerstufe von 25.000); die vierte Stufe ist ein zusätzlicher Schritt.
|
||||
- Neue Karrieren starten mit der Stufe der Original-Starttabelle; ältere Modern-Spielstände werden beim Laden in die neue Skala umgerechnet (`traffic_scale` in `state/modern.json`).
|
||||
- Mit Classic-Daten bleibt es bei drei Stufen (Gleichheitstest unverändert). Test: `modern_traffic_tests`.
|
||||
|
||||
## Offen
|
||||
- Langläufe mit einem aktiven Manager (Transfers, Aufstellung), sobald die Konsole oder die UI das automatisiert erlaubt.
|
||||
- Spieler in den Pools (vereinslos) aus dem Datensatz behalten ihre Rohwerte; der Datensatz 1.3 hat keine.
|
||||
- Datenpflege: Die Werte im Datensatz könnten auf eine gemeinsame Skala gebracht werden; die Engine braucht das wegen der Rangfolge nicht.
|
||||
@@ -0,0 +1,49 @@
|
||||
# Befund · Feste Classic-Größen im Code
|
||||
|
||||
Stand: 23. Oktober 2026, Branch `0.3`. Diese Liste zeigt, warum größere
|
||||
internationale Ligen und Kader kein reiner Konstantentausch sind. Zeilenangaben
|
||||
können sich verschieben; maßgeblich sind die genannten Funktionen.
|
||||
|
||||
## Kaderplätze
|
||||
|
||||
- `src/game/state.cpp` (`kBigSquadTeams = 90`, `kTeamsWithSquads = 168`, `squad_range`): Teams 0–89 haben 24 Kaderplätze, Teams 90–137 (Auslandsligen) 16 Plätze ab `team * 16 + 720`; alle anderen keine.
|
||||
- Hinter den Kadern (Platz 2928 = 90 × 24 + 48 × 16) folgen Pools: Transferliste (44 Plätze), vereinslose Spieler (80), Auslandsangebote (20), Bereich ohne Verein ab 3072, insgesamt 3150 Plätze.
|
||||
- Diese Grenzen stehen als Zahlen in `month.cpp`, `weekly.cpp`, `poach.cpp`, `national.cpp`, `club_player_detail.cpp`, `career.cpp`, `matchday_setup.cpp`, `season.cpp`, `import/obw.cpp` und vielfach in `app/career_session.cpp`.
|
||||
- Auslandskader sind auf 15 Spieler begrenzt (Käufersuche in `weekly.cpp`), der Mindestkader liegt bei 14 (`poach.cpp`).
|
||||
|
||||
## Vereins-IDs
|
||||
|
||||
- 0–137 Ligavereine (90 deutsch, 48 international), 138–167 Amateure, 168–356 Pokal-Ausländer (27 Nationen × 7), 357 = `kNoTeam` (`state.hpp`), insgesamt 419.
|
||||
- Abgeleitete Prüfungen: `season.cpp` (Amateur-Pool, Gesamtzahl), `match.cpp` (Pokal-Ausländer in Siebenerblöcken), `rating.cpp` und `other_games.cpp` (`team - 168`), `match_engine.cpp`, Wappenprüfungen in `app/controller.cpp`, `app/main.cpp`, `app/career_session.cpp`.
|
||||
- 30 zusätzliche Ligavereine überschneiden sich mit dem Bereich der Pokal-Ausländer und mit `kNoTeam`.
|
||||
|
||||
## Ligen, Spielpläne, Kalender
|
||||
|
||||
- `set_league_sizes` (`schedule.cpp`) verlangt in Summe genau 138 Ligavereine.
|
||||
- Alle Auslandsligen nutzen die Spielplantabelle von Liga 5; eine Liga mit 18 neben Ligen mit 20 Vereinen würde falsche Teams paaren.
|
||||
- `set_fixture_tables` kennt nur Tabellen für 4, 6, 12, 16, 18 und 20 Vereine.
|
||||
- Die Auslandsligen teilen sich ein Kalenderbit; der Classic-Kalender hat dort Termine für 22 Runden, nicht für 38.
|
||||
- Unkritisch: `kResultsSize` reicht für 9 Ligen mit 20 Vereinen, Tabellen fassen 20 Einträge.
|
||||
|
||||
## Speicherabbild und Spielstand
|
||||
|
||||
- Mehrere Blöcke sind pro Verein fest dimensioniert (`formats/savestate.cpp`, `game/memory.hpp`): Spielhistorie der Manager (5 × 168 × 10), Kurznamen-Offsets (168), Trikotwahl (419), Stärke der Pokal-Ausländer (251), Saisondaten der Vereine (168 × 74 Byte), Ranghistorie (138 × 26), Zusatzbytes (168).
|
||||
- Blöcke liegen an festen Adressen hintereinander und können nicht wachsen.
|
||||
- `game/save.cpp` und `game/career.cpp` verwenden die Standardzählung (2574 Spieler, 419 Vereine).
|
||||
- Importer und Classic-Spielstände prüfen genau 419 Vereine, 2574 Spieler und 168 Kader.
|
||||
|
||||
## Unkritisch
|
||||
|
||||
- Spieler-IDs sind in Kaderplätzen und Angeboten 12 Bit breit (bis 4094), Vereins-IDs in Leihen 10 Bit (bis 1023).
|
||||
- Typisierte Vektoren (`players`, `squad_slots`, `team_morale`, `club_table` usw.) können wachsen.
|
||||
- Namenspools nutzen 16-Bit-Offsets (64 KB); Modern führt Namen deshalb getrennt als UTF-8.
|
||||
|
||||
## Laden
|
||||
|
||||
- Pakete mit `editor:world-v1` werden heute bewusst abgewiesen (`content/package.cpp`, `import/obw.cpp`). Ein typisiertes Weltmodell gibt es nicht; der Editor arbeitet JSON-basiert (`src/editor/world.*`, `ArchiveStore`).
|
||||
|
||||
## Wirtschaft
|
||||
|
||||
- Computer-Vereine besitzen kein Geld; Buchungen (`book_money`) betreffen nur menschliche Manager.
|
||||
- Startfinanzen entstehen beim Zuweisen eines Managers aus Spielstufe und Startliga (`career.cpp`). Neue Vereine, die kein Mensch übernimmt, brauchen deshalb keine Startfinanzen.
|
||||
- Marktwert und Gehalt folgen aus Technik, Kondition, Alter, Position und Erfahrung (`market_value` in `month.cpp`).
|
||||
@@ -0,0 +1,197 @@
|
||||
# Datenformat · Änderungen für die Modern-Engine
|
||||
|
||||
Stand: 23. Oktober 2026. Hier steht jede Änderung am OBW-Format, die die
|
||||
Modern-Engine einführt oder voraussetzt. **Der Editor muss jede Zeile mit
|
||||
„Editor“ nachziehen**: anzeigen, bearbeiten und prüfen. Grundlage ist das
|
||||
Format [OBW](../formats/OBW.md) und das Editor-Profil
|
||||
[editor-v1](../formats/obw/editor-v1.md).
|
||||
|
||||
Status: *geplant* (noch nicht in der Engine), *umgesetzt* (Engine liest/prüft es).
|
||||
|
||||
## Übersicht
|
||||
|
||||
| Nr. | Bereich | Änderung | Phase | Status |
|
||||
|---|---|---|---|---|
|
||||
| F1 | Manifest | Laufzeit `runtime:modern-v1`, spielbare Modern-Welt | M3 | Engine: lädt `runtime:modern-v1` und vorerst auch `editor:world-v1`; lehnt Classic-Pakete ab |
|
||||
| F2 | Ligen | Größe je Liga frei (12–20), Generator je Liga | M2 | Engine: Größe je Liga umgesetzt; Generator vorerst Tabelle passender Größe |
|
||||
| F3 | Kalender | Ligatermine als Datumsliste | M2 | Engine-Funktion umgesetzt; Anbindung an den Weltlader mit M3 |
|
||||
| F4 | Trainingslager | Katalog mit Karte und X/Y-Lage, Ort, Bild, Qualität 0–6 | M4 | Engine: liest den erweiterten Katalog; ohne Katalog gilt die eingebaute Vorgabe (18 Lager) |
|
||||
| F5 | Namen | Vor- und Nachname Pflicht, UTF-8 | M3 | Engine: gelesen, in `ModernState` |
|
||||
| F6 | Kader | bis 24 Plätze je Verein, Mindestgröße | M3 | Engine: 24 Plätze je Ligaverein; mehr als 24 Spieler werden abgelehnt |
|
||||
| F7 | Finanzen | Finanzangaben für Vereine ohne Classic-Startregel | M5 | geplant |
|
||||
| F8 | Spielstand | `save_profile: modern-career-v1` | M6 | Engine erledigt: Spielstand nennt seine Welt (ID, Revision), enthält nur die Karriere |
|
||||
| F9 | Schiedsrichter | eigener Schiedsrichter-Pool der Welt, mehr als 49 | M5 | Engine erledigt (Pool aus `staff`, neu: `perception`); Daten folgen mit 1.4 |
|
||||
| F10 | Almanach | alle gespielten Spiele im Spielstand (`history/…`) | M8 | Engine erledigt (Aufzeichnung, Spielstand); UI offen |
|
||||
| F11 | Nationen | jede Spielernation mit eindeutiger ID und, wo vorhanden, Original-Index | 1.5 | Engine erledigt (Index 0–63); Daten: zwei doppelte Nationen zusammenführen |
|
||||
|
||||
## F1 · Manifest
|
||||
|
||||
- Eine Modern-Welt trägt `"requires": ["runtime:modern-v1"]`. Die Modern-Engine lädt nur solche Welten; Classic lehnt sie ab.
|
||||
- Das Editor-Profil bleibt `editor-world-v1`. Neu: Eine Welt mit `runtime:modern-v1` darf `x-editor.playable: true` haben, wenn sie die Modern-Prüfung (unten) besteht.
|
||||
- Die Datenrevision steht weiter in der Erweiterung des Datensatzes (z. B. `data_revision`).
|
||||
- **Editor:** Schalter „Als Modern-Welt spielbar machen“ setzt `requires` und `playable` erst nach erfolgreicher Modern-Prüfung; Entfernen setzt beides zurück. Die bisherige Bedingung `playable == false` gilt nur noch für Welten ohne `runtime:modern-v1`.
|
||||
- **Editor-Kompatibilität:** Öffnen und verlustfreies Speichern von `editor-world-v1` mit `x-editor.playable: true` ist erlaubt, wenn `requires` sowohl `editor:world-v1` als auch `runtime:modern-v1` enthält. Eine gleichzeitige Classic-Laufzeitanforderung ist ungültig. Reine Editorwelten behalten die bisherige Zulassung mit `playable: false`.
|
||||
- Die Editorprüfung deckt außerdem die Modern-Felder aus F4 und F9 ab. Sie ersetzt noch keine vollständige Engine-Spielbarkeitsprüfung für F2/F3/F5/F6; ein neuer GUI-Schalter zur Freigabe ist damit nicht umgesetzt. Eine fehlende Finanzzeile für zusätzliche Vereine bleibt nach F7 zulässig.
|
||||
|
||||
## F2 · Ligen
|
||||
|
||||
- `competitions[].stages[].teams` darf je Liga zwischen 12 und 20 liegen; die Mitgliederliste (`members`), `teams` und die Teams der Slots müssen übereinstimmen.
|
||||
- `generator`: `round-robin` für jede Größe; `legacy:<n>` nur, wenn `rule:legacy-fixtures` eine Tabelle für genau `n` Teams hat.
|
||||
- Stand 0.3: Die Engine spielt jede Liga mit der Spielplantabelle ihrer Größe (`rule:legacy-fixtures`, 12–20 Teams). `round-robin` wird gelesen, aber noch wie die gleich große Tabelle behandelt; nur die Reihenfolge der Paarungen unterscheidet sich. Ein eigener Round-Robin-Generator folgt bei Bedarf.
|
||||
- Spieltage einer Liga: `2 × (teams − 1)` bei `legs: 2`.
|
||||
- Die Classic-Zusatzfelder `x-legacy.league_index`, `calendar_bit`, `relegation_places`, `europe_places` bleiben und werden in 0.3 weiter gelesen.
|
||||
- **Editor:** Größe zwischen 12 und 20 zulassen; Generator `legacy:<n>` nur anbieten, wenn die Tabelle existiert; Warnung, wenn Mitglieder, `teams` und Slots nicht übereinstimmen.
|
||||
|
||||
## F3 · Kalender
|
||||
|
||||
- Ligen verweisen über `matchdays` auf einen Kalender. Neben den Classic-Verweisen (`calendar:legacy-league-<n>`) ist ein Kalender mit expliziter Datumsliste `dates` erlaubt, wie er für die vier vergrößerten internationalen Ligen bereits vorliegt.
|
||||
- Die Anzahl der Daten muss der Zahl der Spieltage entsprechen; Daten liegen aufsteigend innerhalb der Saison und nicht auf demselben Tag zweimal.
|
||||
- Die Engine bildet die Daten auf Spieltage des Classic-Saisonablaufs ab; ein Datum, das dort kein möglicher Ligaspieltag ist, verschiebt sich auf den nächsten möglichen Tag (Hinweis im Ladeprotokoll).
|
||||
- **Editor:** Datumsliste anzeigen und bearbeiten; Anzahl gegen die Spieltage prüfen.
|
||||
|
||||
## F4 · Trainingslager
|
||||
|
||||
Die bestehende Regel `rule:training-camps` (Typ `training_camps`) bleibt und wird erweitert:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "rule:training-camps",
|
||||
"type": "training_camps",
|
||||
"maps": [
|
||||
{"id": "map:de", "name": {"default": "Deutschland"}},
|
||||
{"id": "map:eu", "name": {"default": "Europa"}},
|
||||
{"id": "map:me", "name": {"default": "Naher Osten"}}
|
||||
],
|
||||
"resorts": [
|
||||
{
|
||||
"id": "resort:4",
|
||||
"base_price": 485000,
|
||||
"quality": [4, 4, 4, 4],
|
||||
"map": "map:eu",
|
||||
"x": null,
|
||||
"y": null,
|
||||
"name": {"default": "Sportzentrum Groningen"},
|
||||
"place": {"default": "Groningen"},
|
||||
"country": "nation:nl"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
- `id`, `base_price`, `quality` wie bisher; `quality` in der Reihenfolge Platz, Fitness, Verpflegung, Unterkunft, je **0–6** (Classic: 1–5).
|
||||
- **Karte und Lage:** Jedes Lager trägt immer `map` (Verweis auf `maps`) sowie `x` und `y` als ganzzahlige Koordinaten auf dieser Karte. Das Koordinatensystem einer Karte legt die Oberfläche fest; solange es nicht feststeht, sind `x` und `y` `null`. Sobald die GUI die Kartenmaße liefert, bekommt jede Karte zusätzlich `width` und `height` (Ursprung oben links), und `x`/`y` müssen innerhalb liegen.
|
||||
- Die Karten sind eine eigene Liste, damit später weitere hinzukommen können, etwa wenn ausländische Vereine spielbar werden und Lager aus deren Sicht dargestellt werden. Ein Lager gehört genau zu einer Karte.
|
||||
- Weitere Pflichtfelder für Modern: `name`, `place`, `country`. Geografische Koordinaten werden nicht gespeichert.
|
||||
- Standardkarten und Resortbilder sind GUI-Ressourcen und werden anhand von Karten-/Lager-ID zugeordnet; sie sind keine Pflichtinhalte der Welt. `image` ist optional und nur für ein ausdrücklich in der Welt geliefertes Bild vorgesehen. Wenn gesetzt, muss der Asset-Schlüssel im normalen OBW-Asset-Index auflösbar sein. Siehe [GUI-/Welt-Trennung](../new_ui/assets.md).
|
||||
- Die IDs `resort:0` bis `resort:17` entsprechen den IDs 0–17 der Oberfläche und werden nicht umsortiert.
|
||||
- Fehlt die Regel in einer Modern-Welt, gilt die in die Engine eingebaute Vorgabe (`src/modern/game/training_camps.cpp`) mit den 18 fiktiven Lagern.
|
||||
- **Exklusiv-Sponsor (optional, neu 25.10.2026):** `sponsor_chance` (Prozent je Aufenthalt, 0–100; 0 = keiner), `sponsor_bonus` (Betrag in Prozent des besten regulären Angebots, 100–500, Standard 150), `sponsor_months` (Laufzeit 1–60, Standard 12). Fehlt `sponsor_chance`, gelten die eingebauten Werte des Lagers mit derselben ID (Doha 15, Abu Dhabi 30, Dubai 45), sonst keine Chance. Siehe [Trainingslager](trainingslager.md#exklusiv-sponsor).
|
||||
- **Editor:** Kartenliste und Lager bearbeiten: Karte (Pflicht), `x`/`y` (leer erlaubt, solange die Karte keine Maße hat), vier Qualitätswerte (0–6), Preis, Ort, Land, optionales datensatzspezifisches Bild und die drei Sponsor-Felder. Prüfung auf eindeutige IDs, gültige Karte und Nation, Qualitäten im Bereich, auflösbare explizite Bildreferenzen und Koordinaten innerhalb der Kartenmaße, sobald diese gesetzt sind. Ein fehlendes `image` ist kein Fehler; feste GUI-Motive müssen nicht in den Datensatz kopiert werden.
|
||||
|
||||
## F5 · Namen
|
||||
|
||||
- Spieler haben in Modern genau `name.first` und `name.last` (UTF-8, NFC); ein zusammengesetzter Anzeigename wird nicht gespeichert.
|
||||
- Vereine: `name` und `short` als lokalisierbare Texte mit Groß- und Kleinschreibung.
|
||||
- Die Classic-Namensfelder im Archiv bleiben unverändert als Quelle erhalten; die Modern-Engine liest sie nicht.
|
||||
- **Editor:** besteht bereits (Datenrevision 1.2); für Modern-Welten Pflichtprüfung „Vorname und Nachname vorhanden“.
|
||||
|
||||
## F6 · Kader
|
||||
|
||||
- Jeder Ligaverein hat höchstens 24 Kaderplätze; die Reihenfolge (`squad_order`) bleibt maßgeblich.
|
||||
- Mindestens 14 Spieler je Ligaverein, davon mindestens ein Torwart.
|
||||
- **Editor:** Warnung bei mehr als 24 oder weniger als 14 Spielern beziehungsweise ohne Torwart.
|
||||
|
||||
## F7 · Finanzen
|
||||
|
||||
- In 0.3 übernimmt der Mensch nur deutsche Vereine; deren Startfinanzen entstehen weiter aus der Classic-Startregel.
|
||||
- Vereine ohne Finanzzeile (etwa die neuen internationalen Vereine) bleiben gültig. Eine Finanzzeile für sie wird erst nötig, wenn sie wählbar werden; das Format dafür wird dann hier ergänzt.
|
||||
- **Editor:** vorerst keine Änderung.
|
||||
|
||||
## F8 · Spielstand
|
||||
|
||||
- Modern-Spielstände sind `.obs` mit `save_profile: modern-career-v1`; Aufbau wie Classic-Spielstände (`state/…`, Integritätsdatei), aber mit dem Modern-Zustand und den Dimensionen der Welt.
|
||||
- Anders als ein Classic-Spielstand enthält ein Modern-Spielstand **nicht** die Welt (sie ist samt HD-Bildern mehrere hundert MB groß). Das Manifest nennt sie unter `world` (`id`, `data_revision`, `title`); geladen wird nur mit genau dieser Welt.
|
||||
- Einträge: `state/career.json` (Spielzustand), `state/modern.json` (Schema `modern-state@1.1`: Vereins- und Spieler-IDs, UTF-8-Namen, Nationen je Laufzeit-Index, Liga-IDs, Zähler neuer Spieler-IDs), `history/…` (Almanach, F10), `state/rng.json`, `state/driver.json`, `state/session.json`, `state/information.json`, `state/integrity.json`. Rund 210 KB.
|
||||
- Ändert sich die Datenrevision, passt ein alter Spielstand nicht mehr; eine Spielstand-Migration ist noch nicht vorgesehen.
|
||||
- **Editor:** öffnet keine Spielstände; keine Änderung.
|
||||
|
||||
## F9 · Schiedsrichter
|
||||
|
||||
- Heute kommen die 49 Schiedsrichter (plus Platzhalter 0) aus der Original-Datenbank: Namen im Namenspool, je ein Eigenschaftsbyte (`RefereeProperties`). Pro Spieltag erhält jedes Spiel einen noch freien Schiedsrichter. Mit den vergrößerten internationalen Ligen gibt es Tage mit bis zu 84 Ligaspielen; die Engine lässt deshalb vorübergehend Doppeleinsätze zu.
|
||||
- Die Welt führt Schiedsrichter schon heute als `staff`-Zeilen mit `role: referee` (Revision 1.3: die 50 Originale mit `x-legacy.referee_index` 0–49 und `x-legacy.property`, dem Original-Eigenschaftsbyte).
|
||||
- Das Eigenschaftsbyte hat zwei Werte, die die Spiele beeinflussen:
|
||||
- `perception` (Bits 0–1, 0–3): Abseits-Entscheidungen und übersehene Fouls;
|
||||
- `strictness` (Bits 3–4, 0–3): Karten.
|
||||
- **Neue Schiedsrichter (ab Revision 1.4):** `staff`-Zeilen ohne `x-legacy`, Pflichtfelder sind `id`, `name` und `role: referee`. Dazu `attributes.strictness` und `attributes.perception` (je 0–3, fehlend = 1); eine Nation ist optional. Sie folgen in Tabellenreihenfolge auf die Originale (Index 50, 51, …), höchstens 255 insgesamt. Die Originale behalten ihr Eigenschaftsbyte aus `x-legacy.property`.
|
||||
- Empfehlung: mindestens 100 Schiedsrichter, damit auch Tage mit Pokalspielen ohne Doppeleinsatz auskommen.
|
||||
- **Engine: erledigt.**
|
||||
- Die Poolgröße kommt aus der Welt.
|
||||
- Namen gehen in den Namenspool (Einzelbyte-Kodierung wie bei den Vereinen), das Eigenschaftsbyte ist `strictness << 3 | perception`.
|
||||
- Ein Doppeleinsatz ist nur noch der Rückfall, wenn der Pool erschöpft ist.
|
||||
- Ein Spielstand passt nur zu einer Welt mit gleich vielen Schiedsrichtern.
|
||||
- Test ohne neuen Datensatz: `MODERN_EXTRA_REFEREES=N modern_season_sim …`.
|
||||
- **Editor:** Schiedsrichterliste anzeigen und bearbeiten (Name, Nation, Strenge, Wahrnehmung), neue Schiedsrichter anlegen; Prüfung auf eindeutige IDs, Werte 0–3 und höchstens 255 Schiedsrichter.
|
||||
|
||||
## F10 · Almanach
|
||||
|
||||
- Ein Modern-Spielstand enthält alle gespielten Spiele der Karriere: `history/season-<Jahr>.bin` je abgeschlossener Saison (unveränderlich) und `history/current.bin` für die laufende. Beschreibung: [Almanach](almanach.md).
|
||||
- `state/modern.json` (Schema jetzt `modern-state@1.1`) bekommt dazu `league_ids`, `league_names` und `generated_players` (Zähler der neu vergebenen Spieler-IDs `player:gen-<n>`).
|
||||
- Die Integritätsprüfung deckt `history/` mit ab.
|
||||
- **Editor:** keine Änderung (öffnet keine Spielstände). Eine Welt muss nichts liefern; sinnvoll sind stabile Vereins- und Spieler-IDs, die sich zwischen Datenrevisionen nicht ändern.
|
||||
|
||||
### F8 · Optionale Managerdarstellung (29.10.2026)
|
||||
|
||||
Der Modern-Sessionkontext (`state/session.json`, vorhandenes Schema
|
||||
`classic-session@1.0`) darf zusätzlich die bis zu vier bekannten flüchtigen
|
||||
PlanTicketPrice-Bytes enthalten, wenn sie nicht im serialisierten Speicherblock
|
||||
liegen. Der Leser prüft ihre ursprüngliche Preisgrenze 0–25; die bisherigen
|
||||
Pflichtadressen und Duplikat-/Unbekannt-Prüfungen bleiben erhalten. Das behebt
|
||||
#26, ohne Classic oder die Byteanordnung der Spielwerte zu verändern.
|
||||
Editor: keine Anpassung; der Editor liest keine Karriere-/Sessiondateien.
|
||||
|
||||
Das Postfach darf außerdem `news_marks` speichern: eine Map kanonischer
|
||||
Manager-IDs auf Nachrichten-IDs und deren UI-Bits (`1` gelesen, `2` Papierkorb).
|
||||
Fehlende Markierungen bedeuten ungelesen/im Posteingang; leere Besitzermaps
|
||||
werden nicht für wirkungslose Aktionen angelegt. Das Archivieren bleibt das
|
||||
vorhandene Behalten-Bit des Originalpostfachs. Die eigentliche Nachricht wird
|
||||
beim Verschieben in den Papierkorb nicht aus dem Spielstand entfernt.
|
||||
Ältere Spielstände ohne die optionale Map bleiben lesbar.
|
||||
Editor: keine Welt-/Editoränderung; der Editor öffnet keine Karriere-OBS.
|
||||
|
||||
`state/modern.json` darf zusätzlich `manager_presentations` enthalten: eine Liste
|
||||
mit `{id, name, portrait_style}`. `id` ist die stabile Manager-ID, `name` der
|
||||
kanonische UTF-8-Anzeigename, `portrait_style` ist `photo` oder `painted`.
|
||||
Fehlt die Liste, bleiben die bisherigen Originalnamen/Fotoansichten maßgeblich.
|
||||
Die Einträge ändern keine Spielregeln oder Manageridentitäten. Die bestehenden
|
||||
Originalrecords bleiben vollständig erhalten; das Feld mit 24 Originalbytes
|
||||
ist keine UTF-8-Speichergrenze für die Modern-Anzeige. Native UI und neu erzeugte
|
||||
Almanach-Managernamen bevorzugen die optionale Darstellung. Bereits archivierte
|
||||
Namen werden nicht rückwirkend geändert.
|
||||
|
||||
Spielstände mit Managerdarstellungen verwenden `modern-state@1.2`, damit ältere
|
||||
Programme diese Angaben nicht unbemerkt beim erneuten Speichern verlieren. Ohne
|
||||
Managerdarstellungen bleibt der Writer bei `modern-state@1.1`; der neue Reader
|
||||
akzeptiert beide Versionen. Weltformat und Original-Spielstände bleiben unverändert. Doppelte/ungültige IDs, leere/überlange Namen
|
||||
oder unbekannte Darstellungsarten werden abgewiesen. **Editor:** keine Änderung,
|
||||
da der Welteditor keine Karriere-Spielstände bearbeitet.
|
||||
|
||||
## F11 · Nationen
|
||||
|
||||
- Die Nationalität eines Spielers hat in der Engine sechs Bit (Original: `w368` Bits 27–31 plus Bit 7 von `PlayerBonuses`, also 0–63); die Original-Nationen haben die Indizes 0–61 (`x-legacy.nationality_index`). Die Engine vergleicht Nationalitäten nur (deutsch oder ausländisch, gleiche Nation, Regionen bei Transfers), sie nutzt sie nicht als Tabellenindex.
|
||||
- **Engine erledigt (25.10.2026):** Spieler aus Nationen mit Index 32–61 (Brasilien, Argentinien, USA, Japan …) bekamen bisher die Ausweich-Nationalität 31 (Wales); jetzt den richtigen Index samt Bit 7. Nationen ohne Original-Index erhalten 63 (keine Nation, keine Nationalmannschaft). Datensatz 1.4: 80 Spieler ohne Original-Index (vorher 223).
|
||||
- **Daten erledigt (Revision 1.5, 25.10.2026):** Die doppelten Länder sind zusammengeführt. Die Spieler von `nation:tr` (2) und `nation:ci` (13) und das Lager Belek zeigen jetzt auf `nation:x-legacy-8` (Türkei) bzw. `nation:x-legacy-59` (Elfenbeinküste); 97 Nationen, 65 Spieler ohne Original-Index. Geprüft mit einer Saison samt Speicherprüfung.
|
||||
- **Offen:** Die Platzhalter-IDs `nation:x-legacy-8/-59/-60` (Südkorea) sollten später ISO-IDs werden (`nation:tr`, `nation:ci`, `nation:kr`); IDs bleiben dabei stabil, wenn die Platzhalter als Alias erhalten bleiben.
|
||||
- Die übrigen 65 Spieler kommen aus Nationen, die das Original nicht kennt (Mali, Georgien, Island …); für sie ist 63 richtig, solange die Engine keine eigenen Nationalmannschaften dafür hat.
|
||||
- **Editor:** Prüfung auf doppelte Nationen (gleicher Name oder gleicher Index), auf Spielernationen ohne Eintrag in `nations.json` und auf Indizes außerhalb 0–63.
|
||||
|
||||
## Modern-Prüfung (Engine und Editor)
|
||||
|
||||
Eine Welt ist als Modern-Welt spielbar, wenn:
|
||||
|
||||
1. `requires` `runtime:modern-v1` enthält und alle Verweise auflösbar sind,
|
||||
2. höchstens 32 Ligen bestehen, jede mit 12–20 Vereinen und passendem Generator und Kalender (F2, F3),
|
||||
3. jeder Ligaverein die Kaderregeln erfüllt (F6),
|
||||
4. jeder Spieler Vor- und Nachname hat (F5),
|
||||
5. Trainingslager vollständig sind, sofern die Regel vorhanden ist (F4).
|
||||
|
||||
Die Engine meldet Verstöße mit Datei, Pfad und Regel; der Editor zeigt dieselben Meldungen.
|
||||
@@ -0,0 +1,39 @@
|
||||
# Modern in der Konsole spielen
|
||||
|
||||
Bis die neue Oberfläche angebunden ist, lässt sich die Modern-Engine mit einer Modern-Welt in der Textkonsole spielen: `openbmh_modern_cli`. Es ist dieselbe Konsole wie `openbmh_cli` (Befehle siehe [CLI-Konzept](../CLI_CONCEPT/README.md)), übersetzt gegen die Modern-Session.
|
||||
|
||||
```
|
||||
openbmh_modern_cli --console --mod <Diamond_2026-27_Modern.obw> --saves <Ordner> --seed <n>
|
||||
```
|
||||
|
||||
Beispiel (jeder Befehlsblock endet mit `go.`):
|
||||
|
||||
```text
|
||||
NewGame(5, 3, 1, 3, true, true)
|
||||
go.
|
||||
SelectTeam("Name", club:3, Bundesliga, Middle, 2)
|
||||
go.
|
||||
Answer(1, Yes)
|
||||
go.
|
||||
Kickoff
|
||||
go.
|
||||
Run(End)
|
||||
go.
|
||||
Open(LeagueTable)
|
||||
go.
|
||||
```
|
||||
|
||||
Auch der JSON-Modus (`--json`, Befehle `new`, `kickoff`, `save`, `load`, …) und mehrere Sitze (`--serve`, `--seats`) funktionieren wie bei `openbmh_cli`.
|
||||
|
||||
## Grenzen
|
||||
|
||||
- Nur deutsche Vereine sind wählbar (0.3); die Zusatz-Reiter der Auswahl (Amateure) und Auslandsvereine werden abgelehnt.
|
||||
- Namen: Meldungen, Ergebnisse, Spielerlisten und Angebote zeigen die UTF-8-Namen der Welt (Spieler mit Vornamen; `club_text`/`player_text` in der Konsole). Paarungen, Ligatabelle und weitere Ansichten aus den Projektionen der Classic-Oberfläche zeigen noch die Engine-Namen (Großbuchstaben). Almanach und Spielstatistik liefert die Engine über `ModernSession::read` für die neue Oberfläche.
|
||||
- Spielstände sind Modern-Spielstände (`.obs`, nennen ihre Welt); sie laden nur mit derselben Welt.
|
||||
|
||||
## Technik
|
||||
|
||||
- `src/app/session.hpp`: Mit `OPENBMH_MODERN_SESSION` heißt `app::CareerSession` die Modern-Session, und deren Typen sind unter `bmh::app` sichtbar; ohne den Schalter bleibt alles beim Classic-Stand.
|
||||
- Die Konsole und die Desk-/Fenster-Aktionen (`desktop_actions`, `window_actions`) werden für `openbmh_modern_cli` ein zweites Mal übersetzt. Zurückrollen nach einer gescheiterten Aktion sichert den ganzen Session-Zustand (`app::SessionState`), damit Modern-Daten (Namen, Almanach, Toto-Spalten) erhalten bleiben.
|
||||
- `src/cli/main.cpp` öffnet im Modern-Build eine Welt wie der Sim (`open_world_package`, `set_current_world`); der Spielstandordner wird nach dem SHA-256 der Welt-ID benannt.
|
||||
- Vereinsauswahl: Die Auswahl der Classic-Oberfläche arbeitet mit den Stamm-IDs der Original-Datenbank. Vereine, die eine Welt hinzufügt, bekommen dort freie IDs; bestätigen lassen sich nur deutsche Vereine.
|
||||
@@ -0,0 +1,65 @@
|
||||
# Nationalteams mit Kadern · Modern-Engine
|
||||
|
||||
Stand: 25. Oktober 2026 (M9).
|
||||
|
||||
## Classic (Ausgangspunkt)
|
||||
|
||||
- Die deutsche Nationalmannschaft ist das Team `no_team` (357). An jedem Länderspieltag werden die stärksten fitten deutschen Spieler nominiert (3 Torhüter, 5 Abwehr, 7 Mittelfeld, 5 Angriff; `national_team_day`), und sie spielt mit diesen Spielern. Karten und Verletzungen gibt es nur, wenn ein Mensch Bundestrainer ist.
|
||||
- Alle anderen Nationalteams (358–418) spielen ohne Spieler. Ihre Stärke wird gewürfelt; die Grundlage ist ein Stärkebyte je Team (`ForeignClubStrength`). Ihre Spiele haben keine Torschützen und keine Aufstellungen.
|
||||
|
||||
## Modern
|
||||
|
||||
- **Kaderplätze:** Hinter der Reserve hat jedes Nationalteam außer Deutschland 24 Plätze (`WorldLayout::national_start`, `national_slots`; Team `no_team() + n` gehört zur Nationalität `n`). Classic hat keine (`national_slots = 0`).
|
||||
- **Nominierung:** Am Länderspieltag wird direkt nach der deutschen Nominierung für jede Nation dasselbe Verfahren angewandt (gleiche Quoten, gleiches Stärkemaß; nur der Zuschlag für Spieler bei Vereinen im Ausland entfällt, weil fast jede Nation im Ausland spielt). Danach stellt der Computer die Mannschaft auf. Es wird kein Zufallsgenerator gezogen (`nominate_national_squads`).
|
||||
- **Untergrenze:** Eine Nation braucht einen Torhüter und mindestens 14 Nominierte. Sonst bleibt ihr Kader leer, und sie spielt wie in Classic mit der gewürfelten Stärke.
|
||||
- **Im Spiel:** Ein Team „spielt mit Spielern“ (`fields_players`), wenn es ein Ligaverein ist, `no_team` oder ein Nationalteam mit nominiertem Kader. Für diese Teams gelten Spielerauswahl, Torhüter, Torschütze, Elfmeterschießen, Auswechslungen und die Weiterentwicklung der Spieler nach dem Spiel wie für die deutsche Nationalmannschaft. Karten und Verletzungen gibt es bei den anderen Nationen nicht (wie bei Deutschland ohne menschlichen Bundestrainer); ein Länderspiel schadet den Vereinen also nicht.
|
||||
- **Almanach und Statistik:** Aufstellungen, Torschützen, Vorlagen und Wechsel der Länderspiele werden aufgezeichnet.
|
||||
- **Spielstände:** Ältere Modern-Spielstände bekommen die neuen Plätze leer; bis zum nächsten Länderspieltag spielen die Nationen mit der gewürfelten Stärke.
|
||||
|
||||
## Ergebnis mit dem Diamond-Datensatz (Revision 1.5)
|
||||
|
||||
- 24 von 61 Nationen spielen mit Kader: Spanien, England, Frankreich, Italien, Portugal, Niederlande, Belgien, Türkei, Österreich, Dänemark, Schweiz, Griechenland, Serbien, Kroatien, Norwegen, Polen, Kosovo, Brasilien, Argentinien, USA, Senegal, Nigeria, Algerien, Japan. Die übrigen haben zu wenige Spieler im Datensatz.
|
||||
- Drei Läufe über zwölf Saisons: Welt- und Europameister waren Spanien, Frankreich, Deutschland und einmal die Schweiz. Ligen, Alter und Marktwerte unterscheiden sich nicht von den Läufen ohne Nationalkader (Abweichungen im Rauschen, [Balance](balance.md)).
|
||||
- Classic-Daten: unverändert (gleiche Ergebnisse wie vorher).
|
||||
|
||||
## Offen
|
||||
|
||||
- Nationen mit zu wenigen Spielern im Datensatz: Der Datensatz kann sie mit Spielern ohne Verein ergänzen, oder die Engine füllt mit erzeugten Spielern auf.
|
||||
- Die Länder- und Amateurteams im DFB-Pokal und die Pokal-Ausländer spielen weiter ohne Spieler.
|
||||
|
||||
## Stabile Manageridentität während der Coachphase · #20, 29.10.2026
|
||||
|
||||
Der bestehende Core tauscht weiterhin Record 4/0 und verkürzt manager_teams
|
||||
vorübergehend auf das Nationalteam. Die UI darf diese Recordposition nicht als
|
||||
Identität des ersten Menschen interpretieren. Eine reine Zuordnung liest
|
||||
CoachActive, OriginalManagerCount und die eingefrorenen ursprünglichen
|
||||
Eignungsflags: Der zuerst berechtigte Mensch bleibt der Nationaltrainer; in
|
||||
World-only/einem Einspielerspiel ist es wie im bestehenden Core der erste.
|
||||
Namen oder Porträts werden ausdrücklich nicht als Identitätsheuristik benutzt.
|
||||
|
||||
Manager.slot bezeichnet den logischen menschlichen Slot (0–3); das optionale
|
||||
runtimeSlot nennt den tatsächlichen Record (0–4). Die erste verdrängte
|
||||
Vereinsakte liegt vorübergehend in Record 4. Session und Desktop liefern die
|
||||
stabile ID/Anzeige des richtigen Menschen sowie die Vereinszuordnungen der
|
||||
wartenden Menschen. Commands werden weiterhin über die Manager-ID des aktuellen
|
||||
Scopes autorisiert. Speichern verwendet intern den aktiven Runtime-Record.
|
||||
|
||||
Neue Almanach-Managereinträge verwenden den logischen Menschen statt des
|
||||
vorübergehenden Coachslots 0. Alte Archivdaten werden nicht rückwirkend geraten
|
||||
oder umgeschrieben. Coachwahl, Recordtausch, Spiele, Zufallsverbrauch und OBS-
|
||||
Layout ändern sich nicht. Die Zuordnung funktioniert auch ohne neue Manager-
|
||||
Darstellungen in älteren Spielständen. Der Schemaentwurf kennt runtimeSlot
|
||||
optional; der Welteditor benötigt keine Anpassung.
|
||||
|
||||
Private Vorher-/Nachher-Projektionen und kontrollierte Mehrspieler-Karriere:
|
||||
bmh_4k_ui/docs/qa/coach-identity-2026-10-29/.
|
||||
|
||||
Abnahme: 55 synthetische CTests und 23 native GUI-Prüfungen bestanden. Ein
|
||||
kontrollierter Vier-Manager-Gegenfall benennt den dritten Menschen zum Coach;
|
||||
Takeover/Handback, späterer echter National-Schreibtisch über session.advance,
|
||||
OBS-Neustart (mit und ohne Darstellungsdaten) und eine tatsächlich aufgezeichnete
|
||||
Nationalpartie sind geprüft. Die Aufzeichnung nennt Index 2 und den richtigen
|
||||
Namen. Alle Read-/Save-Rundreisen bewahren RNG-/Archivbytes. Native Ausführung
|
||||
Linux x64; Windows/macOS wurden nicht ausgeführt. National-Aufstellung/Taktik
|
||||
bleiben vom gegenwärtigen Runtime-API noch gesperrt und sind kein Teil dieses
|
||||
Identitätsfixes.
|
||||
@@ -0,0 +1,189 @@
|
||||
# Phasen · Modern-Engine 0.3
|
||||
|
||||
Jede Phase hält das Spiel lauffähig. **Classic-Prüfung nach jeder Phase:**
|
||||
`ctest -C Release -E repo_hygiene` und die Classic-Regression identisch zur
|
||||
Referenz aus M0.
|
||||
|
||||
## M0 · Grundlage
|
||||
|
||||
- Classic-Referenz festhalten: Regressionsausgaben, Langläufe, Tag auf `0.3`.
|
||||
- Modern-Datensatz lokal bereitstellen (privat, nicht in dieses Repository).
|
||||
|
||||
**Abnahme:** Referenzen liegen vor; spätere Phasen vergleichen dagegen.
|
||||
|
||||
## M1 · `WorldLayout` und Abzweig
|
||||
|
||||
- `WorldLayout` in `src/game/state.hpp`: Ligagrößen, ID-Bereiche (Liga, Amateure, Pokal-Ausländer, Nationalteams, `kNoTeam`), Kaderplätze pro Team, Pool-Offsets, Gesamtzahl der Plätze, Spieler- und Vereinsanzahl. `classic_layout()` liefert die heutigen Werte; `squad_range` liest das Layout.
|
||||
- Gemeinsame Teile lesen Teambereiche aus dem Layout (`match_engine`, `rating`, `match`).
|
||||
- Saisonlogik nach `src/modern/game/` kopieren (Bibliothek `bmh_season_modern`, Namespace `bmh::modern`); dort alle festen Größen aus dem [Befund](befund.md) durch Layoutwerte ersetzen.
|
||||
- Vereinsbezogene Speicherblöcke werden in Modern zu Vektoren, die nach der Vereinsanzahl bemessen sind; Classic behält seine Blöcke.
|
||||
|
||||
**Abnahme:** Classic identisch; Modern-Kern baut und läuft mit Classic-Layout identisch zu Classic (Gegenprobe, dass der Abzweig nichts verändert hat).
|
||||
|
||||
## M2 · Ligen, Spielpläne, Kalender
|
||||
|
||||
- Spielplangenerator je Liga aus den Daten: `round-robin` (Kreismethode, jede Größe, Heim/Auswärts ausgeglichen) für die internationalen Ligen, `legacy:<n>` für die deutschen Ligen aus den Classic-Tabellen des Datensatzes.
|
||||
- Kalender: Der Tagesplan der Saison wird beim Start aus dem Classic-Plan erzeugt und für die internationalen Ligen auf 38 Runden ergänzt. Ligen mit weniger Runden setzen danach aus. Tabellen, Prognose und Saisonende rechnen je Liga mit `2 × (Vereine − 1)` Spieltagen.
|
||||
- Europapokal-Teilnehmer aus den internationalen Ligen werden wie bisher bestimmt, mit den neuen Teambereichen.
|
||||
|
||||
**Abnahme:** Synthetische Welt mit Ligen von 20, 20, 20 und 18 Vereinen spielt eine Saison vollständig durch; jede Paarung genau einmal pro Hin- und Rückrunde.
|
||||
|
||||
## M3 · Modern-Weltlader
|
||||
|
||||
- Ein Paket ist Modern, wenn `requires` `runtime:modern-v1` enthält; der Mod-Ordner darf zusätzlich `mod.json` mit `type: modern` tragen (Ansatz aus dem Modern-POC).
|
||||
- Ablauf (`src/modern/content/world_loader.*`): Archiv lesen → Classic-Startzustand aus den Classic-Datenbereichen des Pakets aufbauen → Welttabellen darüberlegen (Vereine, Ligen, Kader und Reihenfolge, Spielerwerte `bmh-classic@1`, Verträge) → `WorldLayout` aus den Daten ableiten.
|
||||
- Namen: `GameState` erhält UTF-8-Felder für Vor- und Nachname sowie Vereinsname und Kurzname. Texte der Engine (Post, Meldungen, Ranglisten, Konsole) verwenden in Modern einen gemeinsamen Namenszugriff.
|
||||
- Asset-Schlüssel (Wappen, Porträts, Trophäen) werden unverändert an die UI weitergegeben.
|
||||
- Gegenseitiger Ausschluss: Modern lehnt Classic-Pakete ab und umgekehrt.
|
||||
|
||||
**Abnahme:** Der Modern-Datensatz startet eine Karriere mit einem deutschen Verein; Kader, Namen und Ligen stimmen mit den Welttabellen überein.
|
||||
|
||||
**Umsetzung (Stand 24. Oktober 2026):**
|
||||
|
||||
- `src/modern/content/world.*`: typisierte Sicht auf die Welttabellen (Ligen, Vereine, Spieler, Nationen, Ligatermine).
|
||||
- `src/modern/content/world_package.*`: liest aus dem Paket nur, was die Engine braucht (Manifest, Welttabellen, Classic-Nutzdaten, Classic-Grafiken); HD-Wappen und -Porträts bleiben im Archiv. Der Classic-Startzustand entsteht aus den unveränderten `x-classic`/`x-legacy`-Daten.
|
||||
- `src/modern/content/world_expand.*`: bringt den Classic-Start auf die Welt. Vereins-IDs folgen den Ligamitgliedern (die vergrößerten internationalen Ligen verschieben alle IDs dahinter um 30); Tabellen pro Verein werden umgerechnet, neue Vereine übernehmen die Startwerte eines Originalvereins derselben Liga; neue Spieler erhalten ihre Werte aus den `bmh-classic@1`-Attributen; jeder Ligaverein hat 24 Kaderplätze; die Pools hinter den Kadern (Transferliste, vereinslos, Ausland, Nationalteam, 54 Reservespieler) behalten Inhalt und Reihenfolge.
|
||||
- Namen und OBW-IDs für die UI liegen in `ModernState` (`world_club_name`, `player_first`, `player_last`, …); die Engine-Texte nutzen weiter die Einzelbyte-Namenspools, in die neue Namen angehängt werden.
|
||||
- Probelauf: `modern_season_sim <Welt.obw> [Spielzüge] [Verein] [Startwert]`; `MODERN_DEBUG=1` zeigt die Ladeschritte, `MODERN_WATCH=<Sekunden>` meldet regelmäßig den Engine-Schritt (Endlosschleifen finden).
|
||||
- Ergebnis mit dem Modern-Datensatz 1.3: zwei Saisons, rund 5.300 Spiele; alle Ligen spielen ihre Runden vollständig (deutsche Ligen 34, LaLiga/Premier League/Serie A 38, Ligue 1 34).
|
||||
- Dabei gefunden und behoben: der Schiedsrichterpool (49) reicht nicht für Tage mit deutschen und vergrößerten internationalen Ligen (Modern-Abweichung), die Fairplay-Tabelle pro Ligaverein ist mitgewachsen, Kaderzuordnung über das Layout statt fester 24/16-Arithmetik.
|
||||
- Offen für M6: Modern-Spielstände; die Session nutzt übergangsweise die Classic-UI-Projektionen, die dafür auf das Layout umgestellt sind.
|
||||
|
||||
## M4 · Trainingslager
|
||||
|
||||
Siehe [Trainingslager](trainingslager.md): Katalog aus den Daten, drei Regionen, Qualitätswerte 0–6, unveränderte Preisformel und Aufenthaltsgrenzen, begrenzte 6-Sterne-Wirkung.
|
||||
|
||||
**Abnahme:** Tests für Preis, Grenzen und Wirkung mit festen Seeds; Simulation: drei Aufenthalte in 6-Sterne-Lagern bringen einem Spitzenteam im Schnitt höchstens etwa einen Tabellenplatz.
|
||||
|
||||
## M5 · Datenrevision 1.4 (privat)
|
||||
|
||||
- Neue, nummerierte Migration des Modern-Datensatzes nach dem bestehenden Migrationsvertrag (Eingangs-Hash, Bericht, unabhängige Prüfung, Editor-Roundtrip): `runtime:modern-v1`, spielbar, Trainingslager-Katalog, Kalenderangaben für 38 Spieltage, Finanzangaben auch für die 30 neuen Vereine, ein größerer Schiedsrichter-Pool (mindestens 100, [Datenformat F9](datenformat.md#f9--schiedsrichter)) samt Engine-Anbindung.
|
||||
- Werkzeug: C++ (`openbmh_world_migrate`) oder das bestehende Migrationswerkzeug der Datenpflege; vor Beginn abstimmen.
|
||||
|
||||
**Abnahme:** Prüfbericht ohne Fehler; Editor öffnet und speichert verlustfrei.
|
||||
|
||||
**Abnahme Revision 1.4 (25.10.2026):** `runtime:modern-v1` im Manifest; 18 Lager auf 3 Karten aus den Daten (`resorts`), das 6-Sterne-Lager buchbar; 100 Schiedsrichter (50 neue mit Strenge und Wahrnehmung), noch etwa 7 Doppeleinsätze pro Saison statt an fast jedem Ligatag; Geburtsdaten für alle 3.414 Spieler. Zwei Saisons ohne Abbruch, Spielstand-Rundreise identisch, zehn Saisons ohne Abbruch. Engine-Anpassungen dabei: Geburtsdaten gelten jetzt auch für die Originalspieler (`WorldPlayer::born`); das Alter stoppt bei 47, dem Maximum seines Feldes (ein 40-jähriger Torwart würde sonst nach einigen Jahren überlaufen). Offen für die Daten nur `playable: true` im Manifest (liest die Engine nicht).
|
||||
|
||||
**Stand Engine (erledigt):** Die Engine liest alles, was 1.4 liefern soll: `runtime:modern-v1` (F1), Ligatermine für 38 Spieltage (F3; Revision 1.3 spielt schon 38/38), den Lager-Katalog mit Karten (F4), den Schiedsrichter-Pool aus `staff` (F9). Für Finanzen (F7) braucht 0.3 nichts.
|
||||
|
||||
**Stand Datenpflege (25.10.2026):** Revision 1.4 ist gebaut und unabhängig geprüft (101 Prüfungen, null Fehler), zweimal bytegleich erzeugt und im ergänzten Editor verlustfrei geöffnet/gespeichert. Die Welt nennt beide Laufzeit-/Editoranforderungen, ist spielbar markiert und liefert 3 Karten, 18 Lager sowie 100 Schiedsrichter. Alle 3.414 Spieler haben `born`: bei den Originalen 2.345 aus Quellen ergänzt und 229 ausdrücklich als Simulation generiert; die 840 Ergänzungen bleiben unverändert. Original-IDs, Namen, Werte und Ressourcen bleiben erhalten. Ein Engine-Zug mit der neuen Welt ist geprüft; der unten genannte Mehrsaisontest bleibt beim Engine-Team. Der Editor-Supportfix liegt ebenfalls auf `0.3`, kein neuer Editor-Release.
|
||||
|
||||
**Aufgabenpaket Datenmigration 1.4 (Codex, Python-Migrationswerkzeug, privates Repo):**
|
||||
1. Manifest: `requires` um `runtime:modern-v1` ergänzen, `playable: true`. `editor:world-v1` darf bleiben.
|
||||
2. Trainingslager: Regel `rule:training-camps` mit `maps` (Deutschland, Europa, Naher Osten) und den 18 Lagern aus `docs/new_ui/desktop/trainingcamp` nach [F4](datenformat.md#f4--trainingslager); `x`/`y` bleiben `null`. Vorlage für Werte und IDs (`resort:0..17`): `default_camp_catalogue()` in `src/modern/game/training_camps.cpp`.
|
||||
3. Schiedsrichter: mindestens 50 neue `staff`-Zeilen (`role: referee`, ohne `x-legacy`) nach [F9](datenformat.md#f9--schiedsrichter), fiktive Namen, `attributes.strictness` und `attributes.perception` je 0–3 ähnlich verteilt wie bei den 49 Originalen (`x-legacy.property`: Bits 3–4 bzw. 0–1).
|
||||
4. Stabile IDs: Vereins-, Spieler- und Schiedsrichter-IDs aus 1.3 unverändert lassen (der Almanach und die Spielstände beziehen sich darauf).
|
||||
4a. Geburtsdaten auch für die 2.574 Originalspieler (heute Platzhalter-Alter 16). Die Engine übernimmt das Alter dann beim Karrierestart, statt es zu würfeln ([Balance](balance.md)).
|
||||
5. Bericht, Prüfung und Editor-Roundtrip wie bei 1.3; Eintrag in `DIAMOND_MIGRATIONS.md`.
|
||||
|
||||
Danach: `modern_season_sim` mit der neuen Welt (zwei Saisons, `SIM_CONTRACTS=1`) muss ohne Doppeleinsätze von Schiedsrichtern und mit den 18 Lagern laufen; das prüfe ich.
|
||||
|
||||
## M6 · Spielstände und UI-Projektionen
|
||||
|
||||
- Spielstände `.obs` mit `save_profile: modern-career-v1`: gleiche Hülle wie Classic, aber Modern-Zustand mit Layout und Namen; Dimensionen aus der Welt.
|
||||
- Projektionen und Aktionen der `ModernSession` gemäß [UI-Schnittstelle](ui-schnittstelle.md).
|
||||
|
||||
**Abnahme:** Speichern und Laden mitten in der Saison setzt identisch fort; UI-Projektionen haben Tests mit synthetischen Welten.
|
||||
|
||||
**Umsetzung Spielstände (erledigt):**
|
||||
- `src/modern/content/world_save.*`: `save_world_career` / `load_world_career`. Der Spielstand nennt seine Welt (ID und Datenrevision) und enthält nur die Karriere (Format siehe [Datenformat F8](datenformat.md)).
|
||||
- Laden: `ModernSession` setzt zuerst das Classic-Layout zurück, liest den Spielstand und ruft dann `install_world_dimensions(world)` auf (aus `expand_to_world` herausgelöst), damit Layout, Ligagrößen und Kalender wieder zur Welt passen.
|
||||
- Autosave und `save_game` schreiben über `save_world_career`, sobald eine Welt geladen ist (`current_world()`).
|
||||
- Fehler behoben: Beim Auf- und Abstieg (`ClubsChangePlaces`) wurden die Modern-Namen (`world_club_id/name/short`) nicht mitgetauscht.
|
||||
- Prüfung: `MODERN_SAVE_CHECK=N modern_season_sim …` speichert nach Zug N, lädt in eine zweite Session und vergleicht Zustand, Namen und Layout. Nach Zug 30 und 58 identisch; zwei Saisons mit `SIM_CONTRACTS=1`: 0 von 168 Vereinsnamen falsch.
|
||||
|
||||
## M7 · Balance
|
||||
|
||||
- Konsolen-Langläufe mit dem Modern-Datensatz (mehrere Startkonstellationen, je zehn Saisons): Tore pro Spiel, Punkteverteilung je Liga, Ermüdung und Verletzungen bei 38 statt 22 Spieltagen, Marktwerte und Gehälter, Finanzen des menschlichen Vereins, Wirkung der Trainingslager.
|
||||
- Korrekturen zuerst in den Daten (etwa Werte der neu ergänzten Spieler, Preise), dann in Regeln; jede Regeländerung in [DIFFERENCES](../DIFFERENCES.md).
|
||||
|
||||
**Abnahme:** Bericht mit Kennzahlen und begründeten Anpassungen.
|
||||
|
||||
## M8 · Almanach: Anschluss und Schussserien
|
||||
|
||||
Die native Oberfläche liest Kalender, Tagespaarungen, Spielberichte und Ereignisse
|
||||
über die revisionsgebundene Modern-Sessionprojektion; die getrennte Demo bleibt
|
||||
eine eigene Quelle. Details stehen im [Almanach-Menü](../new_ui/desktop/almanac/README.md).
|
||||
|
||||
Nachbesserung vom 28. Oktober 2026 (#18): Der Recorder erfasst Elfmeterschüsse aus
|
||||
dem Matchprotokoll einmalig und getrennt von Spieltoren. Die Leseprojektion
|
||||
berichtigt eindeutig belegte ältere Doppelprotokolle in Kopien. Spielstandbytes,
|
||||
Spielentscheidungen und RNG bleiben unverändert. Hallen- und unklare
|
||||
Verlängerungs-Teilstände werden ausdrücklich behandelt. Format und Editor
|
||||
benötigen keine Anpassung; [Nachweise und Grenzen](almanach.md).
|
||||
|
||||
### M6 · Tabellen-/Stärken-Leseprojektion, 28. Oktober 2026
|
||||
|
||||
`report-index` nennt die tatsächlich aktiven Ligen und ihre aktuellen Mitglieder.
|
||||
`league-report` kapselt ComputeLeagueTable mit fünf Filtern und TeamAverage für
|
||||
den ganzen Kader. Die UI ordnet gelieferte Zeilen nur zur Ansicht um; Kader und
|
||||
Profile nutzen den bestehenden squad-Read. Es gibt keine Regel-, OBW- oder
|
||||
Editor-Formatänderung. Nicht projizierte Qualifikationszonen bleiben unbekannt.
|
||||
Synthetische Tabellen-/Subset-/Bereichsprüfungen und private Read-/GUI-Rundreisen
|
||||
stehen unter `bmh_4k_ui/docs/qa/engine-reports-2026-10-28/`.
|
||||
|
||||
### M6 · Ligaspiele-Leseprojektion, 28. Oktober 2026
|
||||
|
||||
`league-fixtures {leagueId,round?}` stellt die vorhandenen Paarungen und
|
||||
Ergebniszustände mit der üblichen Snapshot-Hülle bereit. Aktiver Ligaindex,
|
||||
stabile Paarungs-IDs und gültige Rundengrenzen verhindern Vermischung mit
|
||||
Demo- oder fremden Kontextdaten. Statusmarker bleiben Ergebnisse ohne Torzahlen;
|
||||
insbesondere wird `0xCE` nicht mehr als 12:14 ausgegeben (#19). Keine Änderung
|
||||
an Saisonlogik, Ergebnisbytes, OBW-Format oder Editor. Der native Presenter
|
||||
nutzt dieselbe mittige Paarungsgeometrie wie die HTML-Vorlage.
|
||||
|
||||
Synthetische Marker-/Bereichs-/Kontexttests, alle Runden der neun tatsächlichen
|
||||
Ligen und private GUI-Reads einschließlich Verlegung/Rücknahme und OBS-Neustart
|
||||
liegen unter `bmh_4k_ui/docs/qa/engine-fixtures-2026-10-28/`.
|
||||
|
||||
### M6 · Übrige Spiele, 28. Oktober 2026
|
||||
|
||||
`other-index`/`other-fixtures` kapseln `other_games_from_game` als reine
|
||||
Runtime-Reads. Der optionale Metadatenaufruf liest noch keine Teilnehmer- oder
|
||||
Ergebnislisten; bestehende Aufrufer behalten ihr Verhalten. Die native Ansicht
|
||||
verwendet die gelieferten aktiven Wettbewerbe, Gruppen/Phasen und Runden.
|
||||
Keine Änderung an Spielregeln, Zufallsverbrauch, Spielstand- oder OBW-Format;
|
||||
keine Editoranpassung nötig. Tests decken offene/gespielte Spiele, Zukunftsrunden,
|
||||
vertauschte Zweitspielwerte und Kontextgrenzen ab. Private Belege:
|
||||
`bmh_4k_ui/docs/qa/engine-other-2026-10-28/`.
|
||||
|
||||
### M6 · Spielerstatistiken/Fairplay, 28. Oktober 2026
|
||||
|
||||
`player-rankings` und `fairplay` liefern aktuelle Saisonereignisse aus dem
|
||||
Almanach. Die vorhandene Spielerstatistik-Auswertung erhält einen optionalen
|
||||
internen Vereinsfilter vor der Aggregation; bestehende öffentliche Abfragen
|
||||
bleiben unverändert. Profilbezüge verwenden stabile IDs und heutige Runtime-Kader,
|
||||
keine historischen Kaderpositionen. Fairplay zählt Kartenereignisse inklusive
|
||||
Gelb-Rot und liefert die bekannten Darstellungsgewichte. Keine Regel-, OBW-,
|
||||
Spielstand- oder Editoränderung. Synthetische Tests prüfen Saison-/Vereinsgrenzen,
|
||||
Transfers, Tore/Assists, Einsätze, Karten und Gleichstände. Private QA:
|
||||
`bmh_4k_ui/docs/qa/engine-rankings-2026-10-28/`.
|
||||
|
||||
### M6 · Native Neuanlage und Managerdarstellung, 29. Oktober 2026
|
||||
|
||||
Der bestehende Wizard erstellt eine ModernSession über confirm_manager/finish.
|
||||
Stabile Vereinszuordnungen werden nach der Initialisierung geprüft. Ein reiner
|
||||
opening-Read projiziert aktive Europapokal-Listen und tatsächliche DFB-Paarungen;
|
||||
Präsentationsschritte lösen keine zweite Auslosung aus. Die UI übernimmt erst
|
||||
fertige Session, konsistenten Snapshot und Bildkatalog vom Hintergrund-Worker.
|
||||
|
||||
Optionale UTF-8-/Porträt-Metadaten sind in F8 dokumentiert. Neue Karrieren mit
|
||||
Angaben verwenden modern-state@1.2, ältere ohne Angaben weiter 1.1. Classic-
|
||||
Records und Weltformat bleiben unverändert; der Editor öffnet keine Karrieren.
|
||||
Ein/zwei/vier Menschen, drei Themes, 720p/1080p, reine Nationalwahl und
|
||||
OBS-Neustarts sind geprüft. 54 synthetische CTests und private Bytevergleiche
|
||||
bestehen. Anstoß bleibt gesperrt. Private QA:
|
||||
bmh_4k_ui/docs/qa/engine-new-career-2026-10-29/.
|
||||
|
||||
### M9 · Nationaltrainer und stabile Menschenidentität, 29. Oktober 2026
|
||||
|
||||
#20: Session-/Desktop-Metadaten trennen logischen Menschen und aktuellen Record.
|
||||
Der dritte Mensch bleibt beim bestehenden 4/0-Tausch dieselbe Person; wartende
|
||||
Vereinszuordnungen bleiben sichtbar. Neue Almanach-Managereinträge nutzen den
|
||||
logischen Menschen. Keine Änderung an Auswahl/Spielen/RNG oder an persistierten
|
||||
Originalrecords. Alte Spielstände brauchen keine neuen Felder; runtimeSlot ist
|
||||
ein optionales Read-Feld. Details und private QA: nationalteams.md.
|
||||
|
||||
### Native Manageranbindung · 29.10.2026
|
||||
|
||||
Hub, aktuelle Vereinszuordnung und atomarer bestätigter Beitritt sind über die vorhandenen Sessionmethoden gebunden. Aktive und archivierte Besitzer bleiben getrennt; Ein-Mensch-Aufgeben und anschließende neue Karriere wurden nativ geprüft. Mehrspieler-KI-Übergabe sowie endgültiger Archivspeicherweg nach dem Karriereende bleiben offen. Modern hält den bestehenden Erstligaplatz beim Beitritt fest (#29), damit gespielte Wertungen nicht durch die ursprüngliche Platzierung vertauscht werden. Classic und Neuanlage unverändert. Siehe [Manager-UI](../new_ui/desktop/manager/ENGINE.md) und [UI-Vertrag](ui-anbindung.md).
|
||||
@@ -0,0 +1,43 @@
|
||||
# Spielstatistik (Engine-Abfragen)
|
||||
|
||||
Datenquelle für den Button **Spielstatistik** der Modern-Oberfläche (nicht für den Almanach). Die Abfragen werten den [Almanach](almanach.md) der laufenden Karriere aus; der Almanach wird damit zur allgemeinen Datenquelle für Statistiken. Weitere Auswertungen kommen nach demselben Muster dazu.
|
||||
|
||||
Code: `src/modern/content/statistics.hpp/.cpp`, Aufruf über `ModernSession::read_statistics(request)`. Nur lesend, keine Wirkung auf Spielstand oder Zufallszahlen.
|
||||
|
||||
## Anfragen
|
||||
|
||||
| Anfrage | Antwort (zusätzlich zu `ok: true`) |
|
||||
|---|---|
|
||||
| `{kind: "competitions"}` | `competitions: [{id, name, type, seasons: ["2026/27", …]}]` – alle Ligen und Pokale mit Ergebnissen, Ligen zuerst |
|
||||
| `{kind: "winners", competition?}` | `competitions: [{id, name, type, winners: [{season, year, edition, date, winner, runner_up}]}]` – Sieger nach Jahren; ohne `competition` alle Wettbewerbe |
|
||||
| `{kind: "player_stats", competition, season?, sort?, limit?}` | `players: [{rank, player, club, appearances, goals, assists, yellow, second_yellow, red}]` |
|
||||
|
||||
- `competition`: Ligen mit der Liga-ID der Welt (z. B. `comp:de-1`), Pokale als `cup:<Pokal-ID>`, das Hallen-Masters als `cup:11:masters`.
|
||||
- `season`: `"2026/27"`; fehlt oder `null` = alle Saisons (ewige Liste).
|
||||
- `sort`: `goals` (Standard), `assists`, `yellow`, `red` (Rot und Gelb-Rot zusammen). Gleichstand: weniger Einsätze zuerst, dann Name. Gleiche Werte haben denselben Rang.
|
||||
- `limit`: Anzahl Zeilen, Standard 50, `0` = alle. Es erscheinen nur Spieler mit einem Wert > 0 im Sortierkriterium.
|
||||
- `club`: der Verein des letzten Spiels des Spielers in dieser Auswahl.
|
||||
- `appearances`: Startelf plus Einwechslungen (nur Ligavereine haben Aufstellungen).
|
||||
- `winner`/`runner_up`: `{id, name}`; `runner_up` ist `null`, wenn es keinen gibt (Masters, Länderturniere ohne Finale). `edition` zählt mehrere Austragungen einer Saison (Hallenturniere).
|
||||
- Fehler: `{ok: false, error}` mit `invalid_statistics_request` (Form, Art, Wert) oder `statistics_unavailable`.
|
||||
|
||||
## Zuordnung
|
||||
|
||||
- Nachgeholte Ligaspiele (intern Wettbewerb 9 „Verlegte Spiele“) zählen zu ihrer Liga und ihrem ursprünglichen Spieltag.
|
||||
- Freundschaftsspiele (Wettbewerb 10) stehen in `competitions`, haben aber keine Sieger.
|
||||
- Wettbewerbsnamen: Ligen aus der Welt, Pokale aus den Texten der Ausgabe; die einzelnen Hallenturniere heißen „Hallenturnier“, das Masters „Hallen-Masters“.
|
||||
|
||||
## Prüfen
|
||||
|
||||
`MODERN_STATS=1 modern_season_sim <welt.obw> 60 0 1` zeigt am Laufende Beispielanfragen und ihre Antworten.
|
||||
|
||||
## Korrektur der UI-Siegerzuordnung (#21, 29.10.2026)
|
||||
|
||||
`read_statistics_screen` erhält dieselben Titelträger wie der vorhandene
|
||||
Wettbewerbssieger-Read. Bei `AlmanacWinner.type = Pokalindex + 1` gehören
|
||||
Champions League, Pokalsieger und UEFA-Cup zu 3/4/2. Die alte Oberfläche hatte
|
||||
sie vertauscht. Supercup (Pokalindex8, Typ9) steht neben Meisterschaft und
|
||||
DFB-Pokal; die vier ausländischen Meisterschaften haben ihre passenden
|
||||
Grafikrollen. Nur die Leseprojektion ändert sich, keine Regeln, Titel oder
|
||||
historischen Daten. Synthetische unterschiedliche Sieger und eine echte
|
||||
Saisonübergabe prüfen den Gegenfall.
|
||||
@@ -0,0 +1,53 @@
|
||||
# Toto mit mehreren Spalten (Modern)
|
||||
|
||||
Michaels Wunsch: Man kann mehr als eine Spalte spielen (bis zu 6); die Regel soll das Gewinnen nicht zu einfach machen. Regel abgestimmt am 24.10.2026.
|
||||
|
||||
## Original (Classic, unverändert)
|
||||
|
||||
- Ein Tippschein mit 11 Spielen zwischen etwa gleich starken Vereinen, je Spiel 1 (Heimsieg), 0 (Unentschieden) oder 2 (Auswärtssieg).
|
||||
- Einsatz 10.000–400.000 €, abgebucht am Ende des Spieltags.
|
||||
- Feste Quoten auf den Einsatz: 9 Richtige ×10, 10 Richtige ×20, 11 Richtige ×50.
|
||||
|
||||
## Modern
|
||||
|
||||
1. Bis zu **6 Spalten**; jede Spalte kostet den Einsatz und wird einzeln mit den Original-Quoten ausgewertet.
|
||||
2. Einsatz **je Spalte** 10.000–400.000 €, alle Spalten zusammen höchstens **400.000 €**.
|
||||
3. Jede Spalte ab der zweiten kostet **10 % ihres Einsatzes** als Bearbeitungsgebühr.
|
||||
4. **Keine zwei gleichen Spalten.**
|
||||
5. Kosten: `Einsatz × Spalten + Einsatz / 10 × (Spalten − 1)` (`pools_cost`). Reicht das Geld nicht, gilt der ganze Tippschein als nicht abgegeben (Meldung wie im Original).
|
||||
|
||||
Warum das nicht zu leicht ist: Die Quoten sind fest, also bringt jede Spalte für sich denselben Erwartungswert, egal wie die Spalten zusammenhängen. Mehr Spalten erhöhen nur die Chance auf irgendeinen Gewinn, nicht den Rückfluss; die Gebühr macht das Absichern über mehrere Spalten zusätzlich teurer.
|
||||
|
||||
**Messung** (`SIM_TOTO=<Spalten> SIM_CONTRACTS=1 SIM_ADVERTISING=1 modern_season_sim <welt.obw> 100 0 <seed>`, zwei Saisons, 400.000 € je Spieltag, Tipp: der stärkere Verein gewinnt, Zusatzspalten tippen je ein Unentschieden):
|
||||
|
||||
| Spalten | Rückfluss (Seeds 1, 2) | Spalten mit 9+ Richtigen je Tippschein |
|
||||
|---|---|---|
|
||||
| 1 | 30 % / 71 % | etwa 3–5 % |
|
||||
| 3 | 30 % / 64 % | etwa 3–4 % je Spalte, 7–10 % je Tippschein |
|
||||
| 6 | 12 % / 49 % | etwa 8–18 % je Tippschein |
|
||||
|
||||
Toto bleibt im Schnitt ein Verlustgeschäft; mit mehr Spalten gewinnt man öfter etwas, aber nicht mehr.
|
||||
|
||||
## Umsetzung
|
||||
|
||||
- Spalte 1 liegt im Original-Tippschein (`Coupon + Manager × 0x14`), damit alle bestehenden Abläufe unverändert bleiben; die Spalten 2–6 und die letzte Abrechnung (Treffer je Spalte, bezahlt, gewonnen) in `ModernState::pools`, gespeichert in `state/modern.json` (`pools`).
|
||||
- Abgabe: `submit_pools_columns` (`desk_actions.hpp`), in der Session `dispatch_pools_columns(manager, stake, columns, revision, error)`; Fehler `too_many_columns`, `stake_out_of_range`, `total_stake_too_high`, `duplicate_column`, `toto_coupon_requires_eleven_matches`, `invalid_toto_coupon`. Die alte Einspalten-Aktion (`dispatch_toto`) verwirft frühere Zusatzspalten.
|
||||
- Abrechnung: `settle_pools_coupon` (`matchday_setup.cpp`).
|
||||
- Lesen: `{kind: "toto"}` über `ModernSession::read` ([UI-Abfragen](ui-abfragen.md)): `open`, `matches [{home, away}]`, `stake`, `cost`, `columns`, `rules`, `last {paid, won, hits}`.
|
||||
- Tests: `modern_toto_tests` (Regeln, Kosten); Spielstand-Rundreise im Sim prüft die Spalten mit.
|
||||
|
||||
## Nativer UI-Entwurf und Kostenprüfung
|
||||
|
||||
Die Oberfläche hält angekreuzte Felder und den Einsatz zunächst als lokalen
|
||||
Entwurf. `ui_read({kind:"toto", draft:{stake:Money, columns:[[...]]}})` prüft ihn
|
||||
auf einer Zustandskopie mit demselben `submit_pools_columns` wie die Abgabe.
|
||||
Die Antwort enthält bei Erfolg die normalisierte Abgabe, Gesamtkosten und
|
||||
Bearbeitungsgebühr. Ohne Erfolg gibt es einen Fehlercode und keinen Preis.
|
||||
Die Prüfung ist rein, hält keinen Angebotsbesitzer und zieht keine Zufallszahl.
|
||||
`Money` ist streng EUR mit zwei Nachkommastellen; der Spieleinsatz bleibt ganzzahlig.
|
||||
|
||||
Die Bestätigung sendet genau diesen Entwurf mit dem üblichen Karriere-/Manager-/
|
||||
Revisionskontext als `toto.submit`. Null Einsatz und leere Spalten ziehen einen
|
||||
bereits vorgemerkten Schein zurück (vorhandener Core-Pfad); Null mit ausgefüllten
|
||||
Spalten ist ungültig. Abrechnung und Gebühren bleiben am Ende des Spieltags.
|
||||
Die bestehende Regel und das OBS-/OBW-Format werden nicht geändert.
|
||||
@@ -0,0 +1,97 @@
|
||||
# Trainingslager · Modern-Engine
|
||||
|
||||
Stand: 23. Oktober 2026, Planung für Phase M4. Angebot und Bedienung der
|
||||
Oberfläche stehen in [new_ui/desktop/trainingcamp](../new_ui/desktop/trainingcamp/README.md).
|
||||
|
||||
## Classic heute (Ausgangspunkt)
|
||||
|
||||
Quelle: `src/game/desk_actions.cpp` (`training_camp_price`, `book_training_camp`, `training_camp_effect`).
|
||||
|
||||
- Acht Lager mit Basispreis und vier Qualitätswerten von 1 bis 5.
|
||||
- **Preis:** Basispreis + 5000 × Anzahl der Kaderspieler. Eine Buchung ist ein Aufenthalt; es gibt keine Dauer oder Wochenpreise.
|
||||
- **Grenzen:** höchstens ein Aufenthalt pro Woche und drei pro Saison; die Buchung scheitert, wenn Guthaben plus Kreditrahmen nicht reichen.
|
||||
- **Schwerpunkte:** drei Regler von 0 bis 15; der vierte Wert (Erholung) folgt aus `15 − (a + b + c) / 3`.
|
||||
- **Wirkung** mit `scaled(x, note) = x × note × 20 / 100`:
|
||||
- Mannschaftsmoral: `+ scaled(12, Verpflegung)`, höchstens 47.
|
||||
- Je Spieler und Wert (Kondition, Technik, Form, Eingespieltheit, Frische) eine Zufallsstufe aus der Tabelle `{−3 … +5}`; der Zufallsbereich reicht bis Index `scaled(Schwerpunkt, Note) + 8`. Ein höherer Schwerpunkt mal Note verschiebt die Verteilung zu größeren Schritten.
|
||||
- Platzqualität wirkt auf Technik und Form, Fitness auf Kondition, Verpflegung auf Moral, Unterkunft auf Eingespieltheit und Frische.
|
||||
- Trainingsobergrenze je Wert: Zufall 83–87; die beiden teuersten Classic-Lager (Index ab 6) heben sie um 1.
|
||||
- Ältere Spieler trainieren seltener (Chance sinkt ab 14 Jahren Rohalter in Zehnerschritten).
|
||||
|
||||
## Modern: Katalog aus den Daten
|
||||
|
||||
Der Katalog steht im Modern-Datensatz unter `rules.training_camps`. Fehlt er,
|
||||
gilt die in die Engine eingebaute Vorgabe (`src/modern/game/training_camps.cpp`) mit den
|
||||
18 fiktiven Lagern der Oberfläche.
|
||||
|
||||
Der Katalog erweitert die bestehende Regel `rule:training-camps` (Liste
|
||||
`resorts`); das genaue Format und die Aufgaben für den Editor stehen in
|
||||
[Datenformat F4](datenformat.md#f4--trainingslager). Ein Eintrag:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "resort:4",
|
||||
"base_price": 485000,
|
||||
"quality": [4, 4, 4, 4],
|
||||
"map": "map:eu",
|
||||
"x": null,
|
||||
"y": null,
|
||||
"name": {"default": "Sportzentrum Groningen"},
|
||||
"place": {"default": "Groningen"},
|
||||
"country": "nation:nl"
|
||||
}
|
||||
```
|
||||
|
||||
- `quality`: Platz, Fitness, Verpflegung, Unterkunft, je 0–6.
|
||||
- `map`: immer gesetzt, `map:de` (Deutschland), `map:eu` (Europa) oder `map:me` (Naher Osten); weitere Karten können später hinzukommen.
|
||||
- `x`, `y`: Lage auf der Karte in deren Koordinatensystem; bis die Oberfläche die Kartenmaße festlegt `null`.
|
||||
- Die IDs `resort:0` bis `resort:17` entsprechen den IDs 0–17 der Oberfläche und werden nicht neu sortiert.
|
||||
- Standardkarten und Resortbilder liefert die GUI anhand dieser IDs; sie sind keine Pflichtdateien im OBW-Paket. Das optionale Feld `image` ist nur für ein ausdrücklich im Datensatz geliefertes Bild vorgesehen ([GUI-/Welt-Trennung](../new_ui/assets.md)).
|
||||
- Preis, Grenzen und Schwerpunkte bleiben wie in Classic.
|
||||
|
||||
## Die 6-Sterne-Stufe
|
||||
|
||||
Ziel: spürbar besser als 5 Sterne, aber nicht übermächtig. Die Lager des Nahen
|
||||
Ostens kosten 2,8–3,6 Mio. € gegenüber höchstens 0,92 Mio. € in Europa.
|
||||
|
||||
1. **Normale Skalierung, gedeckelt:** Die Note 6 geht wie jede andere in `scaled()` ein. Der Zufallsindex wird auf das Tabellenende begrenzt, sodass kein Einzelschritt größer als +5 wird. Bei vollem Schwerpunkt gleicht das 5 Sternen; bei mittlerem Schwerpunkt fällt die Verteilung etwas günstiger aus. Moral steigt um 14 statt 12.
|
||||
2. **Höheres Leistungsdach:** Das bisherige Premium-Merkmal „Index ab 6“ wird zu „Platzqualität mindestens 5“ (+1 auf die Trainingsobergrenze). Haben Platz und Fitness beide 6 Sterne, kommt ein weiterer Punkt hinzu (+2 insgesamt). Spitzenspieler können damit etwas höher trainiert werden, aber nicht über 99.
|
||||
3. **Regeneration:** Bei 6 Sternen Unterkunft verkürzt sich die Restdauer jeder laufenden Verletzung im Kader einmalig um eine Woche (nicht unter eine Woche). Bei 6 Sternen Verpflegung erhält jeder Spieler zusätzlich bis zu +1 Kondition (höchstens bis zur Obergrenze).
|
||||
|
||||
Prüfung in M4 und M7: Ein Spitzenteam, das pro Saison dreimal ein
|
||||
6-Sterne-Lager bucht, verbessert sich gegenüber drei 5-Sterne-Aufenthalten im
|
||||
Schnitt höchstens um etwa einen Tabellenplatz. Andernfalls werden die Punkte 2
|
||||
und 3 abgeschwächt. Das Ergebnis wird hier und in [DIFFERENCES](../DIFFERENCES.md) festgehalten.
|
||||
|
||||
## Umsetzung (M4, Stand 24. Oktober 2026)
|
||||
|
||||
- Katalog in `ModernState::camp_maps` und `ModernState::training_camps` (`src/modern/game/training_camps.hpp`); Index = Lager-Index der Buchung.
|
||||
- Preis, Buchung und Wirkung in `src/modern/game/desk_actions.cpp` (`training_camp_price`, `book_training_camp`, `training_camp_effect`).
|
||||
- Die 6-Sterne-Regeln sind wie oben umgesetzt: Stufenindex auf das Tabellenende gedeckelt, Leistungsdach +1 ab Platz 5 und +1 bei Platz und Fitness 6, Verpflegung 6 bis +1 Kondition, Unterkunft 6 eine Woche weniger Verletzung.
|
||||
- Mit Classic-Daten unverändert: Nur die Original-Lager 6 und 7 haben Platz 5, das alte Kriterium „Index ab 6“ trifft dieselben Lager.
|
||||
- Test: `modern_camp_tests` (Katalog, Deckelung, Verpflegung, Unterkunft, Vereinsnummer, Bundestrainer-Schreibtisch).
|
||||
- Fehler behoben bei den Balance-Läufen:
|
||||
- `ModernSession::dispatch_training_camp` ließ nur die Lager 0–7 zu (Classic-Konstante); jetzt alle Lager des Katalogs.
|
||||
- Der Verein des Managers wurde wie im Original als vorzeichenbehaftetes Byte gelesen (Vereine über 127 wurden negativ). Modern liest das ganze Wort (`manager_club`).
|
||||
- Am Schreibtisch des Bundestrainers nennt der Managerdatensatz die Nationalmannschaft; dort ist kein Lager buchbar (`invalid_request`).
|
||||
- Saisonwirkung gemessen (M7, [Balance](balance.md#trainingslager)): 6 Sterne bringen gegenüber 5 Sternen etwa +0,8 Tabellenplätze; keine Abschwächung nötig. Offen: die Projektion für die UI (M6).
|
||||
|
||||
## Exklusiv-Sponsor
|
||||
|
||||
Die drei Lager im Nahen Osten haben dieselben Qualitäten, kosten aber 2,8 / 3,2 / 3,6 Mio. €. Damit das teurere Lager einen Grund hat, kann ein Aufenthalt einen Exklusiv-Sponsor bringen (abgestimmt am 25.10.2026):
|
||||
|
||||
- **Chance je Aufenthalt:** Doha 15 %, Abu Dhabi 30 %, Dubai 45 % (`sponsor_chance`, [Datenformat F4](datenformat.md#f4--trainingslager)). Jedes Lager kann im Editor eine Chance bekommen.
|
||||
- **Angebot:** Trikotwerbung (etwa jedes dritte Angebot) oder ein Paket aus vier Banden, zum 1,5-fachen besten regulären Angebot des Vereins (`sponsor_bonus` 150 %, abgestimmt nach der Messung; reguläre Angebote: Banden bis 124 %, Trikot bis 116 % eines Grundwerts, je +25 %), Laufzeit 12 Monate (`sponsor_months`). Der Sponsorname ist einer der vorhandenen Werbepartner. Es kommt eine Post.
|
||||
- **Antwort:** Ist die Fläche frei (Trikot ohne laufenden Vertrag, genug freie Banden), beginnt der Vertrag sofort. Sonst wird er als Anschlussvertrag vorgemerkt und startet beim Monatswechsel, sobald die Fläche frei ist (ein Vertrag mit offener Verlängerungsoption muss vorher entschieden sein). Ablehnen: Das Angebot verfällt. Pro Manager gibt es höchstens ein offenes Angebot oder einen vorgemerkten Vertrag.
|
||||
- **Messung (Bundesliga-Spitzenverein):** Mit 200 % brachte ein Banden-Angebot rund 100.000–111.000 € je Bande und Monat (etwa 5 Mio. € im Jahr für vier Banden; das reguläre Bestangebot liegt bei etwa der Hälfte), Dubai lohnte sich damit im Schnitt deutlich. Mit 150 % sind es etwa 3,8 Mio. € im Jahr; Dubai ist im Schnitt etwa ausgeglichen, mit Glück deutlich im Plus.
|
||||
- **Umsetzung:** `roll_exclusive_sponsor`, `answer_exclusive_sponsor`, `start_queued_exclusive_sponsor` (`desk_actions.*`); das Angebot läuft über die reguläre Werbeannahme (`accept_advertising_offer`), damit Banden, Sortierung und Gruppen-IDs den Originalregeln folgen. Zustand `ModernState::exclusive_sponsors`, gespeichert in `state/modern.json`. Test: `modern_camp_tests`; Sim: `SIM_CAMP=16 SIM_SPONSOR=1`.
|
||||
- **Offen: Assets.** Für die Exklusiv-Sponsoren gibt es noch keine Grafiken (Logo, Trikot- oder Bandenmotiv). Die Lese-Abfrage liefert `asset: null`; UI und Datensatz müssen die Motive noch festlegen. Ebenso gibt es für die Post noch keinen Textkatalog (der Text steht vorläufig in der Engine).
|
||||
|
||||
## Für die Oberfläche
|
||||
|
||||
Die Modern-Session liefert Katalog, Buchungsstand (Aufenthalte dieser Saison,
|
||||
Buchung diese Woche), aktuelle Schwerpunkte und den Preis für den eigenen Kader.
|
||||
Aktionen: Schwerpunkte setzen, Lager buchen. Einzelheiten in der
|
||||
[UI-Schnittstelle](ui-schnittstelle.md#trainingslager).
|
||||
|
||||
Exklusiv-Sponsor: Lese-Abfrage `{kind: "sponsor"}` über `ModernSession::read` (`offer` und `queued` je `{kind: shirt|boards, boards, monthly, months, sponsor, asset, camp}` oder `null`), Antwort über `ModernSession::dispatch_exclusive_sponsor(manager, accept, …)` mit Ergebnis `started`, `queued` oder `declined`.
|
||||
@@ -0,0 +1,93 @@
|
||||
# Abfragen für die neue Oberfläche (M6)
|
||||
|
||||
Vereinbarter Ablauf: Die neue Oberfläche wird **je Menü** an die Modern-Engine angebunden. Jedes Menü bekommt feste Abfragen (und später Aktionen), die die Engine baut und hier dokumentiert; Codex stellt Menü für Menü vom Demo auf die Abfrage um. Die Demo bleibt nutzbar.
|
||||
|
||||
**Reihenfolge:** Zuerst wird die GUI mit Demodaten fertig gebaut. Danach legt Codex je Menü fest, welche Daten es braucht, und die Engine liefert die passende Abfrage. Später soll alles auf ein durchgehendes JSON-Format umgestellt werden; die Antworten verwenden deshalb schon jetzt überall dieselben Teilobjekte, damit sie sich zu einem gemeinsamen JSON-Zustand zusammensetzen lassen.
|
||||
|
||||
## Vertrag
|
||||
|
||||
- Einstieg: `ModernSession::read(request)`, Anfrage und Antwort sind JSON (`cli::Json`). Die Antwort ist `{ok: true, …}` oder `{ok: false, error}`.
|
||||
- Nur lesend: keine Zufallszahlen, keine Änderung am Spiel, keine neue Revision.
|
||||
- Abfragen für den Manager am Schreibtisch (`ActiveManager`).
|
||||
- Gemeinsame Teilobjekte (in allen Antworten gleich):
|
||||
- `club`: `{id, name, short}` (Welt-ID, UTF-8)
|
||||
- `player`: `{id, name}` (stabile Spieler-ID, Vor- und Nachname)
|
||||
- `league`: `{index, id, name}`
|
||||
- Datum ISO `YYYY-MM-DD`, Saison `"2026/27"`, Geld in Euro als ganze Zahl.
|
||||
|
||||
## Grundabfragen (Stand 24.10.2026)
|
||||
|
||||
| Anfrage | Antwort |
|
||||
|---|---|
|
||||
| `{kind: "status"}` | `manager {index, name}`, `club` (oder `null`, z. B. am Bundestrainer-Schreibtisch), `league`, `place`, `date`, `season`, `money` |
|
||||
| `{kind: "leagues"}` | `leagues: [{index, id, name, clubs, matchdays, played}]` |
|
||||
| `{kind: "table", league}` | `league`, `played`, `rows: [{rank, club, played, won, drawn, lost, goals_for, goals_against, points}]` (aktueller Stand, mit Punktabzug) |
|
||||
| `{kind: "fixtures", league, matchday?}` | `league`, `matchday`, `matches: [{id, home, away, result: [h, a] \| null, status: open \| played \| postponed \| rescheduled \| unavailable}]`; ohne `matchday` der nächste; nur `played` enthält Torzahlen |
|
||||
| `{kind: "toto"}` | Tippschein des Spieltags und eigene Spalten, siehe [Toto](toto.md) |
|
||||
| `{kind: "sponsor"}` | Exklusiv-Sponsor aus einem Trainingslager: offenes Angebot und vorgemerkter Vertrag, siehe [Trainingslager](trainingslager.md#exklusiv-sponsor) |
|
||||
| `{kind: "squad", club?}` | `club`, `players: [{slot, player, nation, position (gk/def/mid/fwd), age, technique, condition, form, strength, skills {teamplay, speed, shooting, passing, tackling, free_kick, corner}, lineup (start/bench/none), injured_weeks, banned_weeks}]`; ohne `club` der eigene Verein, sonst Welt-ID oder Laufzeitindex |
|
||||
| `competitions`, `winners`, `player_stats` | siehe [Spielstatistik](statistik.md) |
|
||||
|
||||
`league` darf der Ligaindex (0–8) oder die Liga-ID der Welt sein. Fehler: `invalid_request`, `invalid_manager`, `invalid_league`, `invalid_matchday`, `invalid_club`, `unavailable`.
|
||||
|
||||
Code: `src/modern/content/projections.hpp/.cpp`. Prüfen: `MODERN_STATS=1 modern_season_sim <welt.obw> 20 0 1` zeigt Beispielanfragen und Antworten.
|
||||
|
||||
## Nächste Schritte
|
||||
|
||||
- Je Menü der fertigen GUI: Codex nennt die benötigten Felder (am einfachsten als Beispiel-JSON aus der Demo), die Engine baut die Abfrage, beide Seiten testen gegen dasselbe Beispiel.
|
||||
- Aktionen (`ModernSession::apply`) nach demselben Muster, mit Revision wie bei den bestehenden Desk-Aktionen.
|
||||
|
||||
## Aktive Pokalansichten für RmlUI
|
||||
|
||||
`ui_read {kind: "other-index"}` liefert mit Snapshot-Hülle `views` und
|
||||
`defaultViewId`. Jede Ansicht enthält `id`, `name`, `competition`, `page`,
|
||||
`entry`, `rounds`, `currentRound`, `knockout`, `twoLegs`. Der Katalog folgt
|
||||
`ActiveSelectors` und den Gruppen-/Phasenlinks der vorhandenen Core-Projektion.
|
||||
|
||||
`ui_read {kind: "other-fixtures", viewId, round?}` liefert diese Metadaten
|
||||
sowie `viewId`, `round`, `heading`, `available`, `reason`, `matches`.
|
||||
`name` bezeichnet hier den Wettbewerb; Gruppen-/Phasenzusätze stehen in der
|
||||
Überschrift und im ausführlichen Pickernamen des Index.
|
||||
Ohne `round` gilt die aktuelle Core-Runde; explizite Runden beginnen bei 1.
|
||||
Jede Paarung hat `id`, `home`, `away`, `status`, `result`, `phase`, `secondLeg`,
|
||||
`secondLegPhase`, `secondLegVisible`, `date`, `homeHasSquad`, `awayHasSquad`.
|
||||
Nur `played` enthält `result: [Heimtore, Auswärtstore]`. `open` und `scheduled`
|
||||
enthalten `null`; letztere können ein ISO-Datum haben. `secondLeg` verwendet
|
||||
dieselben angezeigten Seiten, obwohl die gespeicherte zweite Partie vertauscht
|
||||
liegt. `phase` ist der gespeicherte Pokalmarker (0 normal, 1 Verlängerung,
|
||||
2 Elfmeterschießen), kein rekonstruierter Phasen-Teilstand. `available: false`
|
||||
enthält keine Paarungen; `reason` ist `round_pending` oder `stage_pending`.
|
||||
Ungültige Ansichten/Runden und fehlende Core-Daten werden abgewiesen.
|
||||
|
||||
## Spielerstatistiken und Fairplay
|
||||
|
||||
`ui_read {kind: "player-rankings", leagueId, scope: 0|1}` liefert `kind`,
|
||||
`requestLeagueId`, tatsächliche `leagueId`, `scope`, `season`, `team` und
|
||||
`categories` (Tore, Vorlagen, Gelb, Rot). Jede Liste enthält nur positive Werte
|
||||
und wird vom Engine-Provider sortiert, einschließlich Gleichstandsplätzen.
|
||||
Zeilen: `rank`, `player {id,name}`, `club {id,name}`, `appearances`, `goals`,
|
||||
`assists`, `yellow`, `second_yellow`, `red`, `value`, `photoAssetId`, `currentTeam`.
|
||||
`currentTeam` ist eine aktuelle Teamreferenz oder null; club bezeichnet den Verein
|
||||
des letzten ausgewerteten Einsatzes. scope 1 zählt nur Beiträge für den eigenen
|
||||
Verein und verwendet dessen Liga; requestLeagueId bewahrt die UI-Ligavorliebe.
|
||||
|
||||
`ui_read {kind: "fairplay"}` liefert die laufende Saison und erste deutsche
|
||||
Liga, `weights {yellow:1,red:4}`, `recordedMatches` und `rows` mit `rank`,
|
||||
`team {id,name}`, `yellow`, `red`, `points`. Rot zählt Rot plus Gelb-Rot;
|
||||
Gelb zählt ausdrücklich aufgezeichnete Gelbereignisse. Alle aktuellen Vereine
|
||||
sind enthalten. Die Gewichtung ist eine Anzeigeauswertung, keine Disziplinarregel.
|
||||
|
||||
Beide Reads sind rein und revisionsgebunden. Es gibt keinen Demoersatz bei
|
||||
leeren Kategorien und keine erfundenen Fotos/Profilwerte. OBW und Editor bleiben
|
||||
unverändert.
|
||||
|
||||
## Saisonvorbereitung nach Neuanlage
|
||||
|
||||
`ui_read {kind: "opening"}` liefert `enabled`, `showEntrants`, `entrants`
|
||||
mit `uefa`/`champions`/`winners` (je Teamreferenzen), `order` (abwechselnd Heim/
|
||||
Auswärts der tatsächlichen DFB-Erstrundenpaarungen) und passende `fixtureIds`.
|
||||
Die übliche Snapshot-Hülle bindet an Karriere, Welt, Manager und Revision.
|
||||
Quelle sind die aktiven Europapokal-Listen der Engine und die vorhandene
|
||||
Pokalprojektion; Original-Pixel-Platzierungstabellen werden nicht benötigt. Die Abfrage
|
||||
initialisiert oder würfelt nichts. Die native UI verwendet sie direkt nach
|
||||
Neuanlage; ein späteres Laden erzeugt keine weitere Karriere.
|
||||