/* 1.12.76: kombo-ennustus (/ennusta). Kasutab portaali neon-muutujaid (--df-*). */
.deg-combo-page { background: var(--df-black, #070807); color: var(--df-white, #f4f6f1); }
.deg-combo { width: min(var(--df-content, 1320px), calc(100% - 32px)); margin: 0 auto; padding: 108px 0 80px; font-family: var(--df-body, Inter, sans-serif); }
.deg-combo-kicker { display: inline-block; color: var(--df-neon, #c7ff18); font: 800 11px/1.4 var(--df-body, Inter, sans-serif); letter-spacing: .14em; text-transform: uppercase; }
.deg-combo-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--df-line, rgba(255,255,255,.11)); }
.deg-combo-head h1 { margin: 10px 0 12px; font: 900 clamp(40px, 6vw, 84px)/.9 var(--df-display, "Barlow Condensed", Impact, sans-serif); letter-spacing: -.02em; text-transform: uppercase; }
.deg-combo-head h1 em { color: var(--df-neon, #c7ff18); font-style: italic; }
.deg-combo-head p { max-width: 620px; margin: 0; color: var(--df-muted, #8b9289); font-size: 15px; line-height: 1.6; }
.deg-combo-help { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; color: var(--df-white, #fff) !important; font-size: 14px; font-weight: 600; text-decoration: none !important; }
.deg-combo-help i { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--df-line, rgba(255,255,255,.2)); border-radius: 50%; font-style: normal; font-size: 13px; }
.deg-combo-help:hover i { border-color: var(--df-neon, #c7ff18); color: var(--df-neon, #c7ff18); }

.deg-combo-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0 8px; font-size: 13px; color: var(--df-muted, #8b9289); }
.deg-combo-bar-title { color: var(--df-white, #fff); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-right: 8px; }
.deg-combo-bar i { color: var(--df-line, rgba(255,255,255,.3)); font-style: normal; }
.deg-combo-user { margin-left: auto; padding: 6px 12px; border: 1px solid var(--df-line, rgba(255,255,255,.2)); color: var(--df-neon, #c7ff18); font-size: 12px; letter-spacing: .04em; }
.deg-combo-user.is-guest { color: var(--df-muted, #8b9289); }

.deg-combo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 14px; }
.deg-combo-class { position: relative; display: flex; flex-direction: column; padding: 22px 22px 16px; border: 1px solid var(--df-line, rgba(255,255,255,.11)); background: linear-gradient(160deg, var(--df-panel-2, #131713), var(--df-panel, #0d100d)); border-radius: 18px; transition: border-color .15s; }
.deg-combo-class.is-started { border-color: rgba(199,255,24,.35); }
.deg-combo-class.is-complete { border-color: var(--df-neon, #c7ff18); }
.deg-combo-class.is-closed { opacity: .7; }
.deg-combo-class > header { display: flex; align-items: center; justify-content: space-between; }
.deg-combo-num { font: 900 26px/1 var(--df-display, "Barlow Condensed", sans-serif); color: var(--df-muted, #8b9289); font-style: italic; }
.deg-combo-state { padding: 6px 10px; border: 1px solid var(--df-line, rgba(255,255,255,.2)); border-radius: 8px; font-size: 11px; color: var(--df-muted, #8b9289); letter-spacing: .04em; }
.deg-combo-class.is-complete .deg-combo-state { color: var(--df-black, #070807); background: var(--df-neon, #c7ff18); border-color: var(--df-neon, #c7ff18); }
.deg-combo-class h2 { margin: 16px 0 4px; font: 900 clamp(28px, 3vw, 40px)/1 var(--df-display, "Barlow Condensed", sans-serif); letter-spacing: .01em; text-transform: uppercase; }
.deg-combo-sub { display: block; color: var(--df-muted, #8b9289); font-size: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--df-line, rgba(255,255,255,.11)); }
.deg-combo-picks { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.deg-combo-pick { display: flex; align-items: center; gap: 12px; }
.deg-combo-place { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--df-line, rgba(255,255,255,.25)); font: 800 13px/1 var(--df-body, Inter, sans-serif); color: var(--df-white, #fff); }
.deg-combo-place.is-first { color: var(--df-black, #070807); background: var(--df-neon, #c7ff18); border-color: var(--df-neon, #c7ff18); }
.deg-combo-field { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.deg-combo-field small { font-size: 12px; font-weight: 700; color: var(--df-white, #fff); }
.deg-combo select { width: 100%; appearance: none; -webkit-appearance: none; padding: 13px 40px 13px 14px; border: 1px solid var(--df-line, rgba(255,255,255,.2)); border-radius: 10px; background: var(--df-black, #070807) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c7ff18' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--df-white, #fff); font: 500 15px/1.2 var(--df-body, Inter, sans-serif); }
.deg-combo select:focus { outline: none; border-color: var(--df-neon, #c7ff18); box-shadow: 0 0 0 3px rgba(199,255,24,.18); }
.deg-combo select:disabled { opacity: .45; cursor: not-allowed; }
.deg-combo select option { color: #111; background: #fff; }
.deg-combo-qual { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--df-line, rgba(255,255,255,.11)); }
.deg-combo-qual-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.deg-combo-qual-head strong { font-size: 13px; }
.deg-combo-qual-head small { color: var(--df-muted, #8b9289); font-size: 12px; }
.deg-combo-class > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 12px; color: var(--df-muted, #8b9289); }
.deg-combo-class > footer small { color: var(--df-muted, #8b9289); }
.deg-combo-clear { background: none; border: 0; padding: 0; color: var(--df-muted, #8b9289); font: 600 12px/1 var(--df-body, Inter, sans-serif); text-decoration: underline; cursor: pointer; }
.deg-combo-msg { margin: 10px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.deg-combo-msg.is-ok { background: rgba(199,255,24,.12); color: var(--df-neon, #c7ff18); }
.deg-combo-msg.is-error { background: rgba(255,80,80,.12); color: #ff8a8a; }

.deg-combo-submit { position: sticky; bottom: 12px; z-index: 5; display: flex; align-items: center; gap: 22px; margin-top: 18px; padding: 16px 20px; border: 1px solid rgba(199,255,24,.45); border-radius: 16px; background: rgba(13,16,13,.96); backdrop-filter: blur(10px); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
.deg-combo-progress { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px; }
.deg-combo-progress b { font: 900 30px/1 var(--df-display, "Barlow Condensed", sans-serif); color: var(--df-neon, #c7ff18); }
.deg-combo-progress small { font-size: 11px; line-height: 1.2; color: var(--df-muted, #8b9289); }
.deg-combo-progress i { grid-column: 1 / -1; display: block; height: 4px; margin-top: 8px; background: var(--df-line, rgba(255,255,255,.15)); border-radius: 2px; overflow: hidden; }
.deg-combo-progress u { display: block; height: 100%; background: var(--df-neon, #c7ff18); transition: width .2s; }
.deg-combo-summary { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.deg-combo-summary strong { font-size: 14px; }
.deg-combo-summary span { font-size: 12px; color: var(--df-muted, #8b9289); }
.deg-combo-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1px solid var(--df-neon, #c7ff18); border-radius: 12px; background: var(--df-neon, #c7ff18); color: var(--df-black, #070807) !important; font: 800 13px/1 var(--df-body, Inter, sans-serif); letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: transform .15s, opacity .15s; }
.deg-combo-btn:hover { transform: translateY(-2px); }
.deg-combo-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.deg-combo-btn.is-busy { opacity: .7; }
.deg-combo-btn em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .8; }
.deg-combo-btn--ghost { background: transparent; color: var(--df-white, #fff) !important; border-color: var(--df-line, rgba(255,255,255,.25)); }
.deg-combo-note { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--df-muted, #8b9289); }

.deg-combo-done { margin-top: 26px; padding: 30px; border: 1px solid var(--df-neon, #c7ff18); border-radius: 18px; background: radial-gradient(circle at 90% 0%, rgba(199,255,24,.18), transparent 45%), var(--df-panel, #0d100d); }
.deg-combo-done h2 { margin: 8px 0 8px; font: 900 clamp(32px, 4vw, 56px)/.95 var(--df-display, "Barlow Condensed", sans-serif); text-transform: uppercase; }
.deg-combo-done h2 em { color: var(--df-neon, #c7ff18); font-style: italic; }
.deg-combo-done p { margin: 0 0 16px; color: var(--df-muted, #8b9289); }
.deg-combo-done-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.deg-combo-empty { margin-top: 30px; padding: 30px; border: 1px solid var(--df-line, rgba(255,255,255,.11)); border-radius: 18px; background: var(--df-panel, #0d100d); }
.deg-combo-empty strong { display: block; font-size: 18px; margin-bottom: 6px; }
.deg-combo-empty p { color: var(--df-muted, #8b9289); margin: 0 0 16px; }

@media (max-width: 760px) {
  .deg-combo { padding-top: 86px; }
  .deg-combo-head { flex-direction: column; }
  .deg-combo-grid { grid-template-columns: 1fr; }
  .deg-combo-submit { flex-wrap: wrap; gap: 12px; bottom: 8px; padding: 14px; border-radius: 14px; }
  .deg-combo-summary { flex-basis: 100%; order: -1; }
  .deg-combo-btn--main { flex: 1 1 auto; justify-content: center; }
  .deg-combo-user { margin-left: 0; }
}
/* Hele teema */
body.deg-theme-light .deg-combo-page, body.deg-theme-light .deg-combo { background: var(--df-light-bg, #eef1ea); color: var(--df-light-ink, #101310); }
body.deg-theme-light .deg-combo-class, body.deg-theme-light .deg-combo-help > div, body.deg-theme-light .deg-combo-done, body.deg-theme-light .deg-combo-empty { background: var(--df-light-panel, #fff); border-color: var(--df-light-line, rgba(16,19,16,.15)); }
body.deg-theme-light .deg-combo select { background-color: var(--df-light-panel-2, #f5f7f2); color: var(--df-light-ink, #101310); border-color: var(--df-light-line, rgba(16,19,16,.2)); }
body.deg-theme-light .deg-combo-submit { background: rgba(255,255,255,.96); }
body.deg-theme-light .deg-combo-kicker, body.deg-theme-light .deg-combo-progress b, body.deg-theme-light .deg-combo-user { color: var(--df-light-accent, #526f00); }
body.deg-theme-light .deg-combo-field small, body.deg-theme-light .deg-combo-summary strong, body.deg-theme-light .deg-combo-help summary, body.deg-theme-light .deg-combo-bar-title, body.deg-theme-light .deg-combo-place { color: var(--df-light-ink, #101310); }
body.deg-theme-light .deg-combo-btn--ghost { color: var(--df-light-ink, #101310) !important; }

/* Mängukeskus / legend */
.deg-combo-center { margin-top: 56px; }
.deg-combo-center-head h2 { margin: 8px 0 18px; font: 900 clamp(28px, 3.4vw, 44px)/1 var(--df-display, "Barlow Condensed", sans-serif); letter-spacing: -.01em; }
.deg-combo-tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--df-line, rgba(255,255,255,.11)); }
.deg-combo-tabs button, .deg-combo-tabs a { position: relative; padding: 12px 0 14px; background: none; border: 0; color: var(--df-muted, #8b9289); font: 600 14px/1 var(--df-body, Inter, sans-serif); text-decoration: none !important; cursor: pointer; }
.deg-combo-tabs button.is-active { color: var(--df-neon, #c7ff18); }
.deg-combo-tabs button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--df-neon, #c7ff18); }
.deg-combo-tabs a:hover, .deg-combo-tabs button:hover { color: var(--df-white, #fff); }
.deg-combo-panel { display: none; margin-top: 0; padding: 30px 26px; border: 1px solid var(--df-line, rgba(255,255,255,.11)); border-top: 0; border-radius: 0 0 18px 18px; background: var(--df-panel, #0d100d); }
.deg-combo-panel.is-active { display: block; }
.deg-combo-steps, .deg-combo-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.deg-combo-steps b, .deg-combo-points b { display: block; margin-bottom: 14px; color: var(--df-neon, #c7ff18); font: 900 italic 34px/1 var(--df-display, "Barlow Condensed", sans-serif); }
.deg-combo-steps h3, .deg-combo-points h3 { margin: 0 0 8px; font: 700 18px/1.2 var(--df-body, Inter, sans-serif); color: var(--df-white, #fff); }
.deg-combo-steps p, .deg-combo-points p { margin: 0; color: var(--df-muted, #8b9289); font-size: 14px; line-height: 1.6; }
body.deg-theme-light .deg-combo-panel { background: var(--df-light-panel, #fff); border-color: var(--df-light-line, rgba(16,19,16,.15)); }
body.deg-theme-light .deg-combo-steps h3, body.deg-theme-light .deg-combo-points h3, body.deg-theme-light .deg-combo-help { color: var(--df-light-ink, #101310) !important; }
body.deg-theme-light .deg-combo-tabs button.is-active, body.deg-theme-light .deg-combo-steps b, body.deg-theme-light .deg-combo-points b { color: var(--df-light-accent, #526f00); }

/* 1.12.78: kohandatud rippmenüü */
.deg-combo-dd { position: relative; }
.deg-combo-dd > select { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.deg-combo-ddbtn { display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 44px 13px 14px; border: 1px solid var(--df-line, rgba(255,255,255,.2)); border-radius: 10px; background: #0a0f0a; color: var(--df-white, #fff); font: 500 15px/1.2 var(--df-body, Inter, sans-serif); text-align: left; cursor: pointer; position: relative; }
.deg-combo-ddbtn.has-value { border-color: rgba(199,255,24,.45); background: #0d140b; }
.deg-combo-dd.is-open .deg-combo-ddbtn, .deg-combo-ddbtn:focus-visible { outline: none; border-color: var(--df-neon, #c7ff18); box-shadow: 0 0 0 3px rgba(199,255,24,.18); }
.deg-combo-ddbtn:disabled { opacity: .45; cursor: not-allowed; }
.deg-combo-ddbtn strong, .deg-combo-ddmenu li strong { font-weight: 800; }
.deg-dd-ph { color: #9aa397; }
.deg-dd-num { color: var(--df-neon, #c7ff18); font-weight: 600; font-size: 13px; }
.deg-dd-flag { margin-left: auto; font-size: 18px; line-height: 1; }
.deg-combo-ddbtn .deg-dd-flag { margin-right: 4px; }
.deg-dd-chev { position: absolute; right: 14px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2px solid var(--df-neon, #c7ff18); border-bottom: 2px solid var(--df-neon, #c7ff18); transform: rotate(45deg); transition: transform .15s; }
.deg-combo-dd.is-open .deg-dd-chev { transform: rotate(-135deg); margin-top: -3px; }
.deg-combo-ddmenu[hidden] { display: none !important; }
.deg-combo-ddmenu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; max-height: 360px; display: flex; flex-direction: column; border: 1px solid rgba(199,255,24,.55); border-radius: 12px; background: #0b130a; box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.6); overflow: hidden; }
.deg-combo-ddsearch { padding: 8px; border-bottom: 1px solid rgba(199,255,24,.18); background: #0e180c; }
.deg-combo-ddsearch input { width: 100%; padding: 10px 12px; border: 1px solid rgba(199,255,24,.25); border-radius: 8px; background: #0a0f0a; color: #fff; font: 500 14px/1.2 var(--df-body, Inter, sans-serif); }
.deg-combo-ddsearch input:focus { outline: none; border-color: var(--df-neon, #c7ff18); }
.deg-combo-ddmenu ul { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.deg-combo-ddmenu li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; color: #d9f2b0; font: 500 15px/1.2 var(--df-body, Inter, sans-serif); cursor: pointer; }
.deg-combo-ddmenu li:hover, .deg-combo-ddmenu li.is-selected { background: var(--df-neon, #c7ff18); color: #0a0f0a; }
.deg-combo-ddmenu li:hover .deg-dd-num, .deg-combo-ddmenu li.is-selected .deg-dd-num { color: #2c3a08; }
.deg-combo-ddmenu li.is-taken { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.deg-combo-ddmenu li.is-taken:hover { background: transparent; color: #d9f2b0; }
.deg-combo-ddmenu li.deg-dd-none { color: #9aa397; font-style: italic; }
.deg-combo-ddmenu li.deg-dd-none.is-selected { background: transparent; color: #9aa397; }
@media (max-width: 760px) {
  .deg-combo-ddmenu { position: fixed; left: 8px; right: 8px; top: auto; bottom: 8px; max-height: 70vh; border-radius: 16px; }
  .deg-combo-dd.is-open::before { content: ""; position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.55); }
  .deg-combo-ddmenu { z-index: 31; }
}
body.deg-theme-light .deg-combo-ddbtn { background: var(--df-light-panel-2, #f5f7f2); color: var(--df-light-ink, #101310); border-color: var(--df-light-line, rgba(16,19,16,.2)); }
body.deg-theme-light .deg-combo-ddmenu { background: #f6fbe9; border-color: rgba(82,111,0,.45); }
body.deg-theme-light .deg-combo-ddsearch { background: #eef5dc; }
body.deg-theme-light .deg-combo-ddsearch input { background: #fff; color: #101310; }
body.deg-theme-light .deg-combo-ddmenu li { color: #25320a; }
body.deg-theme-light .deg-dd-num { color: var(--df-light-accent, #526f00); }
