1672 lines
35 KiB
CSS
1672 lines
35 KiB
CSS
/* ==========================================================================
|
|
Stat2TV tournament navigation / v19
|
|
========================================================================== */
|
|
|
|
.hockey-tournament-button {
|
|
gap: 7px;
|
|
}
|
|
.hockey-tournament-button span {
|
|
color: #58dfc0;
|
|
font-size: 14px;
|
|
}
|
|
.hockey-selected-chip {
|
|
max-width: 290px;
|
|
min-height: 32px;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0,1fr);
|
|
align-items: center;
|
|
gap: 7px;
|
|
padding: 4px 10px;
|
|
color: #dce9f8;
|
|
border: 1px solid rgba(72,223,189,.28);
|
|
border-radius: 9px;
|
|
background: rgba(72,223,189,.065);
|
|
cursor: pointer;
|
|
}
|
|
.hockey-selected-chip > span {
|
|
color: #57dfbf;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-selected-chip > strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
font-size: 10px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-navigation-root {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9000;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
.hockey-navigation-root.open {
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
}
|
|
.hockey-navigation-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(3,9,16,.58);
|
|
opacity: 0;
|
|
backdrop-filter: blur(3px);
|
|
transition: opacity .2s ease;
|
|
}
|
|
.hockey-navigation-root.open .hockey-navigation-backdrop {
|
|
opacity: 1;
|
|
}
|
|
.hockey-navigation-drawer {
|
|
position: absolute;
|
|
inset: 0 auto 0 0;
|
|
width: min(455px,94vw);
|
|
display: grid;
|
|
grid-template-rows: auto auto minmax(0,1fr);
|
|
color: #dfeaf7;
|
|
border-right: 1px solid #304860;
|
|
background:
|
|
radial-gradient(circle at 20% 0%,rgba(72,223,189,.09),transparent 34%),
|
|
linear-gradient(180deg,#101d2d,#07111e 58%,#07101b);
|
|
box-shadow: 30px 0 70px rgba(0,0,0,.42);
|
|
transform: translateX(-102%);
|
|
transition: transform .23s cubic-bezier(.2,.8,.2,1);
|
|
}
|
|
.hockey-navigation-root.open .hockey-navigation-drawer {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.hockey-nav-head {
|
|
min-height: 70px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
padding: 14px 15px;
|
|
border-bottom: 1px solid #263b51;
|
|
background: rgba(13,25,41,.92);
|
|
}
|
|
.hockey-nav-head > div:first-child {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
.hockey-nav-head small {
|
|
color: #56dcbc;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .13em;
|
|
}
|
|
.hockey-nav-head strong {
|
|
font-size: 19px;
|
|
}
|
|
.hockey-nav-head-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
.hockey-language-switch {
|
|
display: flex;
|
|
padding: 3px;
|
|
border: 1px solid #2b435c;
|
|
border-radius: 9px;
|
|
background: #081523;
|
|
}
|
|
.hockey-language-switch button {
|
|
min-width: 36px;
|
|
min-height: 29px;
|
|
color: #70859f;
|
|
border: 0;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
font-size: 9px;
|
|
font-weight: 950;
|
|
}
|
|
.hockey-language-switch button.active {
|
|
color: #07130f;
|
|
background: #4adfbe;
|
|
box-shadow: 0 0 16px rgba(72,223,189,.20);
|
|
}
|
|
.hockey-nav-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #9db0c6;
|
|
border: 1px solid #2d455e;
|
|
border-radius: 9px;
|
|
background: #0b1828;
|
|
cursor: pointer;
|
|
font-size: 15px;
|
|
}
|
|
.hockey-nav-icon:hover {
|
|
color: #f3f7fb;
|
|
border-color: #466582;
|
|
}
|
|
|
|
.hockey-connection-bar {
|
|
min-height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 15px;
|
|
color: #91a3b8;
|
|
border-bottom: 1px solid #21354b;
|
|
background: rgba(8,17,29,.72);
|
|
}
|
|
.hockey-connection-bar > span {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #e2a759;
|
|
box-shadow: 0 0 12px rgba(226,167,89,.34);
|
|
}
|
|
.hockey-connection-bar.connected > span {
|
|
background: #48dfbd;
|
|
box-shadow: 0 0 12px rgba(72,223,189,.48);
|
|
}
|
|
.hockey-connection-bar strong {
|
|
font-size: 9px;
|
|
letter-spacing: .035em;
|
|
}
|
|
|
|
.hockey-nav-tabs {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 5px;
|
|
padding: 10px 13px 6px;
|
|
}
|
|
.hockey-nav-tabs button {
|
|
min-height: 35px;
|
|
color: #8398b0;
|
|
border: 1px solid #293f57;
|
|
border-radius: 9px;
|
|
background: rgba(10,22,37,.7);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
}
|
|
.hockey-nav-tabs button.active {
|
|
color: #eaf4ff;
|
|
border-color: rgba(72,223,189,.34);
|
|
background: rgba(72,223,189,.09);
|
|
}
|
|
|
|
.hockey-nav-search {
|
|
margin: 6px 13px 8px;
|
|
display: grid;
|
|
grid-template-columns: 27px minmax(0,1fr);
|
|
align-items: center;
|
|
min-height: 42px;
|
|
padding: 0 9px;
|
|
border: 1px solid #30485f;
|
|
border-radius: 11px;
|
|
background: #081523;
|
|
}
|
|
.hockey-nav-search > span {
|
|
color: #5edfc2;
|
|
font-size: 18px;
|
|
}
|
|
.hockey-nav-search input {
|
|
width: 100%;
|
|
color: #eef5fd;
|
|
border: 0;
|
|
background: transparent;
|
|
outline: none;
|
|
font-size: 11px;
|
|
}
|
|
.hockey-nav-search input::placeholder {
|
|
color: #667c95;
|
|
}
|
|
|
|
.hockey-nav-filters {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
gap: 7px;
|
|
padding: 0 13px 9px;
|
|
}
|
|
.hockey-nav-filters label {
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
.hockey-nav-filters label > span {
|
|
color: #6f849c;
|
|
font-size: 7px;
|
|
font-weight: 950;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-nav-filters select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
min-height: 34px;
|
|
color: #d8e5f3;
|
|
border: 1px solid #2d445d;
|
|
border-radius: 8px;
|
|
background: #0a1727;
|
|
padding: 0 7px;
|
|
font-size: 9px;
|
|
outline: none;
|
|
}
|
|
|
|
.hockey-nav-summary {
|
|
min-height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 0 14px;
|
|
color: #6f849d;
|
|
border-top: 1px solid #203349;
|
|
border-bottom: 1px solid #203349;
|
|
background: rgba(8,18,30,.68);
|
|
}
|
|
.hockey-nav-summary span {
|
|
font-size: 8px;
|
|
font-weight: 900;
|
|
letter-spacing: .07em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-nav-summary strong {
|
|
color: #9eb1c7;
|
|
font-size: 9px;
|
|
}
|
|
|
|
.hockey-nav-list {
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 10px 10px 18px;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #36506b transparent;
|
|
}
|
|
.hockey-league-group {
|
|
margin-bottom: 10px;
|
|
overflow: hidden;
|
|
border: 1px solid #263c54;
|
|
border-radius: 12px;
|
|
background: rgba(10,21,35,.72);
|
|
}
|
|
.hockey-league-group > header {
|
|
min-height: 38px;
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0,1fr) auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 0 9px;
|
|
border-bottom: 1px solid #24394f;
|
|
background: linear-gradient(90deg,rgba(72,223,189,.065),transparent);
|
|
}
|
|
.hockey-league-group > header > span {
|
|
min-width: 36px;
|
|
padding: 4px 6px;
|
|
color: #07130f;
|
|
border-radius: 6px;
|
|
background: #4adfbe;
|
|
font-size: 7px;
|
|
font-weight: 950;
|
|
text-align: center;
|
|
}
|
|
.hockey-league-group > header > strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #d7e4f2;
|
|
font-size: 10px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-league-group > header > i {
|
|
min-width: 23px;
|
|
color: #8297af;
|
|
border-radius: 999px;
|
|
background: #1e3147;
|
|
font-size: 8px;
|
|
font-style: normal;
|
|
font-weight: 900;
|
|
line-height: 22px;
|
|
text-align: center;
|
|
}
|
|
.hockey-league-group > div {
|
|
display: grid;
|
|
gap: 1px;
|
|
}
|
|
|
|
.hockey-tournament-card {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: 78px;
|
|
display: grid;
|
|
align-content: center;
|
|
gap: 4px;
|
|
padding: 10px 38px 10px 11px;
|
|
color: #d8e4f1;
|
|
border: 0;
|
|
border-bottom: 1px solid #203449;
|
|
background: rgba(8,18,31,.52);
|
|
cursor: pointer;
|
|
text-align: left;
|
|
}
|
|
.hockey-tournament-card:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
.hockey-tournament-card:hover {
|
|
background: rgba(72,223,189,.055);
|
|
}
|
|
.hockey-tournament-card.selected {
|
|
background:
|
|
linear-gradient(90deg,rgba(72,223,189,.13),rgba(72,223,189,.02));
|
|
}
|
|
.hockey-tournament-card.selected::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 7px auto 7px 0;
|
|
width: 3px;
|
|
border-radius: 3px;
|
|
background: #4adfbe;
|
|
}
|
|
.hockey-tournament-stage {
|
|
color: #57dabb;
|
|
font-size: 7px;
|
|
font-weight: 950;
|
|
letter-spacing: .07em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-tournament-card > strong {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
color: #e1ecf8;
|
|
font-size: 10px;
|
|
line-height: 1.35;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
}
|
|
.hockey-tournament-card > small {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #6f849c;
|
|
font-size: 8px;
|
|
}
|
|
.hockey-tournament-card > small b {
|
|
color: #9dafc3;
|
|
}
|
|
.hockey-tournament-card > i {
|
|
position: absolute;
|
|
right: 12px;
|
|
top: 50%;
|
|
width: 23px;
|
|
height: 23px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #7288a1;
|
|
border: 1px solid #2c435b;
|
|
border-radius: 7px;
|
|
background: #0b1828;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
transform: translateY(-50%);
|
|
}
|
|
.hockey-tournament-card.selected > i {
|
|
color: #07130f;
|
|
border-color: #4adfbe;
|
|
background: #4adfbe;
|
|
}
|
|
|
|
.hockey-nav-footer {
|
|
min-height: 57px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 7px;
|
|
padding: 9px 13px;
|
|
border-top: 1px solid #263c53;
|
|
background: rgba(10,21,35,.96);
|
|
}
|
|
.hockey-nav-footer .btn:first-child {
|
|
margin-right: auto;
|
|
}
|
|
|
|
.hockey-nav-empty {
|
|
min-height: 150px;
|
|
display: grid;
|
|
place-content: center;
|
|
gap: 5px;
|
|
padding: 20px;
|
|
color: #7f93aa;
|
|
border: 1px dashed #30475f;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
}
|
|
.hockey-nav-empty strong {
|
|
color: #b9c8d8;
|
|
font-size: 11px;
|
|
}
|
|
.hockey-nav-empty p {
|
|
margin: 0;
|
|
font-size: 9px;
|
|
}
|
|
.hockey-nav-empty.error {
|
|
color: #d9929f;
|
|
border-color: rgba(255,102,125,.28);
|
|
}
|
|
.hockey-nav-skeleton {
|
|
min-height: 69px;
|
|
display: grid;
|
|
grid-template-columns: 38px minmax(0,1fr);
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 8px;
|
|
border-bottom: 1px solid #203349;
|
|
}
|
|
.hockey-nav-skeleton > i,
|
|
.hockey-nav-skeleton b,
|
|
.hockey-nav-skeleton span {
|
|
display: block;
|
|
border-radius: 7px;
|
|
background: linear-gradient(90deg,#14263a,#20364d,#14263a);
|
|
background-size: 220% 100%;
|
|
animation: hockey-skeleton 1.1s infinite linear;
|
|
}
|
|
.hockey-nav-skeleton > i {
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
.hockey-nav-skeleton > div {
|
|
display: grid;
|
|
gap: 7px;
|
|
}
|
|
.hockey-nav-skeleton b {
|
|
width: 88%;
|
|
height: 11px;
|
|
}
|
|
.hockey-nav-skeleton span {
|
|
width: 55%;
|
|
height: 8px;
|
|
}
|
|
@keyframes hockey-skeleton {
|
|
to { background-position: -220% 0; }
|
|
}
|
|
|
|
/* Settings modal */
|
|
.hockey-settings-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9800;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
.hockey-settings-backdrop {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: rgba(3,9,16,.68);
|
|
backdrop-filter: blur(4px);
|
|
}
|
|
.hockey-settings-card {
|
|
position: relative;
|
|
width: min(720px,94vw);
|
|
max-height: 92vh;
|
|
overflow: auto;
|
|
color: #dce8f5;
|
|
border: 1px solid #354f69;
|
|
border-radius: 16px;
|
|
background:
|
|
radial-gradient(circle at 15% 0%,rgba(72,223,189,.09),transparent 35%),
|
|
#0d1929;
|
|
box-shadow: 0 28px 80px rgba(0,0,0,.48);
|
|
}
|
|
.hockey-settings-card > header {
|
|
min-height: 65px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 12px 15px;
|
|
border-bottom: 1px solid #2b425a;
|
|
}
|
|
.hockey-settings-card > header > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
.hockey-settings-card > header small {
|
|
color: #54dbba;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .12em;
|
|
}
|
|
.hockey-settings-card > header strong {
|
|
font-size: 17px;
|
|
}
|
|
.hockey-settings-card > header button {
|
|
width: 36px;
|
|
height: 36px;
|
|
color: #9db0c5;
|
|
border: 1px solid #2f475f;
|
|
border-radius: 9px;
|
|
background: #0a1726;
|
|
cursor: pointer;
|
|
font-size: 17px;
|
|
}
|
|
.hockey-settings-body {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
padding: 15px;
|
|
}
|
|
.hockey-settings-body label {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
.hockey-settings-body .wide {
|
|
grid-column: 1 / 3;
|
|
}
|
|
.hockey-settings-body label > span {
|
|
color: #7f94ad;
|
|
font-size: 8px;
|
|
font-weight: 900;
|
|
letter-spacing: .06em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-settings-body input,
|
|
.hockey-settings-body select {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
color: #e7f0fa;
|
|
border: 1px solid #314a64;
|
|
border-radius: 10px;
|
|
background: #081522;
|
|
padding: 0 10px;
|
|
outline: none;
|
|
}
|
|
.hockey-settings-body input:focus,
|
|
.hockey-settings-body select:focus {
|
|
border-color: #48dfbd;
|
|
box-shadow: 0 0 0 3px rgba(72,223,189,.08);
|
|
}
|
|
.hockey-settings-body label.check {
|
|
grid-template-columns: auto minmax(0,1fr);
|
|
align-items: center;
|
|
}
|
|
.hockey-settings-body label.check input {
|
|
width: 17px;
|
|
min-height: 17px;
|
|
}
|
|
.hockey-settings-body p {
|
|
margin: 0;
|
|
color: #6f839b;
|
|
font-size: 9px;
|
|
line-height: 1.5;
|
|
}
|
|
.hockey-settings-card > footer {
|
|
min-height: 61px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 15px;
|
|
border-top: 1px solid #2a4057;
|
|
}
|
|
.hockey-settings-card > footer > span {
|
|
flex: 1;
|
|
color: #55ddbd;
|
|
font-size: 9px;
|
|
text-align: center;
|
|
}
|
|
.hockey-settings-card > footer > span.error {
|
|
color: #f49aaa;
|
|
}
|
|
|
|
/* Local module toast */
|
|
.hockey-module-toast {
|
|
position: fixed;
|
|
right: 18px;
|
|
bottom: 18px;
|
|
z-index: 10050;
|
|
max-width: min(430px,calc(100vw - 36px));
|
|
padding: 11px 14px;
|
|
color: #eaf5ff;
|
|
border: 1px solid rgba(72,223,189,.36);
|
|
border-radius: 11px;
|
|
background: linear-gradient(145deg,#14283b,#0a1725);
|
|
box-shadow: 0 16px 42px rgba(0,0,0,.42);
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transform: translateY(10px);
|
|
transition: .18s ease;
|
|
}
|
|
.hockey-module-toast.show {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
.hockey-module-toast.error {
|
|
border-color: rgba(255,102,125,.40);
|
|
background: linear-gradient(145deg,#35202a,#1b121a);
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.hockey-selected-chip {
|
|
display: none;
|
|
}
|
|
.hockey-nav-filters {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.hockey-settings-body {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.hockey-settings-body .wide {
|
|
grid-column: 1;
|
|
}
|
|
.hockey-nav-footer {
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
/* v19.1: tournament controls in the editor topbar */
|
|
.topbar .top-actions > .hockey-tournament-button {
|
|
order: -20;
|
|
flex: 0 0 auto;
|
|
}
|
|
.topbar .top-actions > .hockey-selected-chip {
|
|
order: -19;
|
|
flex: 0 1 260px;
|
|
}
|
|
@media (max-width: 1350px) {
|
|
.topbar .top-actions > .hockey-selected-chip { display: none; }
|
|
}
|
|
|
|
|
|
/* ==========================================================================
|
|
v20 — tournament → date → game
|
|
========================================================================== */
|
|
|
|
.hockey-selected-chip {
|
|
min-width: 220px;
|
|
}
|
|
.hockey-selected-chip.placeholder {
|
|
border-style: dashed;
|
|
border-color: #36506a;
|
|
background: rgba(11,22,37,.75);
|
|
}
|
|
.hockey-selected-chip.placeholder > span {
|
|
color: #758ba4;
|
|
}
|
|
.hockey-selected-chip.polling {
|
|
border-color: rgba(72,223,189,.36);
|
|
background:
|
|
linear-gradient(90deg,rgba(72,223,189,.10),rgba(72,223,189,.035));
|
|
}
|
|
.hockey-selected-chip.polling > span {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
.hockey-selected-chip.polling > span > i {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
background: #48dfbd;
|
|
box-shadow: 0 0 10px rgba(72,223,189,.62);
|
|
animation: hockey-live-pulse 1s ease-in-out infinite;
|
|
}
|
|
.hockey-selected-chip.finished {
|
|
color: #a7b5c6;
|
|
border-color: #34485f;
|
|
background: rgba(89,108,130,.08);
|
|
}
|
|
.hockey-selected-chip.finished > span {
|
|
color: #8da0b6;
|
|
}
|
|
@keyframes hockey-live-pulse {
|
|
0%,100% { opacity: .42; transform: scale(.85); }
|
|
50% { opacity: 1; transform: scale(1.18); }
|
|
}
|
|
|
|
.hockey-nav-head {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0,1fr) auto;
|
|
}
|
|
.hockey-nav-back {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #b4c5d8;
|
|
border: 1px solid #2f485f;
|
|
border-radius: 9px;
|
|
background: #091725;
|
|
cursor: pointer;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
}
|
|
.hockey-nav-title {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
.hockey-nav-title strong {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hockey-tournament-view,
|
|
.hockey-games-view {
|
|
min-height: 0;
|
|
display: grid;
|
|
}
|
|
.hockey-tournament-view {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
grid-template-rows: auto auto auto auto auto minmax(0,1fr) auto;
|
|
}
|
|
.hockey-games-view {
|
|
grid-template-rows: auto auto auto auto minmax(0,1fr) auto;
|
|
}
|
|
|
|
.hockey-selected-tournament {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 12px 14px;
|
|
border-bottom: 1px solid #253b52;
|
|
background:
|
|
linear-gradient(90deg,rgba(72,223,189,.085),transparent);
|
|
}
|
|
.hockey-selected-tournament > span {
|
|
color: #50d8b8;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .075em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-selected-tournament > strong {
|
|
color: #e6eff9;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
}
|
|
.hockey-selected-tournament > small {
|
|
color: #8296ad;
|
|
font-size: 8px;
|
|
}
|
|
|
|
.hockey-game-date-nav {
|
|
display: grid;
|
|
grid-template-columns: 38px minmax(0,1fr) auto 38px;
|
|
align-items: end;
|
|
gap: 7px;
|
|
padding: 11px 13px;
|
|
border-bottom: 1px solid #22374d;
|
|
background: rgba(7,16,27,.62);
|
|
}
|
|
.hockey-game-date-nav > button {
|
|
min-height: 38px;
|
|
color: #b3c5d7;
|
|
border: 1px solid #2e465f;
|
|
border-radius: 9px;
|
|
background: #0a1827;
|
|
cursor: pointer;
|
|
font-size: 17px;
|
|
font-weight: 900;
|
|
}
|
|
.hockey-game-date-nav > button[data-date-today] {
|
|
min-width: 70px;
|
|
padding: 0 10px;
|
|
color: #78e8cf;
|
|
font-size: 9px;
|
|
letter-spacing: .03em;
|
|
}
|
|
.hockey-game-date-nav label {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
.hockey-game-date-nav label > span {
|
|
color: #71869e;
|
|
font-size: 7px;
|
|
font-weight: 950;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-game-date-nav input {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
color: #e8f1fb;
|
|
border: 1px solid #304961;
|
|
border-radius: 9px;
|
|
background: #081522;
|
|
padding: 0 9px;
|
|
outline: none;
|
|
}
|
|
.hockey-game-date-nav input:focus {
|
|
border-color: #48dfbd;
|
|
box-shadow: 0 0 0 3px rgba(72,223,189,.08);
|
|
}
|
|
|
|
.hockey-games-summary {
|
|
min-height: 43px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 0 14px;
|
|
color: #8397ae;
|
|
border-bottom: 1px solid #22374d;
|
|
background: rgba(9,20,33,.70);
|
|
}
|
|
.hockey-games-summary > div {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
}
|
|
.hockey-games-summary > div > span {
|
|
font-size: 9px;
|
|
font-weight: 850;
|
|
}
|
|
.hockey-games-summary > div > strong {
|
|
min-width: 23px;
|
|
height: 23px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #07130f;
|
|
border-radius: 50%;
|
|
background: #4adfbe;
|
|
font-size: 8px;
|
|
}
|
|
.hockey-games-summary > small {
|
|
color: #d6a35e;
|
|
font-size: 7px;
|
|
font-weight: 900;
|
|
letter-spacing: .04em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-games-summary > small.found {
|
|
color: #57ddbd;
|
|
}
|
|
.hockey-games-summary .hockey-spinner {
|
|
width: 15px;
|
|
height: 15px;
|
|
border: 2px solid #2d465e;
|
|
border-top-color: #48dfbd;
|
|
border-radius: 50%;
|
|
animation: hockey-spin .7s linear infinite;
|
|
}
|
|
@keyframes hockey-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.hockey-games-list {
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 8px;
|
|
padding: 10px 11px 18px;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #38536d transparent;
|
|
}
|
|
.hockey-game-card {
|
|
width: 100%;
|
|
display: grid;
|
|
gap: 7px;
|
|
padding: 10px 11px;
|
|
color: #dce7f3;
|
|
border: 1px solid #293f56;
|
|
border-radius: 12px;
|
|
background:
|
|
linear-gradient(145deg,rgba(15,30,48,.96),rgba(7,17,29,.96));
|
|
cursor: pointer;
|
|
text-align: left;
|
|
transition: border-color .14s ease,transform .14s ease,background .14s ease;
|
|
}
|
|
.hockey-game-card:hover {
|
|
border-color: #41617e;
|
|
transform: translateY(-1px);
|
|
}
|
|
.hockey-game-card.selected {
|
|
border-color: rgba(72,223,189,.48);
|
|
background:
|
|
radial-gradient(circle at 10% 0%,rgba(72,223,189,.12),transparent 42%),
|
|
linear-gradient(145deg,rgba(15,31,49,.98),rgba(7,17,29,.98));
|
|
box-shadow: 0 0 0 1px rgba(72,223,189,.05);
|
|
}
|
|
.hockey-game-card > header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
.hockey-game-card > header > span {
|
|
min-width: 48px;
|
|
color: #07130f;
|
|
border-radius: 7px;
|
|
background: #4adfbe;
|
|
font-family: "Roboto Mono","Cascadia Mono",Consolas,monospace;
|
|
font-size: 9px;
|
|
font-weight: 950;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
.hockey-game-card > header > small {
|
|
color: #8195ad;
|
|
font-size: 8px;
|
|
}
|
|
.hockey-game-card > header > i {
|
|
margin-left: auto;
|
|
max-width: 180px;
|
|
overflow: hidden;
|
|
color: #d7a35c;
|
|
font-size: 7px;
|
|
font-style: normal;
|
|
font-weight: 900;
|
|
letter-spacing: .04em;
|
|
text-overflow: ellipsis;
|
|
text-transform: uppercase;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-game-team {
|
|
display: grid;
|
|
grid-template-columns: minmax(0,1fr) 34px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.hockey-game-team > strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #e3edf8;
|
|
font-size: 11px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-game-team > b {
|
|
color: #f4f8fc;
|
|
font-family: "Roboto Mono","Cascadia Mono",Consolas,monospace;
|
|
font-size: 16px;
|
|
text-align: center;
|
|
}
|
|
.hockey-game-card > footer {
|
|
min-height: 25px;
|
|
display: grid;
|
|
grid-template-columns: minmax(0,1fr) 24px;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-top: 5px;
|
|
color: #71859d;
|
|
border-top: 1px solid #23384d;
|
|
font-size: 8px;
|
|
}
|
|
.hockey-game-card > footer > span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-game-card > footer > i {
|
|
width: 23px;
|
|
height: 23px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #7f94ab;
|
|
border: 1px solid #2d455d;
|
|
border-radius: 7px;
|
|
background: #091624;
|
|
font-size: 11px;
|
|
font-style: normal;
|
|
}
|
|
.hockey-game-card.selected > footer > i {
|
|
color: #07130f;
|
|
border-color: #48dfbd;
|
|
background: #48dfbd;
|
|
}
|
|
|
|
.hockey-games-empty {
|
|
min-height: 180px;
|
|
display: grid;
|
|
place-content: center;
|
|
gap: 6px;
|
|
padding: 24px;
|
|
color: #768ba3;
|
|
border: 1px dashed #30485f;
|
|
border-radius: 12px;
|
|
text-align: center;
|
|
}
|
|
.hockey-games-empty > strong {
|
|
color: #bac9d9;
|
|
font-size: 11px;
|
|
}
|
|
.hockey-games-empty > p,
|
|
.hockey-games-empty > small {
|
|
margin: 0;
|
|
font-size: 8px;
|
|
}
|
|
.hockey-games-empty.error {
|
|
color: #d38c9a;
|
|
border-color: rgba(255,102,125,.32);
|
|
}
|
|
.hockey-game-skeleton {
|
|
min-height: 105px;
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 12px;
|
|
border: 1px solid #253b52;
|
|
border-radius: 12px;
|
|
background: rgba(10,22,36,.72);
|
|
}
|
|
.hockey-game-skeleton > span,
|
|
.hockey-game-skeleton > b,
|
|
.hockey-game-skeleton > i {
|
|
display: block;
|
|
border-radius: 6px;
|
|
background: linear-gradient(90deg,#14263a,#20364d,#14263a);
|
|
background-size: 220% 100%;
|
|
animation: hockey-skeleton 1.1s infinite linear;
|
|
}
|
|
.hockey-game-skeleton > span {
|
|
width: 64px;
|
|
height: 20px;
|
|
}
|
|
.hockey-game-skeleton > b {
|
|
width: 82%;
|
|
height: 12px;
|
|
}
|
|
.hockey-game-skeleton > i {
|
|
width: 54%;
|
|
height: 8px;
|
|
}
|
|
.hockey-games-footer {
|
|
min-height: 54px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 7px;
|
|
padding: 9px 12px;
|
|
border-top: 1px solid #263c53;
|
|
background: rgba(9,19,32,.97);
|
|
}
|
|
|
|
/* Diagnostics */
|
|
.hockey-diagnostics-modal {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9900;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
.hockey-diagnostics-card {
|
|
position: relative;
|
|
width: min(760px,94vw);
|
|
max-height: 90vh;
|
|
overflow: auto;
|
|
color: #dce8f4;
|
|
border: 1px solid #354e68;
|
|
border-radius: 15px;
|
|
background: #0c1928;
|
|
box-shadow: 0 28px 80px rgba(0,0,0,.48);
|
|
}
|
|
.hockey-diagnostics-card > header {
|
|
min-height: 62px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 11px 14px;
|
|
border-bottom: 1px solid #2b4158;
|
|
}
|
|
.hockey-diagnostics-card > header > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
.hockey-diagnostics-card > header small {
|
|
color: #4fd9b9;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .1em;
|
|
}
|
|
.hockey-diagnostics-card > header strong {
|
|
font-size: 16px;
|
|
}
|
|
.hockey-diagnostics-card > header button {
|
|
width: 35px;
|
|
height: 35px;
|
|
color: #9dafc2;
|
|
border: 1px solid #2f475f;
|
|
border-radius: 9px;
|
|
background: #091624;
|
|
cursor: pointer;
|
|
}
|
|
.hockey-diagnostics-content {
|
|
display: grid;
|
|
gap: 12px;
|
|
padding: 14px;
|
|
}
|
|
.hockey-diagnostics-content dl {
|
|
display: grid;
|
|
grid-template-columns: 110px minmax(0,1fr);
|
|
gap: 7px 10px;
|
|
margin: 0;
|
|
}
|
|
.hockey-diagnostics-content dt {
|
|
color: #70859c;
|
|
font-size: 8px;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-diagnostics-content dd {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
color: #d5e1ed;
|
|
font-family: "Roboto Mono","Cascadia Mono",Consolas,monospace;
|
|
font-size: 9px;
|
|
}
|
|
.hockey-diagnostics-content dd.success {
|
|
color: #55ddbd;
|
|
}
|
|
.hockey-diagnostics-content dd.error {
|
|
color: #ef95a4;
|
|
}
|
|
.hockey-diagnostics-content pre {
|
|
max-height: 320px;
|
|
overflow: auto;
|
|
margin: 0;
|
|
padding: 11px;
|
|
color: #9fb2c8;
|
|
border: 1px solid #283f57;
|
|
border-radius: 10px;
|
|
background: #07121f;
|
|
font-size: 8px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.hockey-settings-body label > small {
|
|
color: #6f849b;
|
|
font-size: 8px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
|
|
.hockey-game-card.live {
|
|
border-color: rgba(255,107,127,.48);
|
|
box-shadow: 0 0 22px rgba(255,91,116,.08);
|
|
}
|
|
.hockey-game-card.live > header > i {
|
|
color: #ff9bac;
|
|
}
|
|
.hockey-game-card.finished {
|
|
opacity: .86;
|
|
}
|
|
.hockey-game-card > footer {
|
|
grid-template-columns: minmax(0,1fr) auto 24px;
|
|
}
|
|
.hockey-game-card > footer > em {
|
|
color: #d6a65f;
|
|
font-size: 7px;
|
|
font-style: normal;
|
|
font-weight: 900;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* v20.2 — responsive tournament switching and non-blocking navigation */
|
|
.hockey-nav-back {
|
|
width: auto;
|
|
min-width: 112px;
|
|
padding: 0 10px;
|
|
grid-auto-flow: column;
|
|
gap: 6px;
|
|
font-size: 15px;
|
|
}
|
|
.hockey-nav-back > span {
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .045em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-selected-tournament {
|
|
grid-template-columns: minmax(0,1fr) auto;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.hockey-selected-tournament > div {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
.hockey-selected-tournament > div > span {
|
|
color: #50d8b8;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .075em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-selected-tournament > div > strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #e6eff9;
|
|
font-size: 12px;
|
|
line-height: 1.35;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-selected-tournament > div > small {
|
|
color: #8296ad;
|
|
font-size: 8px;
|
|
}
|
|
.hockey-selected-tournament > button {
|
|
min-height: 34px;
|
|
padding: 0 10px;
|
|
color: #7fe8d0;
|
|
border: 1px solid rgba(72,223,189,.30);
|
|
border-radius: 9px;
|
|
background: rgba(72,223,189,.07);
|
|
cursor: pointer;
|
|
font-size: 8px;
|
|
font-weight: 950;
|
|
letter-spacing: .035em;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-selected-tournament > button:hover {
|
|
color: #07130f;
|
|
background: #4adfbe;
|
|
}
|
|
.hockey-game-date-nav > button:active,
|
|
.hockey-selected-tournament > button:active,
|
|
.hockey-nav-back:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
/* ==========================================================================
|
|
Match loading lock screen
|
|
========================================================================== */
|
|
html.hockey-match-loading-active,
|
|
html.hockey-match-loading-active body {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
.hockey-match-loading {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 50;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(circle at 50% 43%, rgba(72,223,189,.12), transparent 30%),
|
|
rgba(3,9,16,.82);
|
|
backdrop-filter: blur(8px);
|
|
transition: opacity .18s ease, visibility .18s ease;
|
|
}
|
|
.hockey-match-loading.show {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
.hockey-match-loading-card {
|
|
width: min(440px, calc(100vw - 34px));
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 9px;
|
|
padding: 30px 28px 25px;
|
|
color: #e8f2fb;
|
|
text-align: center;
|
|
border: 1px solid rgba(78,221,190,.36);
|
|
border-radius: 18px;
|
|
background:
|
|
linear-gradient(180deg, rgba(18,35,53,.98), rgba(7,17,29,.98));
|
|
box-shadow:
|
|
0 28px 90px rgba(0,0,0,.58),
|
|
inset 0 1px rgba(255,255,255,.04);
|
|
transform: translateY(8px) scale(.985);
|
|
transition: transform .18s ease;
|
|
}
|
|
.hockey-match-loading.show .hockey-match-loading-card {
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
.hockey-match-loading-card > small {
|
|
margin-top: 4px;
|
|
color: #4bdbba;
|
|
font-size: 9px;
|
|
font-weight: 950;
|
|
letter-spacing: .16em;
|
|
}
|
|
.hockey-match-loading-card > strong {
|
|
font-size: clamp(22px, 4vw, 28px);
|
|
line-height: 1.15;
|
|
}
|
|
.hockey-match-loading-card > span {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
color: #f4f8fc;
|
|
font-size: 14px;
|
|
font-weight: 800;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.hockey-match-loading-card > span.hidden {
|
|
display: none;
|
|
}
|
|
.hockey-match-loading-card > p {
|
|
min-height: 20px;
|
|
margin: 4px 0 2px;
|
|
color: #9fb2c7;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
.hockey-match-loading-card > em {
|
|
max-width: 330px;
|
|
color: #6f849c;
|
|
font-size: 10px;
|
|
font-style: normal;
|
|
line-height: 1.45;
|
|
}
|
|
.hockey-match-loading-spinner {
|
|
position: relative;
|
|
width: 58px;
|
|
height: 58px;
|
|
border: 2px solid rgba(77,219,186,.16);
|
|
border-radius: 50%;
|
|
box-shadow: inset 0 0 20px rgba(73,221,188,.08);
|
|
}
|
|
.hockey-match-loading-spinner::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 7px;
|
|
border: 2px solid rgba(158,180,202,.16);
|
|
border-top-color: #4bddba;
|
|
border-radius: 50%;
|
|
animation: hockey-match-loading-spin .8s linear infinite;
|
|
}
|
|
.hockey-match-loading-spinner > i {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
background: #eaf3fa;
|
|
box-shadow: 0 0 18px rgba(72,223,189,.58);
|
|
transform: translate(-50%,-50%);
|
|
}
|
|
.hockey-match-loading-progress {
|
|
width: min(270px, 75vw);
|
|
height: 4px;
|
|
overflow: hidden;
|
|
margin: 3px 0 5px;
|
|
border-radius: 999px;
|
|
background: rgba(118,145,172,.16);
|
|
}
|
|
.hockey-match-loading-progress > i {
|
|
display: block;
|
|
width: 42%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, transparent, #4bddba, transparent);
|
|
animation: hockey-match-loading-progress 1.15s ease-in-out infinite;
|
|
}
|
|
@keyframes hockey-match-loading-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
@keyframes hockey-match-loading-progress {
|
|
from { transform: translateX(-120%); }
|
|
to { transform: translateX(340%); }
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.hockey-match-loading-spinner::before,
|
|
.hockey-match-loading-progress > i {
|
|
animation-duration: 2.2s;
|
|
}
|
|
}
|
|
|
|
/* v24 — manual game ID loader and finish type badges */
|
|
.hockey-manual-game {
|
|
display: grid;
|
|
gap: 8px;
|
|
padding: 10px 11px;
|
|
border-bottom: 1px solid #22374d;
|
|
background: rgba(7,17,29,.88);
|
|
}
|
|
.hockey-manual-game > div {
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
.hockey-manual-game > div > strong {
|
|
color: #dfeaf6;
|
|
font-size: 9px;
|
|
font-weight: 950;
|
|
letter-spacing: .04em;
|
|
text-transform: uppercase;
|
|
}
|
|
.hockey-manual-game > div > small {
|
|
color: #70859d;
|
|
font-size: 8px;
|
|
line-height: 1.45;
|
|
}
|
|
.hockey-manual-game > label {
|
|
display: grid;
|
|
grid-template-columns: minmax(0,1fr) auto;
|
|
gap: 7px;
|
|
}
|
|
.hockey-manual-game input {
|
|
min-width: 0;
|
|
height: 36px;
|
|
padding: 0 10px;
|
|
color: #edf5ff;
|
|
border: 1px solid #2f475f;
|
|
border-radius: 9px;
|
|
background: #081522;
|
|
font-family: "Roboto Mono","Cascadia Mono",Consolas,monospace;
|
|
font-size: 11px;
|
|
font-weight: 850;
|
|
outline: none;
|
|
}
|
|
.hockey-manual-game input:focus {
|
|
border-color: #48dfbd;
|
|
box-shadow: 0 0 0 3px rgba(72,223,189,.08);
|
|
}
|
|
.hockey-manual-game button {
|
|
min-width: 88px;
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
color: #06130f;
|
|
border: 1px solid #48dfbd;
|
|
border-radius: 9px;
|
|
background: #48dfbd;
|
|
font-size: 9px;
|
|
font-weight: 950;
|
|
cursor: pointer;
|
|
}
|
|
.hockey-game-card.finished > header > i {
|
|
color: #d7b267;
|
|
}
|
|
|
|
/* One portal tooltip is rendered directly under body, so it is never clipped by drawers/modals. */
|
|
.hockey-global-tooltip{
|
|
position:fixed;
|
|
z-index:2147483647;
|
|
max-width:min(320px,calc(100vw - 16px));
|
|
padding:8px 11px;
|
|
color:#eef7ff;
|
|
border:1px solid rgba(110,143,179,.72);
|
|
border-radius:9px;
|
|
background:rgba(5,13,23,.98);
|
|
box-shadow:0 12px 34px rgba(0,0,0,.48);
|
|
font-size:12px;
|
|
font-weight:800;
|
|
line-height:1.35;
|
|
text-align:center;
|
|
pointer-events:none;
|
|
opacity:0;
|
|
transform:translateY(3px);
|
|
transition:opacity .12s ease,transform .12s ease;
|
|
}
|
|
.hockey-global-tooltip.show{opacity:1;transform:none}
|
|
.hockey-manual-game-global{margin:10px 0 4px}
|
|
.hockey-module-toast{z-index:2147483645}
|
|
|
|
/* BUILD 2026.07.20.8 — timer and strength settings */
|
|
.hockey-settings-section {
|
|
display: grid;
|
|
gap: 4px;
|
|
margin-top: 5px;
|
|
padding: 11px 12px;
|
|
border: 1px solid #29445d;
|
|
border-radius: 11px;
|
|
background: linear-gradient(135deg,rgba(77,156,255,.08),rgba(72,223,189,.035));
|
|
}
|
|
.hockey-settings-section strong {
|
|
color: #dceafa;
|
|
font-size: 10px;
|
|
font-weight: 950;
|
|
letter-spacing: .08em;
|
|
}
|
|
.hockey-settings-section small {
|
|
color: #7890a8;
|
|
font-size: 9px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
/* BUILD 2026.07.20.10 — detailed strength labels live in the main rules panel. */
|
|
.hockey-settings-note {
|
|
display: grid;
|
|
gap: 5px;
|
|
box-sizing: border-box;
|
|
padding: 11px 13px;
|
|
border: 1px solid rgba(72, 223, 189, .22);
|
|
border-radius: 10px;
|
|
background: rgba(72, 223, 189, .06);
|
|
}
|
|
.hockey-settings-note strong {
|
|
color: #a9eadb;
|
|
font-size: 11px;
|
|
}
|
|
.hockey-settings-note small {
|
|
color: #8097ae;
|
|
font-size: 9px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
|
|
/* ==========================================================================
|
|
v20.3 — tournament drawer containment / long names
|
|
========================================================================== */
|
|
.hockey-navigation-drawer,
|
|
.hockey-navigation-drawer *,
|
|
.hockey-tournament-view,
|
|
.hockey-nav-list,
|
|
.hockey-league-group,
|
|
.hockey-league-group > div,
|
|
.hockey-tournament-card {
|
|
box-sizing: border-box;
|
|
}
|
|
.hockey-navigation-drawer {
|
|
max-width: 100vw;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
}
|
|
.hockey-tournament-view,
|
|
.hockey-games-view {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
.hockey-nav-list {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
scrollbar-gutter: stable;
|
|
padding-right: 8px;
|
|
}
|
|
.hockey-league-group,
|
|
.hockey-league-group > div,
|
|
.hockey-tournament-card {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.hockey-league-group > header {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.hockey-league-group > header > strong {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.hockey-tournament-card {
|
|
overflow: hidden;
|
|
padding-right: 46px;
|
|
}
|
|
.hockey-tournament-card > strong {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow-wrap: anywhere;
|
|
word-break: normal;
|
|
}
|
|
.hockey-tournament-card > small {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
flex-wrap: wrap;
|
|
row-gap: 2px;
|
|
}
|
|
.hockey-tournament-card > small > b,
|
|
.hockey-tournament-card > small > span {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.hockey-nav-summary {
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
}
|
|
.hockey-nav-summary > * {
|
|
min-width: 0;
|
|
}
|
|
@media (max-width: 520px) {
|
|
.hockey-navigation-drawer {
|
|
width: 100vw;
|
|
}
|
|
.hockey-nav-list {
|
|
padding-left: 7px;
|
|
padding-right: 7px;
|
|
}
|
|
.hockey-tournament-card {
|
|
padding-left: 10px;
|
|
padding-right: 42px;
|
|
}
|
|
.hockey-nav-filters {
|
|
gap: 5px;
|
|
padding-left: 9px;
|
|
padding-right: 9px;
|
|
}
|
|
}
|
|
|
|
|
|
/* ==========================================================================
|
|
v20.4 — fixed drawer row model
|
|
The tournament view has six content rows before its optional footer:
|
|
tabs, search, filters, manual game, summary, scrollable list.
|
|
========================================================================== */
|
|
.hockey-navigation-drawer {
|
|
grid-template-rows: auto auto minmax(0, 1fr);
|
|
}
|
|
.hockey-tournament-view {
|
|
height: 100%;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
grid-template-rows: auto auto auto auto auto minmax(0, 1fr) auto;
|
|
}
|
|
.hockey-nav-summary {
|
|
min-height: 36px;
|
|
height: 36px;
|
|
flex: 0 0 36px;
|
|
overflow: hidden;
|
|
}
|
|
.hockey-nav-list {
|
|
min-height: 0;
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
}
|