/**
Theme Name:  lapsiteema
Theme URI:  https://aleksikoskinen.fi
Description:  Lapsiteema supporttamaan
Author:  Aleksi Koskinen
Textdomain:  aleksi
Author URI:  https:/aleksikoskinen.fi/
Template:  astra
Version:  1.0
License:  GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html                 
*/

/* Oma sivusto-otsake ja osionavigaatio (korvaa Astran headerin sekä Tabbyn). */
.skabat-privacy {
    width: min(860px, calc(100% - 32px));
    margin: 48px auto 72px;
    color: #183246;
    font-size: 16px;
    line-height: 1.7;
}

/* Ennatyssivun viimeiset ylitykset vanhojen teemasaantojen jalkeen */
.skabat-web-overview .skabat-web-record-discipline{margin:12px;padding:18px 20px;border-radius:16px}
.skabat-web-overview .skabat-web-record-row{grid-template-columns:minmax(0,1fr) 120px;padding:14px 0}
.skabat-web-overview .skabat-web-record-image img{width:112px;height:112px}
@media(max-width:700px){
  .skabat-web-overview .skabat-web-record-discipline{margin:8px;padding:14px 12px;border-radius:12px}
  .skabat-web-overview .skabat-web-record-row{grid-template-columns:minmax(0,1fr) 88px;padding:12px 0}
  .skabat-web-overview .skabat-web-record-image img{width:82px;height:82px}
 }

/* The game title remains clickable, but its decorative disclosure arrow is hidden. */
.skabat-web-overview .skabat-web-record-game>summary::after,
.skabat-web-overview .skabat-web-record-game>summary:after,
.skabat-web-overview .skabat-web-record-game[open]>summary::after{display:none!important;content:none!important}

/* Ennatysten valilehti: lopulliset kortti- ja riviasettelun ohitukset */
.skabat-web-overview .skabat-web-record-game{display:block;margin:0 0 18px;padding:0;overflow:hidden}
.skabat-web-overview .skabat-web-record-game>summary{display:flex;flex-wrap:wrap;align-items:center;gap:0;min-height:0;padding:0 20px 18px;list-style:none;cursor:pointer;font-size:26px;font-weight:900;color:#173c55}
.skabat-web-overview .skabat-web-record-game>summary::-webkit-details-marker{display:none}
.skabat-web-overview .skabat-web-record-game>summary>img{flex:0 0 calc(100% + 40px);width:calc(100% + 40px);height:250px;margin:0 -20px 14px;display:block;object-fit:contain;background:#eef4f7;border-radius:12px 12px 0 0}
.skabat-web-overview .skabat-web-record-game>summary>span{flex:1 1 auto;min-width:0}
.skabat-web-overview .skabat-web-record-game>summary::after{content:'▾';flex:0 0 auto;margin-left:12px;color:#2477a9;font-size:24px}
.skabat-web-overview .skabat-web-record-game[open]>summary::after{content:'▴'}
.skabat-web-overview .skabat-web-record-discipline-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.skabat-web-overview .skabat-web-record-discipline-head h3{margin:0}
.skabat-web-overview .skabat-web-record-discipline-head .skabat-web-record-new{width:auto;margin:0}
.skabat-web-overview .skabat-web-record-history-toggle{order:3;flex:0 0 100%;width:auto;margin:0;padding:0;border:0;background:transparent;color:#617987;font-weight:800;text-align:left}
.skabat-web-overview .skabat-web-record-history-list.is-collapsible .skabat-web-record-row:not(:first-child){display:none}
.skabat-web-overview .skabat-web-record-history-list.is-expanded .skabat-web-record-row{display:grid}
/* The collapsed selector contains :not(), so make the expanded state win. */
.skabat-web-overview .skabat-web-record-history-list.is-expanded .skabat-web-record-row:not(:first-child){display:grid!important}
.skabat-web-overview .skabat-web-record-row>div>small:not(.source-group){display:none}
.skabat-web-overview .skabat-web-record-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:14px;align-items:center;padding:14px 0}
.skabat-web-overview .skabat-web-record-row>div>strong{font-size:25px;font-weight:900}
.skabat-web-overview .skabat-web-record-row>div>span{font-weight:900}
.skabat-web-overview .skabat-web-record-image{justify-self:end}
.skabat-web-overview .skabat-web-record-image img{display:block;width:112px;height:112px;object-fit:cover;border-radius:12px}
@media(max-width:700px){
 .skabat-web-overview .skabat-web-record-game>summary{padding:0 16px 14px;font-size:24px}
 .skabat-web-overview .skabat-web-record-game>summary>img{flex-basis:calc(100% + 32px);width:calc(100% + 32px);height:220px;margin:0 -16px 14px}
 .skabat-web-overview .skabat-web-record-discipline{margin:8px;padding:14px 12px;border-radius:12px}
 .skabat-web-overview .skabat-web-record-row{grid-template-columns:minmax(0,1fr) 88px;gap:10px;padding:12px 0}
 .skabat-web-overview .skabat-web-record-row>div>strong{font-size:22px}
 .skabat-web-overview .skabat-web-record-image img{width:82px;height:82px}
}
@media(max-width:700px){
 .skabat-web-overview .skabat-web-record-game>summary{padding:0 16px 14px;font-size:24px}
 .skabat-web-overview .skabat-web-record-game>summary>img{flex-basis:calc(100% + 32px);width:calc(100% + 32px);height:220px;margin:0 -16px 14px}
 .skabat-web-overview .skabat-web-record-discipline{margin:8px;padding:14px 12px;border-radius:12px}
 .skabat-web-overview .skabat-web-record-row{grid-template-columns:minmax(0,1fr) 88px;gap:10px;padding:12px 0}
 .skabat-web-overview .skabat-web-record-row>div>strong{font-size:22px}
 .skabat-web-overview .skabat-web-record-image img{width:82px;height:82px}
}

/* Ennätykset: pelit kuvakortteina ja ennätykset selkeinä riveinä. */
.skabat-web-overview .skabat-web-record-game{
  display:block;
  margin:0 0 18px;
  padding:0;
  overflow:hidden;
}
.skabat-web-overview .skabat-web-record-game>summary{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  min-height:0;
  padding:0 20px 18px;
  list-style:none;
  cursor:pointer;
  font-size:26px;
  font-weight:900;
  color:#173c55;
}
.skabat-web-overview .skabat-web-record-game>summary::-webkit-details-marker{display:none}
.skabat-web-overview .skabat-web-record-game>summary>img{
  flex:0 0 calc(100% + 40px);
  width:calc(100% + 40px);
  height:250px;
  margin:0 -20px 14px;
  display:block;
  object-fit:contain;
  background:#eef4f7;
  border-radius:12px 12px 0 0;
}
.skabat-web-overview .skabat-web-record-game>summary>span{flex:1 1 auto;min-width:0}
.skabat-web-overview .skabat-web-record-game>summary::after{
  content:'▾';
  flex:0 0 auto;
  margin-left:12px;
  color:#2477a9;
  font-size:24px;
}
.skabat-web-overview .skabat-web-record-game[open]>summary::after{content:'▴'}
.skabat-web-overview .skabat-web-record-discipline-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.skabat-web-overview .skabat-web-record-discipline-head h3{margin:0}
.skabat-web-overview .skabat-web-record-discipline-head .skabat-web-record-new{width:auto;margin:0}
.skabat-web-overview .skabat-web-record-history-toggle{
  order:3;
  flex:0 0 100%;
  width:auto;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#617987;
  font-weight:800;
  text-align:left;
}
.skabat-web-overview .skabat-web-record-history-list.is-collapsible .skabat-web-record-row:not(:first-child){display:none}
.skabat-web-overview .skabat-web-record-history-list.is-expanded .skabat-web-record-row{display:grid}
.skabat-web-overview .skabat-web-record-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 112px;
  gap:14px;
  align-items:center;
  padding:14px 0;
}
.skabat-web-overview .skabat-web-record-row>div>strong{font-size:25px;font-weight:900}
.skabat-web-overview .skabat-web-record-row>div>span{font-weight:900}
.skabat-web-overview .skabat-web-record-image{justify-self:end}
.skabat-web-overview .skabat-web-record-image img{
  display:block;
  width:112px;
  height:112px;
  object-fit:cover;
  border-radius:12px;
}
@media(max-width:700px){
  .skabat-web-overview .skabat-web-record-game>summary{padding:0 16px 14px;font-size:24px}
  .skabat-web-overview .skabat-web-record-game>summary>img{
    flex-basis:calc(100% + 32px);
    width:calc(100% + 32px);
    height:220px;
    margin:0 -16px 14px;
  }
  .skabat-web-overview .skabat-web-record-discipline{margin:8px;padding:14px 12px;border-radius:12px}
  .skabat-web-overview .skabat-web-record-row{
    grid-template-columns:minmax(0,1fr) 88px;
    gap:10px;
    padding:12px 0;
  }
  .skabat-web-overview .skabat-web-record-row>div>strong{font-size:22px}
  .skabat-web-overview .skabat-web-record-image img{width:82px;height:82px}
}

/* Ennatykset-nakyma: pelikortit ja ennatykset mobiilin mukaisesti */
.skabat-web-overview .skabat-web-record-game{display:block;margin:0 0 18px;padding:0;overflow:hidden}
.skabat-web-overview .skabat-web-record-game>summary{display:flex;align-items:flex-end;gap:18px;padding:18px 20px;cursor:pointer;list-style:none;font-size:26px;font-weight:900;min-height:190px}
.skabat-web-overview .skabat-web-record-game>summary::-webkit-details-marker{display:none}
.skabat-web-overview .skabat-web-record-game>summary:after{content:'▾';margin-left:auto;color:#2477a9;font-size:24px}
.skabat-web-overview .skabat-web-record-game[open]>summary:after{content:'▴'}
.skabat-web-overview .skabat-web-record-game>summary>img{width:100%;height:250px;object-fit:contain;order:-1;background:#eef4f7;border-radius:12px}
.skabat-web-overview .skabat-web-record-game>summary>span{display:block}
.skabat-web-record-discipline{position:relative;margin:12px;padding:18px 20px;border:1px solid #cfe0e8;border-radius:16px;background:#f7fbfd}
.skabat-web-record-discipline-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.skabat-web-record-discipline-head h3{margin:0;color:#173c55;font-size:22px}
.skabat-web-record-new{border:0;background:none;color:#1976a8;font-weight:900;font-size:18px;cursor:pointer;white-space:nowrap}
.skabat-web-record-history-toggle{display:block;border:0;background:none;padding:0;margin:3px 0 8px;color:#617987;font-weight:800;cursor:pointer}
.skabat-web-record-history-list.is-collapsible .skabat-web-record-row:not(:first-child){display:none}
.skabat-web-record-history-list.is-collapsible.is-expanded .skabat-web-record-row:not(:first-child){display:grid}
.skabat-web-record-row{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:14px;align-items:center;padding:14px 0;border-top:1px solid #d7e4ea}
.skabat-web-record-row strong{display:block;font-size:25px;color:#173c55}
.skabat-web-record-row span{display:inline-block;margin-right:8px;font-size:18px;color:#173c55;font-weight:800}
.skabat-web-record-row time{color:#617987}
.skabat-web-record-row small{display:block;color:#617987;margin-top:5px}
.skabat-web-record-image{display:block;cursor:pointer}
.skabat-web-record-image img{display:block;width:112px;height:112px;object-fit:cover;border-radius:12px}
.skabat-web-record-modal,.skabat-web-record-lightbox{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.72)}
.skabat-web-record-modal[hidden],.skabat-web-record-lightbox[hidden]{display:none!important}
.skabat-web-record-modal__panel{position:relative;width:min(520px,100%);padding:28px;border-radius:18px;background:#fff;color:#173c55}
.skabat-web-record-modal__panel h2{margin:0 0 10px}
.skabat-web-record-modal__panel label{display:block;margin-top:16px;font-weight:800}
.skabat-web-record-modal__panel input{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:12px;border:1px solid #cfe0e8;border-radius:8px}
.skabat-web-record-modal__status{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#eef8f1;color:#176b37;font-weight:700}
.skabat-web-record-modal__status.is-error{background:#fff0f0;color:#a42323}
.skabat-web-record-modal__save:disabled{opacity:.65;cursor:wait}
.skabat-web-record-modal__close{position:absolute;top:12px;right:12px;border:0;background:none;font-size:28px;cursor:pointer}
.skabat-web-record-modal__actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
.skabat-web-record-modal__actions button{padding:10px 18px;border-radius:8px;border:1px solid #8eb5ca;background:#fff;color:#173c55;font-weight:800;cursor:pointer}
.skabat-web-record-modal__save{background:#0876c9!important;color:#fff!important}
.skabat-web-record-lightbox img{max-width:92vw;max-height:88vh;border-radius:14px}
.skabat-web-record-lightbox button{position:absolute;top:20px;right:24px;border:0;background:#fff;color:#173c55;border-radius:50%;width:42px;height:42px;font-size:28px;cursor:pointer}
@media(max-width:700px){
 .skabat-web-overview .skabat-web-record-game>summary{padding:14px 16px;min-height:0;flex-wrap:wrap;font-size:22px}
 .skabat-web-overview .skabat-web-record-game>summary>img{width:100%;height:220px;order:-1}
 .skabat-web-overview .skabat-web-record-game>summary>span{width:calc(100% - 28px)}
 .skabat-web-record-discipline{margin:8px;padding:14px 12px;border-radius:12px}
 .skabat-web-record-discipline-head h3{font-size:20px}
 .skabat-web-record-new{font-size:16px}
 .skabat-web-record-row{grid-template-columns:minmax(0,1fr) 88px;padding:12px 0}
 .skabat-web-record-row strong{font-size:22px}
 .skabat-web-record-image img{width:82px;height:82px}
 .skabat-web-record-modal{align-items:flex-end;padding:0}
 .skabat-web-record-modal__panel{width:100%;border-radius:22px 22px 0 0;padding:22px 18px 28px}
}

/* Ennätykset: pelikuva omalle rivilleen, otsikko sen alle (kuten mobiilisovelluksessa). */
.skabat-web-overview .skabat-web-record-game>summary {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  min-height:0;
  padding:0 20px 18px;
  box-sizing:border-box;
}
.skabat-web-overview .skabat-web-record-game>summary>img {
  flex:0 0 calc(100% + 40px);
  width:calc(100% + 40px);
  height:250px;
  margin:0 -20px 14px;
  object-fit:contain;
  background:#eef4f7;
  border-radius:12px 12px 0 0;
}
.skabat-web-overview .skabat-web-record-game>summary>span {
  flex:1 1 auto;
  width:auto;
  font-size:26px;
}
.skabat-web-overview .skabat-web-record-game>summary:after {
  flex:0 0 auto;
  margin:0 0 0 12px;
}
.skabat-web-overview .skabat-web-record-discipline-head .skabat-web-record-history-toggle {
  order:3;
  flex:0 0 100%;
}
.skabat-web-overview .skabat-web-record-row strong,
.skabat-web-overview .skabat-web-record-row span { font-weight:900; }
@media(max-width:700px){
  .skabat-web-overview .skabat-web-record-game>summary { padding:0 16px 14px; font-size:22px; }
  .skabat-web-overview .skabat-web-record-game>summary>img {
    flex-basis:calc(100% + 32px);
    width:calc(100% + 32px);
    height:220px;
    margin-left:-16px;
    margin-right:-16px;
    margin-bottom:12px;
  }
  .skabat-web-overview .skabat-web-record-game>summary>span { font-size:24px; }
}

/* Ennatykset-nakyman mobiilin mukaiset kortit */
.skabat-web-records-page .skabat-web-record-game{overflow:hidden;padding:0;margin-bottom:16px}
.skabat-web-records-page .skabat-web-record-game>summary{display:flex;align-items:center;gap:16px;padding:18px 20px;cursor:pointer;list-style:none;font-size:24px;font-weight:900}
.skabat-web-records-page .skabat-web-record-game>summary::-webkit-details-marker{display:none}
.skabat-web-records-page .skabat-web-record-game>summary>img{width:120px;height:120px;object-fit:contain;border-radius:12px;background:#eef4f7}
.skabat-web-records-page .skabat-web-record-game>summary>b{margin-left:auto;color:#2477a9;font-size:22px}
.skabat-web-records-page .skabat-web-record-game[open]>summary>b{transform:rotate(180deg)}
.skabat-web-record-disciplines{padding:10px 14px 14px;background:#f5fafc}
.skabat-web-record-discipline{position:relative;margin:10px 0;padding:18px 20px;border:1px solid #cfe0e8;border-radius:16px;background:#f7fbfd}
.skabat-web-record-discipline h3{margin:0 0 6px;font-size:21px;color:#173c55}
.skabat-web-record-discipline-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.skabat-web-record-new{border:0;background:none;color:#1976a8;font-weight:900;font-size:17px;cursor:pointer;white-space:nowrap}
.skabat-web-record-current,.skabat-web-record-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:12px;align-items:center;margin-top:10px}
.skabat-web-record-current strong,.skabat-web-record-row strong{display:block;font-size:24px;color:#173c55}
.skabat-web-record-current b,.skabat-web-record-row span{display:inline-block;font-size:17px;color:#173c55;font-weight:800;margin-right:8px}
.skabat-web-record-current time,.skabat-web-record-row time{color:#617987}
.skabat-web-record-image{display:block;border:0;background:none;padding:0;cursor:pointer}
.skabat-web-record-image img{display:block;width:104px;height:104px;object-fit:cover;border-radius:12px}
.skabat-web-record-empty{font-size:18px;color:#617987;margin:14px 0 0}
.skabat-web-record-history-toggle{border:0;background:none;padding:0;color:#617987;font-weight:800;cursor:pointer}
.skabat-web-record-history-list.is-collapsible .skabat-web-record-row:not(:first-child){display:none}
.skabat-web-record-history-list.is-collapsible.is-expanded .skabat-web-record-row:not(:first-child){display:grid}
.skabat-web-record-lightbox{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:rgba(0,0,0,.82)}
.skabat-web-record-lightbox[hidden]{display:none!important}
.skabat-web-record-lightbox img{max-width:92vw;max-height:88vh;border-radius:14px}
.skabat-web-record-lightbox button{position:absolute;top:20px;right:24px;border:0;background:#fff;color:#173c55;border-radius:50%;width:42px;height:42px;font-size:28px;cursor:pointer}
@media(max-width:700px){
 .skabat-web-records-page .skabat-web-record-game>summary{padding:14px 16px;font-size:21px}
 .skabat-web-records-page .skabat-web-record-game>summary>img{width:100%;height:190px;order:-1}
 .skabat-web-records-page .skabat-web-record-game>summary{flex-wrap:wrap}
 .skabat-web-records-page .skabat-web-record-game>summary>span{width:calc(100% - 28px)}
 .skabat-web-record-disciplines{padding:4px 8px 10px}
 .skabat-web-record-discipline{padding:14px 12px;border-radius:12px}
 .skabat-web-record-discipline h3{font-size:19px}
 .skabat-web-record-new{font-size:15px}
 .skabat-web-record-current,.skabat-web-record-row{grid-template-columns:minmax(0,1fr) 82px}
 .skabat-web-record-image img{width:78px;height:78px}
}

.skabat-privacy h1 {
    margin-bottom: 4px;
    color: #102b3d;
    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.2;
}

.skabat-privacy h2 {
    margin: 32px 0 8px;
    color: #1e6fa8;
    font-size: 22px;
}

.skabat-privacy p,
.skabat-privacy ul {
    margin: 0 0 16px;
}

.skabat-privacy-updated {
    color: #607789;
    font-size: 14px;
}

#masthead {
    display: none !important;
}

.skabat-header {
    position: static;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #d9e1e8;
    box-shadow: 0 3px 14px rgba(20, 30, 45, .08);
}

.admin-bar .skabat-header {
    top: 32px;
}

.skabat-header__sisalto {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 10px 18px;
}

.skabat-header__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:10px;
}

.skabat-header__logo {
    display:block;
    margin:0;
    color: #174f79;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.turnaus-paavalikko {
    margin: 0;
}

.turnaus-paavalikko ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.turnaus-paavalikko li {
    margin: 0;
}

.turnaus-paavalikko__link {
    display: block;
    padding: 9px 13px;
    color: #263445;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid #cbd3dc;
    border-radius: 7px;
    background: #fff;
}

.turnaus-paavalikko__link:hover,
.turnaus-paavalikko__link:focus-visible {
    color: #fff;
    background: #34495e;
    border-color: #34495e;
}

.turnaus-paavalikko__link.is-active {
    color: #fff;
    background: #1e6fa8;
    border-color: #1e6fa8;
}

@media (max-width: 782px) {
    .admin-bar .skabat-header {
        top: 46px;
    }

    .skabat-header__sisalto{
        display:block;
        padding:7px 8px;
    }

    .skabat-header__top{
        display:flex;
        align-items:center;
        justify-content:space-between;
        margin-bottom:8px;
    }

    .turnaus-paavalikko{
        width:100%;
    }

    .turnaus-paavalikko ul{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
    }

    .skabat-header__logo {
        flex: 0 0 auto;
        margin: 0;
        font-size: 1.1rem;
    }

    .turnaus-paavalikko {
        min-width: 0;
        flex: 1 1 auto;
    }

    .turnaus-paavalikko ul {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 1px 2px 3px;
        scroll-behavior: smooth;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .turnaus-paavalikko ul::-webkit-scrollbar {
        display: none;
    }

    .turnaus-paavalikko li {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }

    .turnaus-paavalikko__link {
        min-height: 34px;
        padding: 7px 10px;
        font-size: .75rem;
        line-height: 18px;
        white-space: nowrap;
    }
}

.wr-controls {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    gap: 8px !important;       /* spacing between button and dropdown */
    margin-bottom: 18px !important;
    margin-right:8px !important;
    margin-top: 8px !important;
    align-items: center !important; /* vertical alignment */
}

/* Button styling */
.wr-sort-btn {
    height: 40px !important;         /* fixed height */
    line-height: 40px !important;
    font-size: 0.9rem !important;
    padding: 0 14px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Dropdown styling */
#wf-game-filter,
#wr-game-filter {
    height: 40px !important;        /* same height as button */
    line-height: 40px !important;
    font-size: 0.9rem !important;
    padding: 0 10px !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    max-width: 200px !important;   /* prevent overflow */
    width: 100% !important;        /* shrink on small screens */
}

.wr-list { display:grid; gap:14px; }
.wr-card { background:#fff; border-radius:16px; padding:14px 16px; box-shadow:0 6px 14px rgba(0,0,0,.08); border-left:6px solid #16a34a; }
.wr-card.wr-highlight { border-left-color:#f59e0b; background:#fef7e0; }
.wr-header { display:flex; justify-content:space-between; }
.wr-record { font-size:1.3rem; font-weight:800; }
.wr-date { font-size:.85rem; color:#555; }
.wr-row { font-size:.95rem; line-height:1.4; margin-top:4px; }

.wr-days {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #374151;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.wr-improve {
    margin-top: 4px;
    font-size: 0.85rem;
    color: #065f46;
    background: #ecfdf5;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.wr-standing {
    margin-top: 6px;
    font-size: 0.85rem;
    color: #1f2933;
    background: #eef2ff;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.wr-badge-legendary {
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* WR Tier -badget */
.wr-badge-wr-veteran{
    margin-left:8px;
    padding:2px 8px;
    background:#16a34a; /* vihreä */
    color:#fff;
    border-radius:999px;
    font-size:0.7rem;
    font-weight:700;
}

.wr-badge-wr-legendary{
    margin-left:8px;
    padding:2px 8px;
    background:#2563eb; /* sininen */
    color:#fff;
    border-radius:999px;
    font-size:0.7rem;
    font-weight:700;
}

.wr-badge-wr-mythic{
    margin-left:8px;
    padding:2px 8px;
    background:linear-gradient(135deg,#f59e0b,#ef4444); /* kulta/punainen */
    color:#fff;
    border-radius:999px;
    font-size:0.7rem;
    font-weight:700;
    box-shadow:0 2px 6px rgba(0,0,0,.25);
}

.wr-badge-wr-eternal{
    margin-left:8px;
    padding:2px 10px;
    background:linear-gradient(135deg,#7c3aed,#ec4899); /* violetti/vaaleanpunainen */
    color:#fff;
    border-radius:999px;
    font-size:0.7rem;
    font-weight:800;
    text-transform:uppercase;
    box-shadow:0 2px 8px rgba(0,0,0,.35);
}


.scoresdiv{
    margin-bottom:1em;
}

.scoresfit{
    margin-right:1em;
}

.qty-control-vertical {
  display: inline-flex;
  flex-direction: column;   /* stack children vertically */
  align-items: center;      /* center horizontally */
  width: 60px;              /* adjust width as needed */
}

.qty-control-vertical .qty {
  width: 100% !important;
  height: 44px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 8px 8px 0 0;  /* rounded top corners */
  margin: 0 !important;
  -moz-appearance: textfield;
}

.qty-control-vertical .qty::-webkit-inner-spin-button,
.qty-control-vertical .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0 !important;
}

.qty-control-vertical .qty-btn.plus {
  width: 100% !important;
  height: 44px;
  border: 1px solid #ccc;
  border-top: none;          /* merge with input */
  border-radius: 0 0 8px 8px; /* rounded bottom corners */
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-control-vertical .qty-btn.plus2 {
  width: 100% !important;
  height: 44px;
  border: 1px solid #ccc;
  border-top: none;          /* merge with input */
  border-radius: 0 0 8px 8px; /* rounded bottom corners */
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}


.lajidiviwthbox.inactive {
  opacity: 0.4;
  pointer-events: none; /* optional: disables interaction */
}

.lajidiviwthbox.inactive .corner-checkbox {
  pointer-events: auto; /* keep checkbox clickable */
}

.lajidiviwthbox{
    position: relative; 
}

.skabat-random-discipline-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin: 12px 0 8px;
}

.skabat-random-discipline-controls span {
  color: #64748b;
  font-size: 12px;
}

.skabat-random-discipline {
  background: #1e6fa8;
  border: 0;
  border-radius: 9px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 13px;
}

.lajidiviwthbox.skabat-random-selected {
  background: #fff8d9 !important;
  border: 2px solid #e8a916 !important;
  box-shadow: 0 3px 10px rgba(166, 107, 0, .2);
}

.skabat-next-discipline-badge {
  background: #f4c542;
  border-radius: 999px;
  color: #5f4300;
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  margin-left: 8px;
  padding: 3px 7px;
}

.skabat-wr-standing {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 3px 8px 7px;
}

.skabat-wr-badge {
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
}

.skabat-wr-badge-veteran { background: #e8d4bd; color: #70451e; }
.skabat-wr-badge-legendary { background: #e5e7eb; color: #374151; }
.skabat-wr-badge-mythic { background: #fef3c7; color: #92400e; }
.skabat-wr-badge-eternal { background: #ede9fe; color: #5b21b6; }
.skabat-wr-age { color: #607687; font-size: 11px; font-weight: 700; }
.pelimg { background: transparent !important; object-fit: contain; }

.skabat-modal-winner-card {
    background: #fff;
    border: 1px solid #b9d5e7;
    border-radius: 12px;
    margin: 14px 0;
    padding: 14px;
}

.skabat-modal-winner-card h3 {
    color: #183246;
    margin: 0 0 7px;
}

.skabat-modal-winner-card > p {
    color: #587184;
    font-size: 13px;
    line-height: 1.45;
    margin: 0 0 12px;
}

.skabat-modal-winner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skabat-modal-winner-button {
    align-items: center;
    background: #edf4f8;
    border: 1px solid #c6d6e1;
    border-radius: 10px;
    color: #24465e;
    cursor: pointer;
    display: flex;
    flex: 1 1 100px;
    flex-direction: column;
    min-width: 90px;
    padding: 9px;
}

.skabat-modal-winner-button img {
    background: transparent;
    height: 58px;
    margin-bottom: 5px;
    object-fit: contain;
    width: 100%;
}

.skabat-modal-winner-button strong {
    font-size: 13px;
}

.skabat-modal-winner-button small {
    color: #dff5e7;
    font-size: 10px;
    font-weight: 800;
    margin-top: 3px;
}

.skabat-modal-winner-button.is-current {
    background: #287a49;
    border-color: #287a49;
    color: #fff;
}

.skabat-modal-winner-button.is-saving {
    opacity: .7;
}

.disFlex.flexrowdis.skabat-game-amount-row {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.skabat-game-amount-row > #gameAmount {
    flex: 0 0 auto;
    min-width: 0;
    width: 100% !important;
}

#gameAmount.skabat-fixed-count-disabled {
  opacity: .35;
}

.skabat-random-max-controls {
  align-items: center;
  background: #f3f8fc;
  border: 1px solid #cbdce8;
  border-radius: 10px;
  display: none;
  box-sizing: border-box;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: flex-start;
    padding: 9px 10px;
    width: 100%;
}

.skabat-random-max-controls.is-visible {
  display: flex;
}

.skabat-random-max-controls > span {
    color: #405d72;
    flex: 1 1 auto;
    font-size: 10px;
    font-weight: 900;
    text-align: left;
}

.skabat-random-max-controls button {
  align-items: center;
  background: #1e6fa8;
  border: 0;
  border-radius: 7px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  padding: 0;
  width: 38px;
}

.skabat-random-max-controls strong {
  color: #173247;
  font-size: 17px;
  min-width: 30px;
  text-align: center;
}

.skabat-random-max-controls small {
    color: #287a49;
    flex: 0 0 auto;
    font-size: 10px;
    font-weight: 800;
    margin-left: auto;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 560px) {
  .disFlex.flexrowdis.skabat-game-amount-row {
    flex-direction: column;
  }

  .skabat-game-amount-row > #gameAmount,
  .skabat-random-max-controls {
    flex-basis: auto;
    width: 100% !important;
  }

  .skabat-random-max-controls {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .skabat-random-max-controls > span {
    flex: 1 1 auto;
    text-align: left;
  }

  .skabat-random-max-controls small {
    flex: 0 0 auto;
    margin-left: auto;
    white-space: nowrap;
  }
}

.corner-checkbox {
  position: absolute;
  top: 6px;
  left: 6px;
}

.canvasholder{
    width: 100%;
}
.actualcanvas{
    width: 100%;        /* canvas scales to fill parent */
    height: auto;       /* keep aspect ratio */
    display: block; 
}
.tdmaxpis{min-width:20px;}
.tdrelative{
    position:relative;
}
.timet{
    position: absolute;
    bottom: 0px;
    left: 14px;
    font-size: 11px;
}
.plamspan{
    width: 10em;
    font-weight: bold;
    margin: 7px 0px 0px 0px !important;
}
.plamsel{
    width: 5em;
}

dd{
    margin: 0 1.5em 0em !important;
}
.ddsize{
    font-weight: 700;
    font-size: 1.2em;
}
.vsel1{
    width:100%;
    height: 100%;
    object-fit:fill;
}
.vsel2{
    width:40%;    
    height:100%;
}
.vsel3{
    width:20%;
}
.vsel4{
    margin-top:20px;
    margin-bottom:10px;
}
.vsel5{
    padding-right: 10px;
    padding-left:10px;
    height: 180px;
    width:100%;
}
.vsel6{
    height: 230px;
    width: 100%;
}
.ennatyscontentdiv{
    max-width: 500px;
    padding: 13px !important;
    
}
.turnotsikkomain{
    display:flex;
    justify-content: space-between;
}

/* Turnaukset: saman peli-illan/-session kierrokset yhdeksi kokonaisuudeksi. */
.turnauslista {
    overflow: visible !important;
}

.tuutable {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.tuutable > thead {
    display: none;
}

.tuutable .pelisessio-otsikko td {
    padding: 18px 16px 12px !important;
    color: #fff;
    background: linear-gradient(135deg, #1e6fa8, #174f79);
    border: 0 !important;
    border-radius: 12px 12px 0 0;
}

.tuutable .pelisessio-otsikko {
    cursor: pointer;
}

.tuutable .pelisessio-otsikko:focus-visible td {
    outline: 3px solid #f6b73c;
    outline-offset: -3px;
}

.tuutable .pelisessio-otsikko:not(:first-child) td {
    border-top: 22px solid #fff !important;
}

.pelisessio-otsikko__nimi,
.pelisessio-otsikko__tiedot,
.pelisessio-otsikko__voittaja {
    display: block;
}

.pelisessio-otsikko__sisalto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.pelisessio-otsikko__nimi {
    margin-bottom: 3px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .01em;
}

.pelisessio-otsikko__tiedot {
    font-size: .9rem;
    font-weight: 600;
    opacity: .9;
}

.pelisessio-otsikko__voittaja {
    margin-top: 7px;
    font-size: .9rem;
    font-weight: 700;
}

.pelisessio-otsikko__kuva {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    object-fit: contain;
    border: 0;
    border-radius: 9px;
    background: transparent;
    transform: scale(1.12);
}

.tuutable .pelisessio-kuvat td {
    padding: 12px 14px !important;
    background: #eaf4fa;
    border: 0 !important;
    border-bottom: 1px solid #c9dae5 !important;
}

.pelisessio-kuvat__sisalto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pelisessio-kuvat__sisalto strong,
.pelisessio-kuvat__sisalto span {
    display: block;
}

.pelisessio-kuvat__sisalto strong {
    color: #23465e;
    font-size: .88rem;
}

.pelisessio-kuvat__sisalto span {
    max-width: 520px;
    margin-top: 3px;
    color: #60788a;
    font-size: .74rem;
    line-height: 1.35;
}

.pelisessio-kuvat__napit {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.pelisessio-kuvat__napit form {
    margin: 0;
}

.pelisessio-kuvat__nappi {
    display: inline-flex !important;
    align-items: center;
    min-height: 38px;
    margin: 0 !important;
    cursor: pointer;
    white-space: nowrap;
}

.tuutable .pelisessio-kierros td {
    padding: 13px 14px !important;
    background: #f7fafc;
    border-color: #d8e1ea !important;
    border-top: 0 !important;
}

.tuutable .pelisessio-kierros:hover td {
    background: #edf5fa;
}

.tuutable .pelisessio-kierros td::after {
    content: "Näytä / piilota kierros";
    display: block;
    margin-top: 4px;
    color: #557086;
    font-size: .72rem;
    font-weight: 600;
}

.tuutable .tourtoggle > td {
    padding: 12px !important;
    border: 1px solid #d8e1ea !important;
    border-top: 0 !important;
    background: #fff;
}

.turnaus-toiminnot {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.turnaus-toiminnot > div {
    display: contents;
}

.turnaus-toiminnot .gameb {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 10px;
    line-height: 1.2;
    white-space: normal;
}

@media (max-width: 600px) {
    .tuutable .pelisessio-otsikko td {
        padding: 15px 13px 10px !important;
        border-radius: 10px 10px 0 0;
    }

    .tuutable .pelisessio-otsikko:not(:first-child) td {
        border-top-width: 16px !important;
    }

    .tuutable .pelisessio-kierros td {
        padding: 11px 12px !important;
        font-size: .92rem;
    }

    .tuutable .tourtoggle > td {
        padding: 7px !important;
    }

    .pelisessio-otsikko__kuva {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
    }

    .pelisessio-kuvat__sisalto {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .pelisessio-kuvat__napit {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .pelisessio-kuvat__nappi {
        justify-content: center;
        width: 100%;
        white-space: normal;
    }

    .turnaus-toiminnot {
        gap: 7px;
        margin: 13px 0;
    }

    .turnaus-toiminnot .gameb {
        min-height: 48px;
        font-size: .82rem;
    }
    .skabat-header__group-options{
        min-width:180px;
        max-width:calc(100vw - 16px);
    }
}

.spectd{
    width: 35px !important;
    padding: 0em !important;
    margin: 0em !important;
    text-align: center;
}
input[type="text"]{
    padding:12px 5px 12px 5px !important;
}

.pictd{
    padding: 0em !important;
    margin: 0em !important;
    text-align: center;
}
.editiconscss4{
    max-height: 43px;
  /*  max-width: 55px;*/
    display:block; 
    width:100%; 
    height:auto;
    object-fit: fill;
}
.editiconscss5{
    max-height: 76px;
    display:block; 
    max-width: 120px;
    width:100%; 
    height:auto;
    margin-left:5px;
}
.editconscss5v2{
    max-height: 72px;
    display: block;
    max-width: 80px;
    width: 80px;
    height: 72px;
    margin-left: 5px;

}

.editconscss5v3{
    height: 100%;
    width: 100%;
    object-fit: contain;

}
.gamew1{
    max-width:140px; width:140px;  min-width:140px; 
}
.gamew1v2{
    max-width:40px; width:40px;  min-width:40px; 
}
.gamew1t{
    width:1px;
}

.gamew2{
    max-width:40px; width:40px;  min-width:40px; 
}
.gamew2t{
    max-width:35px; width:35px;  min-width:35px; 
}

.gamew3{
    max-width:80px; width:80px; min-width:80px;
}

.gameb{
    margin-bottom:15px;
    margin-right:15px;
    padding: 9px 6px 9px 6px;
}

.gameb2{
    padding: 9px 6px 9px 6px;
    margin-bottom:4px;
}

.gameb3{
    margin-right:5px;
}
.gameb4{
    margin-left: 10px;
    padding: 7px 15px 7px 15px;
}
.gameb5{
    padding:10px;
}
.wrcheckbclass{
    z-index: 9999;
}
.prevpic{
    margin-bottom:20px;
}

.talleft{
    text-align:left !important;
}

.kokpis{
    text-align:right;
}
.kokpistext{
    margin-right: 15px;
}
.boldness{
    font-weight: bold;
}

.centerTe{
    text-align:center;
}

.inputttd{
    padding: .1em !important;
}

.turnrowelement{
    height: 27px !important;
}
.kokpistr{ background-color: #EEE !important; }

.tourtoggle{
    display:none;
}

.cursortr{
    cursor:pointer;
}

.mobilesc2{
    display:none;
}
.initialhide{display:none ;}

.initialhideprev{ display:none;}

.wrasbut{
    height: auto;
    padding: 5px;
    width: 8em;
}
.gamenp{
    font-weight:bold;
    text-align: center;
    font-size: 24px;
    margin-bottom: 3px !important;
}
.floatR{ float:right; }
.colRed{ color:red; }

.editiconscss2{
    width:25px;
    margin: 0px 0px 0px 0px;
}

.editiconscss6{
    width:23px;
    margin: 3px 0px 0px 0px;
}

.editiconscss7{
    width:23px;
    margin: 0px 0px 0px 0px;
}

.editiconscss8{
    width:23px;
    margin: 1px 0px 0px 0px;
}
.emptyPw{ width: 26px; }
.rotate {
    transition: transform 0.2s;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.plimgw{
    width: 300px;
    padding: 0.2em;
    border-radius: 0.5em;
    height: fit-content;
}
.plimghide{
    display: none;
}

.miikaColor{
    background-color: #ff00fb;
}
.aleksiColor{
    background-color: #00aba9;
}
.kristianColor{
    background-color: #10a107;
}
.picdivider{
    width:15px;
    height: 20px;
}


.largeennatys{
    display:unset;
}

.smallennatys{
    display:none;
}

.largetilasto{
    display:unset;
}

.smalltilasto{
    display:none;
}
.disFlex{
    display:flex;
}
.inpwinp{
    width: 5rem !important;
    margin-bottom: 15px !important;
    margin-top: 6px;
}

.inpwinp2{
    width: 4rem !important;
    margin-bottom: 15px !important;
    margin-top: 6px;
}

.inpwinpmargin{
    margin-right:15px;
}
.spanip{
    width:5rem !important;
    font-size: 21px;
    font-weight: bold;
    margin-bottom: 15px !important;
    margin-top: 8px;
}
.spanip2{
    width: 5rem !important;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px !important;
    margin-top: 13px;
}
.flexcoldis{
    flex-direction: column;
}
.flexrowdis{
    flex-direction: row;
}
.flexrowdistilasto{
    flex-direction: row;
}
.flexCenter{
    justify-content:center;
}

.flexLeft{
    justify-content:flex-start;
}
.wii50{ width: 50%; }
.wi33{
    width: 33.3%;
    margin: 4px 0px 4px 4px !important;
    font-weight: bold !important;
}
.pelimg{
    width: 270px;
    height: auto;
    margin-bottom: 15px;
}
.pelimg2{
    width: auto;
    height: 100%;
}
.tilimage{
    height: 180px;
}
.tilastobox{
    
    box-sizing: border-box;
    margin: 10px auto 10px auto;
    width: 90%;
    height: 100%;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 1);
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 3px;
    background: #fff;
    position: relative;
    background-color: beige !important;
}
.bgCol{
    background-color:beige !important;
}

.bgCol2{
    background-color:white;
    border: 1px solid black;
    border-radius: 5px;
    margin: 3px;
}
.bgCol3{
    background-color:#FFF !important;
}
.bgCol4{
    background-color:#EEE !important;
}

.tabcontent {
    padding:0px 0px !important;
}
.wrhead{
    margin: 4px 0px 6px 0px !important;
}
.mindw{min-width:9em;}

.vertop{ vertical-align: top; }

.pictutd{ padding: 0em !important; }

.tdminw1{ min-width: 195px !important; }

.tdminw2{ min-width: 140px !important; }

.wp-block-table{
    padding:4px !important;
}
#sofmana{
    width: 100%;
  height: 400px;
}
.som{
    padding:4px !important;
}

#sombutton{
    width: 150px;
    margin: 5px 0px 5px 5px;
}
.tilrow{
 /*   margin:4px 0px 2px 0px;*/
}

.poppadding{
    padding: 5px !important;
}








.nawid{
    width: 38%;
}
.marrkuvio{
    margin-top:1em;
}
.psac-slider-and-carousel .owl-nav .owl-next, .psac-slider-and-carousel .owl-nav .owl-prev {
    border: unset !important;
    background: unset !important;
}

.psac-slider-and-carousel .owl-nav .owl-next:hover, .psac-slider-and-carousel .owl-nav .owl-prev:hover, .psac-slider-and-carousel .owl-nav .owl-next:focus, .psac-slider-and-carousel .owl-nav .owl-prev:focus {
    background: #8d0034 !important;
    border-color: #8d0034 !important;    
}

div.psac-post-overlay {
    border: unset !important;
  /*  transform: translateY(-50%) translateX(30%) !important;*/
    background: unset !important;
}

.fparticlecolumns{
    display:Flex;
    justify-content:center;
}
.articlehaku > div{
    height:20px !important;
}
.articlehaku > div > input{
    height:27px !important;
}
.articlehaku > div > button{
    height:27px !important;
    padding: 0px 2px 0px 2px !important;
}
/*
.wp-block-search__inside-wrapper .wp-block-search__input {
    height:27px !important;
}*/
.websiteic{
    width:23px;
}
.editiconscss{
    width:35px;
    margin: 0px 5px 0px 5px;
}
.editiconscss3{
    width:50px;
    margin: 0px 5px 0px 5px;
}


.editiconscssga{
    width:25px;
    margin: 0px 5px 5px 10px;
    cursor: pointer;
}

.disa{
    background-color: #EBEBE4 !important;
}
.editicth{
    max-width:1.5em;
}
.editictd{
    text-align:center;
    padding: unset !important;
    width: 10%;
    min-width: 6em;
}
.editictd2{
    text-align:center;
    padding: unset !important;
    width: 10%;
    min-width: 8em;
}
.hvalue{
    width: 90%;
}
.editiconscss:hover{
    cursor:pointer;
}

.esmarg{
    margin-right:20px;
}
.sucmsg{
    color: green;
}
.errmsg{
    color: red;
}
.sukutab > tbody > tr > td{
    background-color:white;
}
.flex-direction-nav a:before {
    color: #8d0034 !important;    
    font-size: 35px !important;
}

.imgflex{
    width: 86px;
    height: 100px;
    justify-content: center;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.imgflexnew{
    width: 190px;
    height: 100px;
    justify-content: center;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    
}
.imgflex2{
    flex: 1;
    height: 100%;
}
.imgflex3{
    display: block;
    max-width:190px;
    max-height:95px;
    width: auto;
    height: auto;
}

.fin1{
    justify-content: flex-start; 
    display: flex; 
    width: 65% !important;
}
.fin2{
    justify-content: flex-end; 
    display: flex; 
    width: 20%;
    margin-left:10%;
    margin-right:5%;
    justify-content: center;
}

.troukuvamar{
    margin-left:15px;
}

.kasd1{
   display: flex; 
   flex-direction: column; 
   border: 1px solid black; 
   border-radius: 5px; 
   background-color: white;
   margin-top: var(--wp--preset--spacing--30);  
   margin-bottom: var(--wp--preset--spacing--30);  
   padding: 2em 2em 1.5em 2em; 
}
.kasd2{
    display: flex;
    flex-direction: row;
    
}
.kasd3{
    display: flex; 
    flex-direction: column;
    width: 100%; 
    padding-left: 2em;
}
.kasd4{
    display: flex; 
    flex-direction: row; 
    width: 100%;
}
.kasd5{
    width: 50%;
}
.kasd6{
    justify-content: flex-end; 
    display: flex; 
    width: 50%;
}

.fullwid{
    display:flex;
    width: 100%;
    height: 100%;
    justify-content: center; 
}
.fullwid2{
    display:flex;
    width: 100%;
    justify-content: flex-start; 
    margin-left:1em;
}
.otatextarea {
  resize: none;
  width: 100%;
  height: 9em;
}
.otayht2{
    flex-direction: column;
}
.otayht3{
    display:flex;
    justify-content:center;
}
.otayhtmar{
    margin:1.5em;
}

.kasd7{
    display: flex; 
    flex-direction: row; 
    width: 100%;
}
.kasd8{
    
}
.pbp{
    margin-bottom: 0.6em !important;
}
.svgw{
    width: 25px !important;
    height: 25px !important;
}
.wp-spaios-title > a {
    color: var(--ast-global-color-0) !important;
}
input[type="text"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type=reset]:focus, input[type="tel"]:focus, input[type="date"]:focus, select:focus, textarea:focus {
    border-color: #8d0034 !important;
    border-style: solid !important;
}

.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
} 
        
        
#comments{
    display:none;
}

input, select{
    color:black !important;
}
input[type="submit"], input[type="button"]{
    background-color: #8d0034;
    color: white !important;
}

input[type="submit"]:hover{
    background-color: #8d0034;
}
input[type="submit"]:focus{
    background-color: #8d0034;
}
input[type="button"]:hover{
    background-color: #8d0034;
}
input[type="button"]:focus{
    background-color: #8d0034;
}

.custom-header, .fc-head, .fc-today, p.TotalSoftcalEvent_Title {
    background-color: #8d0034 !important;
}
.custom-content-reveal > h4{
    background-color: #8d0034 !important;
}
.wpda-datatable > tfoot{
	display:none;
}

.wpda-datatable tr:nth-child(n+6) {
  display: none;
}

.dataTables_info{
	display:none;
}

.jslab{
	display:inline-block;
	width: 45%;
	margin-left: 2%;
	margin-right: 2%;
}

.tuomrow{
	border: 1px solid black;
	border-radius:5px;
}

.flotL{
	display:inline-block;
	float:left;
	width: 45%;
	margin-left: 2%;
	margin-right: 2%;
}

.jssel{
	display:inline-block;
	width:50%;
	margin:25px 25% 0 25%;
}

.jslon{
	display:inline-block;
	margin: 0 2% 0 2%;
  width: 94%;
}
.jssub{
	margin-left: 2%;
}

.formlab{
	width: 18%;
	display:inline-block;
	float:left;
    margin-bottom: 10px;
}

.marr{ margin-right:2%; }

.marr1{	margin-right:1%; }
.marl1{	margin-left:1%; }

.mache{
	margin-top: 25px;
}

.formsfilein, .formsele2{
	width: 97% !important;
}

.addrowp{
	float: left;
  text-align: center;
	margin: 10px 0 0 10px;
}

.imgladd{
	float:left;
	margin: 10px 0 0 0;
	cursor:pointer;
}


.hidedi{
    margin-top:10px;
	/*display:none;*/
}

.hided{
	display:none;
}

.martopp{
	margin-top:2em;
}


.formcb {
    display: inline-block;
    background: #e9eef2;
    color: #555;
    clear: none;
    cursor: pointer;
    line-height: 0;
    height: 1.2em;
    margin: -3px 4px 0 0;
    outline: 0;
    padding: 0;
    border-radius: 0.2em;
    text-align: center;
    vertical-align: middle;
    width: 1.4em;
    min-width: 1.4em;
    transition: all .2s linear;
}

.formcbspan{
	display: inline-block;
	margin: 0 0 0 1em;
}

.isailab{
/*	width: 350px;*/
    width: 100%;
	display: inline-block;
}
.formmtop{
	margin-top: 1.5em;
}
.marri{
	margin-right: 20px;
}
.dispinli{
	display: inline-block;
}
.dispblock{
	display: block;
}
.textDeco{
	text-decoration: unset !important;
	color: #8d0034;
}

.textDeco:hover{
	color: #8d0034;
}

.textDeco:focus{
	color: #8d0034;
}

.entry-meta{ color: #8d0034 !important; }
.published{ color: #8d0034 !important; }
.author-name{ color: #8d0034 !important; }
.nav-previous > a:hover{ color: #8d0034 !important; }
.nav-next > a:hover{ color: #8d0034 !important; }
a[rel=category] {
color: #8d0034 !important;
}
.wp-spaios-title > a { color: #8d0034 !important; }
.nobackr{
	background: #F6F6F6 !important;
}

.giverek td{
	border: unset;
}

.grb{
	background-color: green !important;
}

.mrgb{
	margin-bottom: 1.3em;
}

.reb{
	background-color: red !important;
}
.fullblock{
	
}
.innerblock{
	display:block;
}
.oneblock{
	display:inline-block;
	width:31%;
}
.oneblock2{
	display:inline-block;
	width:62%;
}

.blockrow{
	background-color: white;
	padding: 20px;
	border-radius: 5px;
	margin-bottom: 2em;
    border: 1px solid rgb(0,0,0);
}


.sukutab td{
	padding: 0.1em 0 0.1em 0.5em !important;
    height: 25px;
	width: 33%;
}

.emrow{
	height:10px;
}
.suklabel{
	display:inline-block;
	width:48%;
}

.sisp{
	margin-bottom: unset !important;
}
.edkatd{
    width:33%;
}

.startp{
	margin-top: 1em !important;
}

.halfd{
    width: 47%;
    display:inline-block;
}

.dblock{
    display:block;
}

.addRs{
    padding: 15px;
    border: 1px solid #D1D5DB;
    border-radius: 5px;
    min-width:270px;
}

.lmin1{
    min-width:240px;
}
.lmin2{
    min-width:110px;
    max-width:110px;  
}
.lmin3{
    min-width:130px;
}
.lmin4{
    min-width:190px;
}
.lmin5{
    min-width:190px;
}


tbody tr:nth-child(odd) {
    background-color: #FFF;
}
tr:nth-child(even) {
    background-color: #EEE;
}
thead {
    background-color: #EAEAEA;
    font-weight: bold;
   /* padding: 15px 10px;*/
    border-bottom: 2px solid #CCC;
}
th, td {
    border: 1px solid #eaeaea !important;
 /*   padding: 8px 10px !important;*/
    word-wrap: break-word;
    text-overflow: ellipsis;
    text-align: left;
    
    width: 1px;
    white-space: nowrap;
}   





/* Popup Open button */ 
.open-button{
    color:#FFF;
    background:#0066CC;
    padding:10px;
    text-decoration:none;
    border:1px solid #0157ad;
    border-radius:3px;
}
 
.open-button:hover{
    background:#01478e;
}
 
.popup {
    position:fixed;
    top:0px;
    left:0px;
    background: rgba(0,0,0,0.75);
    width:100%;
    height:100%;
    display:none;
    max-width: unset !important;    
	overflow-y:auto;
	z-index:100;
}
 
/* Popup inner div */
.popup-content {
    width: min-content;
    min-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 40px;
    margin-top: 130px;
	margin-bottom: 40px;
    box-shadow: 0px 2px 6px rgba(0,0,0,1);
    border-radius: 3px;
    background: #fff;
    position: relative;
}

/* Popup inner div */
.popup-content2 {
    width: 90% !important;
}
 
/* Popup close button */
.close-button {
    width: 28px;
    height: 28px;
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 20px;
    background: rgba(0,0,0,0.9);
    font-size: 14px;
    text-align: center;
    color: #fff;
    text-decoration: none !important;
}
 
.close-button:hover {
    background: rgba(0,0,0,1);
}

@media screen and (max-width: 880px) {
.popup-content {
    width:90%;
    } 
    
    .oneblock {
        width: 100%;
    }
    
    .grb{
        margin:10px;
    }
    .reb{
        margin:10px;
    }
    .frontima{
        width:100%;
        text-align:center;
        margin-bottom: 10px;
    }

}
 
@media screen and (max-width: 720px) {
    .popup-content {
        width:90%;
        min-width: 300px;
    } 
    
    .oneblock {
        width: 100%;
    }
    
    .grb{
        margin:10px;
    }
    .reb{
        margin:10px;
    }
    .otayht3{
        flex-direction:column;
    }
    .mobilesc{
        display:none;
    }
    .mobilesc2{
        display:revert;
    }
    
    .smallennatys{
        display:unset;
    }
    
    .largeennatys{
        display:none;
    }
    .smalltilasto{
        display:unset;
    }
    
    .largetilasto{
        display:none;
    }
    .wii50{
        width:100%;
    }
    .flexrowdistilasto{
        flex-direction: column;
    }
    .mainPicsam{
        flex-direction: column;
    }
}

@media screen and (max-width: 940px) {
    .popup-content {
        width:90%;
    } 
    
    .smallennatys{
        display:unset;
    }
    
    .largeennatys{
        display:none;
    }
    
    .smalltilasto{
        display:unset;
    }
    
    .largetilasto{
        display:none;
    }
    
}


@media screen and (max-width: 780px) {
    .fpcolu{
        flex-direction: column-reverse;
    }
    
    .imgflexnew2{
        width: auto;
    }

    .kasd2w{
        flex-direction: column;
    }
    
    .kasd7v2{
        flex-direction: column;
    }
    
    .kasd6v2{
        
        width:100%;
        justify-content: flex-start;
    }
    .kasd5v2, .kasd5v3{ 
        width:100%;   
    }
    .kasd4v2{
        flex-direction: column-reverse;
    }
    .kasd6v3{
        justify-content: center;
        width: 100%;
    }
}



/*.ast-header-break-point .ast-builder-menu-mobile*/

@media screen and (max-width: 1200px){
.main-navigation {
    display: block !important;
}
}

/*
.ast-menu-toggle{
    width:97%;
    width: -moz-available;         
    width: -webkit-fill-available; 
    width: fill-available;
    text-align:right !important;
    
}
*/



.wr-standing strong,
.wr-days strong{
    display:inline-block;
    word-break:break-word;
    line-height:1.3;
}

@media (max-width:600px){

    .wr-standing strong,
    .wr-days strong{
        font-size:0.9rem;
    }
    
    .wr-standing{
        display:block !important;
        width:100%;
    }

    .wr-standing .wr-badge-wr-veteran,
    .wr-standing .wr-badge-wr-legendary,
    .wr-standing .wr-badge-wr-mythic,
    .wr-standing .wr-badge-wr-eternal{
        display:block !important;
        margin-top:6px !important;
        margin-left:0 !important;
        width:fit-content;
    }
    

}
.skabat-header__logout{
    width:38px;
    height:38px;
    padding:0 !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    border:1px solid #bdd0de;
    border-radius:8px;
    background:#eef5fa;
    color:#4b5563;
    cursor:pointer;
    transition:.15s;
}

.skabat-header__logout:hover,
.skabat-header__logout:focus-visible{
    background:#1e6fa8;
    border-color:#1e6fa8;
    color:#fff;
    outline:none;
}

.skabat-header__logout svg{
    width:22px;
    height:22px;
    display:block;
}
/* Skabat-monikäyttäjän kirjautuminen ja ryhmävalinta */
.skabat-header__account{
  align-items:center;
  display:flex;
  gap:8px;
}
.skabat-header__account form{margin:0}
.skabat-header__account button{
  background:#eef5fa;
  border:1px solid #bdd0de;
  border-radius:8px;
  color:#183246;
  cursor:pointer;
  font-weight:800;
  padding:7px 10px;
}
.skabat-header__group{
    background:#1e6fa8;
    border-radius:999px;
    color:#fff;
    font-weight:800;
    padding:7px 12px;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    max-width:500px;
}
.skabat-header__group-menu{position:relative}
.skabat-header__group-menu summary{cursor:pointer;list-style:none}
.skabat-header__group-menu summary::-webkit-details-marker{display:none}
.skabat-header__group-options{
    background:#fff;
    border:1px solid #c8d7e1;
    border-radius:11px;
    box-shadow:0 10px 30px rgba(14,39,57,.18);
    display:grid;
    gap:5px;
    position:absolute;
    top:calc(100% + 7px);
    right:0;
    left:auto;
    min-width:210px;
    max-width:calc(100vw - 20px);
    padding:8px;
    z-index:10000;
    box-sizing:border-box;
}
.skabat-header__group-options form{display:block}
.skabat-header__group-options button{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
    box-sizing:border-box;
    white-space:nowrap;
}
.skabat-header__group-options a{
  color:#1e6fa8;
  font-weight:800;
  padding:8px 10px;
  text-decoration:none;
  box-sizing:border-box;
  width:100%;
}
.skabat-web-auth,.skabat-web-groups{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  margin:24px auto;
  max-width:940px;
  padding:0 16px;
}
.skabat-web-groups>.skabat-web-group-summary{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);align-items:center;gap:20px 32px}
.skabat-web-group-summary__intro h1{margin:0 0 8px}
.skabat-web-group-summary__intro p{margin:0;color:#60788a}
.skabat-web-group-summary__invite{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px;padding:14px 16px;border-radius:12px;background:#f2f7fa}
.skabat-web-group-summary__invite span{color:#60788a;font-size:13px;font-weight:800}
.skabat-web-group-summary__invite strong{font-size:18px;letter-spacing:.04em}
.skabat-web-group-summary__invite form{grid-column:1/-1;margin:6px 0 0}
.skabat-web-group-summary__invite button{width:100%}
.skabat-web-group-summary__actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:16px;border-top:1px solid #dce7ed}
.skabat-web-group-summary__actions form{margin:0}
.skabat-web-group-summary__actions button{width:auto}
.skabat-web-notice{
  border-radius:10px;
  font-weight:800;
  grid-column:1/-1;
  margin:0;
  padding:12px 15px;
}
.skabat-web-notice.is-success{background:#e8f7ed;color:#236438}
.skabat-web-notice.is-error{background:#fdeaea;color:#8f2424}
.skabat-web-card{
  background:#fff;
  border:1px solid #d4e0e8;
  border-radius:14px;
  box-shadow:0 7px 24px rgba(17,46,66,.08);
  padding:20px;
}
.skabat-web-card h1,.skabat-web-card h2{color:#183246;margin-top:0}
.skabat-web-card label{
  color:#314b5e;
  display:block;
  font-size:13px;
  font-weight:800;
  margin:12px 0 5px;
}
.skabat-web-card input{
  background:#f7fafc;
  border:1px solid #c5d4de;
  border-radius:9px;
  box-sizing:border-box;
  display:block;
  font-size:16px;
  margin-top:5px;
  min-height:44px;
  padding:9px 11px;
  width:100%;
}
.skabat-web-card textarea{background:#f7fafc;border:1px solid #c5d4de;border-radius:9px;box-sizing:border-box;display:block;font-size:16px;line-height:1.5;margin-top:5px;min-height:220px;padding:11px;width:100%;resize:vertical}
.skabat-web-som-editor{max-width:820px;margin:0 auto}
.skabat-web-som-editor form{margin:0}
.skabat-web-som-editor button{margin-top:14px}
.skabat-web-card button{
  background:#1e6fa8;
  border:0;
  border-radius:9px;
  color:#fff;
  cursor:pointer;
  font-weight:900;
  margin-top:0px;
  min-height:42px;
  padding:9px 16px;
}
.skabat-web-card button:disabled{cursor:default;opacity:.5}
.skabat-web-inline-form{display:inline-block;margin:0 7px 7px 0}
.skabat-web-inline-form button{margin-top:0}
.skabat-web-password-reset{margin-top:16px}
.skabat-web-password-reset>summary{cursor:pointer;color:#1e6fa8;font-weight:800}
.skabat-web-card button.is-danger,.skabat-web-members button.is-danger{background:#a92c36}
.skabat-web-members{grid-column:1/-1}
.skabat-web-member{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #dce7ed}
.skabat-web-member>div{flex:1}
.skabat-web-member small{display:block;color:#60788a;text-transform:capitalize}
.skabat-web-member form{display:flex;align-items:center;gap:8px;margin:0}
.skabat-web-member select{min-height:40px}
.skabat-web-member button{margin-top:0}
.skabat-web-player-summary{align-items:center;display:flex;gap:10px;min-width:180px}
.skabat-web-player-avatar{
  background:#eef4f8;
  border-radius:10px;
  flex:0 0 54px;
  height:54px;
  object-fit:contain;
  width:54px;
}
.skabat-web-player-avatar.is-empty{
  align-items:center;
  color:#1e6fa8;
  display:flex;
  font-size:22px;
  font-weight:900;
  justify-content:center;
}
.skabat-web-member .skabat-web-player-form{
  align-items:flex-end;
  background:#f7fafc;
  border-radius:10px;
  display:grid;
  flex:2;
  gap:8px 12px;
  grid-template-columns:minmax(150px,1fr) minmax(190px,1.4fr) auto auto;
  padding:10px;
}
.skabat-web-player-form label{margin:0}
.skabat-web-player-form input{font-size:14px;min-height:40px}
.skabat-web-player-form input[type="file"]{padding:6px}
.skabat-web-player-image-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:40px;margin-top:6px;padding:8px 10px;border-radius:8px;background:#176fa8;color:#fff;font-weight:900;cursor:pointer;box-sizing:border-box}
.skabat-web-player-image-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.skabat-web-player-active-form{flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end}
.skabat-web-player-active-form .skabat-web-player-active{margin:0}
.skabat-web-player-active-form .skabat-web-player-active input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;box-shadow:none!important;transform:none!important}
.skabat-web-player-form .skabat-web-player-active{
  align-items:center;
  display:flex;
  font-size:12px;
  gap:7px;
  margin:0;
  max-width:190px;
}
.skabat-web-player-form .skabat-web-player-active input{
  display:inline-block;
  flex:0 0 auto;
  margin:0;
  min-height:18px;
  width:18px;
}
.skabat-web-player-active{align-items:center!important;display:flex!important;flex-wrap:wrap;gap:7px!important;line-height:1.25;min-width:0}
.skabat-web-player-active input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;box-sizing:border-box!important;flex:0 0 18px!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;box-shadow:none!important;transform:none!important}
.skabat-web-member-secondary-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0}
.skabat-web-member-secondary-actions form{width:auto!important}
@media(max-width:700px){
  .skabat-header__sisalto{align-items:flex-start;flex-wrap:wrap}
 
  .skabat-header__group{max-width:45vw}
  .skabat-web-auth,.skabat-web-groups{grid-template-columns:1fr;margin-top:14px}
  .skabat-web-member{align-items:stretch;flex-direction:column;min-width:0;overflow:hidden}
  .skabat-web-member>div,.skabat-web-member form{box-sizing:border-box;max-width:100%;min-width:0;width:100%}
  .skabat-web-member form{flex-wrap:wrap}
  .skabat-web-member .skabat-web-player-active-form{justify-content:flex-start!important}
  .skabat-web-member .skabat-web-player-form{grid-template-columns:1fr}
  .skabat-web-member .skabat-web-player-form button,.skabat-web-member .skabat-web-player-active-form button{max-width:100%;white-space:normal}
  .skabat-web-member>form:not(.skabat-web-player-form):not(.skabat-web-player-active-form){justify-content:flex-start}
  .skabat-web-member>form:not(.skabat-web-player-form):not(.skabat-web-player-active-form) button{max-width:100%;white-space:normal}
  .skabat-web-player-form .skabat-web-player-active{max-width:none}
  .skabat-web-groups>.skabat-web-group-summary{grid-template-columns:1fr;gap:16px}
  .skabat-web-group-summary__invite{grid-column:1}
}
@media(min-width:701px) and (max-width:1050px){
  .skabat-web-member{display:grid;grid-template-columns:minmax(180px,220px) minmax(0,1fr);align-items:start;gap:10px;min-width:0}
  .skabat-web-member>.skabat-web-player-summary{grid-column:1;grid-row:1;min-width:0}
  .skabat-web-member>.skabat-web-player-form{box-sizing:border-box;grid-column:2;grid-row:auto;grid-template-columns:minmax(120px,1fr) minmax(150px,1fr);min-width:0;width:100%}
  .skabat-web-member>.skabat-web-player-form .skabat-web-player-active{grid-column:1/-1;max-width:none!important;flex-wrap:nowrap!important}
  .skabat-web-member>.skabat-web-player-form>button{grid-column:2;white-space:normal}
  .skabat-web-member>form:not(.skabat-web-player-form){box-sizing:border-box;grid-column:2;justify-self:stretch;min-width:0;width:100%}
  .skabat-web-member>.skabat-web-player-active-form{grid-row:auto;flex:0 1 auto;justify-content:flex-start;min-width:0}
  .skabat-web-member>.skabat-web-member-secondary-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:8px;min-width:0}
  .skabat-web-member>form button{max-width:100%;white-space:normal}
}

.skabat-web-tournaments{width:min(1120px,calc(100% - 32px));margin:24px auto 72px;color:#183246}
.skabat-web-tournaments__heading,.skabat-web-session>header,.skabat-web-session>summary,.skabat-web-round>header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.skabat-web-tournaments__heading{margin-bottom:22px}
.skabat-web-tournaments h1,.skabat-web-tournaments h2,.skabat-web-tournaments h3,.skabat-web-tournaments p{margin-top:0}
.skabat-web-eyebrow{margin-bottom:4px!important;color:#237db3;font-size:13px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.skabat-web-secondary-button{display:inline-flex;align-items:center;min-height:42px;padding:9px 15px;border:1px solid #bdd3e1;border-radius:9px;background:#fff;color:#176fa8;font-weight:700;text-decoration:none}
.skabat-web-create-round{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}
.skabat-web-create-round__actions,.skabat-web-winners{display:flex;flex-wrap:wrap;gap:8px}
.skabat-web-create-round__actions form,.skabat-web-winners form{margin:0}
.skabat-web-empty{margin-top:18px;padding:22px;border:1px solid #cfe0ea;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(18,55,78,.07)}
.skabat-web-session{margin-top:18px;overflow:hidden;border:1px solid #bcd6e5;border-radius:16px;background:#eef6fb;box-shadow:0 12px 30px rgba(18,55,78,.09)}
.skabat-web-session__hero{min-height:126px;padding:22px 26px;background:linear-gradient(120deg,#237db3 0%,#174f79 100%);color:#fff}
.skabat-web-session>summary{cursor:pointer;list-style:none}
.skabat-web-session>summary::-webkit-details-marker{display:none}
.skabat-web-session>summary:focus-visible{outline:3px solid #f7c948;outline-offset:-4px}
.skabat-web-session__hero h2{margin-bottom:5px!important;color:#fff;font-size:28px}
.skabat-web-session__hero p{margin-bottom:0;color:#e8f6ff}
.skabat-web-session__eyebrow{margin-bottom:7px!important;color:#fff!important;font-size:15px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.skabat-web-session__winner{display:grid;grid-template-columns:88px auto;grid-template-rows:auto auto;align-items:center;column-gap:14px;text-align:right}
.skabat-web-session__winner img{display:block!important;grid-row:1/3;width:88px!important;max-width:88px!important;height:88px!important;max-height:88px!important;object-fit:contain!important;border-radius:11px}
.skabat-web-session__winner span{color:#cae9fb;font-size:12px;font-weight:700}
.skabat-web-session__winner strong{font-size:17px}
.skabat-web-session__body{padding:18px}
.skabat-web-session-images{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:15px;border:1px solid #c7dce8;border-radius:11px;background:#e5f1f8}
.skabat-web-session-images small{display:block;margin-top:3px;color:#557084}
.skabat-web-image-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.skabat-web-image-buttons form{flex:0 0 auto;margin:0}
.skabat-web-image-buttons label{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:170px!important;min-height:34px;margin:0!important;padding:5px 10px;border:1px solid #8aa6b9;border-radius:8px;background:#fff;color:#24465e;font-size:12px;font-weight:900;line-height:1.15;cursor:pointer}
.skabat-web-image-buttons input[type=file]{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}
.skabat-web-round-images{padding:0 16px 16px;background:#fff}
.skabat-web-onboarding{margin-top:18px}
.skabat-web-onboarding ol{background:#f3f8fb;border-radius:10px;color:#38566c;display:grid;gap:7px;padding:14px 14px 14px 34px}
.skabat-web-invite-highlight{background:#e8f4fb;border-radius:9px;color:#174f79;padding:11px 13px}
.skabat-web-onboarding-actions{align-items:center;display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.skabat-web-onboarding-actions form{margin:0}
.skabat-web-onboarding-actions button{margin:0}
.skabat-web-round{margin-top:0;overflow:hidden;border:1px solid #c7dce8;border-radius:13px;background:#f8fbfd}
.skabat-web-round+.skabat-web-round{margin-top:18px}
.skabat-web-round>.skabat-web-round__summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;background:#e4f1f8;cursor:pointer;list-style:none}
.skabat-web-round>.skabat-web-round__summary::-webkit-details-marker{display:none}
.skabat-web-round>.skabat-web-round__summary::after{content:none}
.skabat-web-round:not([open])>.skabat-web-round__summary::after{transform:rotate(-90deg)}
.skabat-web-round>.skabat-web-round__summary:focus-visible{outline:3px solid #f7c948;outline-offset:-4px}
.skabat-web-round>.skabat-web-round__summary h3,.skabat-web-round>.skabat-web-round__summary p{margin-bottom:0}
.skabat-web-round__meta>p:first-child{margin-bottom:5px;color:#38566c;font-size:13px;font-weight:700}
.skabat-web-round__meta h3{font-size:21px}
.skabat-web-round__meta h3 span{margin-left:8px;color:#456375;font-size:14px;font-weight:700}
.skabat-web-round__meta .is-finished{margin-top:5px;color:#176fa8;font-weight:800}
.skabat-web-round__meta .is-running{margin-top:5px;color:#9a6a06;font-weight:800}
.skabat-web-round__actions{position:relative;display:flex;align-items:center;gap:12px;flex:0 0 150px;min-height:82px}
.skabat-web-round__actions form{margin:0}
.skabat-web-round__winner-image{position:absolute!important;top:6px!important;right:6px!important;display:block!important;width:auto!important;max-width:150px!important;height:auto!important;max-height:calc(100% - 12px)!important;object-fit:contain!important;border-radius:9px}
.skabat-web-round button.is-compact{min-height:36px;padding:7px 12px}
.skabat-web-game-row{position:relative;display:block;padding:14px 16px;border-bottom:1px solid #dce8ef;background:#fff;cursor:pointer}
.skabat-web-game-row:hover,.skabat-web-game-row:focus{background:#f7fbfd;outline:2px solid transparent}
.skabat-web-game-row__info{position:relative;min-height:92px;padding:0 108px 0 34px}
.skabat-web-game-open{display:block;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#183246!important;font:inherit;font-weight:900!important;text-align:left;box-shadow:none!important;cursor:pointer}
.skabat-web-game-open:hover,.skabat-web-game-open:focus{color:#176fa8!important;text-decoration:underline}
.skabat-web-game-row__order{position:absolute;top:0;left:0;display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:#237db3;color:#fff;font-size:12px;font-weight:900}
.skabat-web-game-row small{display:block;margin-top:2px;color:#617987}
.skabat-web-game-row__time{font-size:11px;font-weight:700}
.skabat-web-game-row__max{margin-top:4px!important;color:#38566c!important;font-size:11px;font-weight:800}
.skabat-web-game-row__note{margin-top:3px!important;padding:0;background:transparent;color:#617987!important;font-size:12px}
.skabat-web-game-delete-inline{position:absolute;top:31px;left:0;right:auto;margin:0!important;z-index:2}
.skabat-web-game-delete-inline button{display:grid!important;place-items:center;width:21px!important;height:28px!important;min-width:21px!important;min-height:28px!important;margin:0!important;padding:0!important;border:1px solid #d04a52!important;border-radius:7px!important;background:#fff0f1!important;color:#a92c36!important;font-size:26px!important;line-height:1!important;cursor:pointer}
.skabat-web-game-delete-inline button:hover,.skabat-web-game-delete-inline button:focus{border-color:#8d2029!important;background:#ffd9dc!important;color:#8d2029!important}
.skabat-web-game-winner-corner{position:absolute!important;top:12px!important;right:16px!important;display:block!important;width:90px!important;max-width:90px!important;height:90px!important;max-height:90px!important;object-fit:contain!important;border-radius:9px!important;background:transparent!important}
.skabat-web-winners{display:flex!important;flex-wrap:wrap;justify-content:center;gap:40px!important;width:100%;margin-top:10px}
.skabat-web-winners form{display:block!important;flex:0 1 132px!important;width:132px!important;min-width:0;margin:0 0 8px!important}
.skabat-web-winners button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%!important;min-height:38px;margin:0!important;padding:6px 12px;border:1px solid #c6d6df;border-radius:8px!important;background:#e8eff3;color:#29485d}
.skabat-web-winners button:hover,.skabat-web-winners button:focus{border-color:#9fb8c7;background:#dce8ee;color:#183c53}
.skabat-web-winners button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.skabat-web-winners button.is-selected,.skabat-web-winners button.is-selected:hover,.skabat-web-winners button.is-selected:focus{border-color:#278449;background:#278449;color:#fff}
.skabat-web-round button.is-danger{background:#a92c36}
.skabat-web-add-game{display:flex;align-items:end;gap:10px;padding:15px 16px}
.skabat-web-add-game label{flex:1;margin:0}
.skabat-web-add-game select{width:100%;margin-top:4px}
.skabat-web-round-score{margin:0 16px 14px;padding:12px 14px;border-radius:10px;background:#f1f6f9;color:#29485d}
.skabat-web-round-score__heading{display:flex;justify-content:space-between;gap:16px;margin-bottom:7px}
.skabat-web-round-score__heading strong:last-child{color:#278449}
.skabat-web-round-score__players{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:5px 14px}
.skabat-web-round-score__players div{display:flex;justify-content:space-between;gap:8px}
.skabat-web-round-score__players div>strong{color:#176fa8}
.skabat-web-round-controls{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;padding:10px 14px;border-top:1px solid #dce8ef;background:#fff}
.skabat-web-round-controls form{display:block!important;flex:0 0 auto!important;width:auto!important;margin:0!important}
.skabat-web-round-controls button{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;max-width:180px!important;min-width:0!important;min-height:32px!important;margin:0!important;padding:5px 10px!important;font-size:11px!important;line-height:1.15!important;background:#1e6fa8!important;border:0!important;color:#fff!important}
.skabat-web-round-controls button:hover,.skabat-web-round-controls button:focus{background:#174f79!important}
.skabat-web-round-controls button.is-danger{background:#a92c36!important}
.skabat-web-round-controls button.is-danger:hover,.skabat-web-round-controls button.is-danger:focus{background:#8d2029!important}
.skabat-web-tournaments>.skabat-web-tournament-intro{display:none!important}
.skabat-web-tournaments>.skabat-web-tournament-custom{display:none}
.skabat-web-tournaments>.skabat-web-tournament-custom[open]{position:fixed;z-index:99999;inset:5vh auto auto 50%;display:block;width:min(760px,calc(100% - 24px));max-height:90vh;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;transform:translateX(-50%);box-shadow:0 20px 80px rgba(0,0,0,.45)}
.skabat-modal-open{overflow:hidden}
.skabat-custom-round-open{overflow:hidden!important}
.skabat-web-game-modal[hidden]{display:none!important}
.skabat-web-game-modal{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:18px}
.skabat-web-game-modal__backdrop{position:absolute;inset:0;background:rgba(4,20,31,.76)}
.skabat-web-game-modal__panel{position:relative;z-index:1;width:min(760px,100%);max-height:92vh;overflow:auto;padding:22px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.38)}
.skabat-web-game-modal__close{position:absolute;z-index:2;top:10px;right:10px;width:38px!important;height:38px;min-height:38px!important;padding:0!important;border-radius:50%;background:#173247!important;font-size:25px;line-height:1}
.skabat-web-game-modal__hero{display:flex;align-items:center;flex-direction:column;gap:9px;padding:0 42px 4px;text-align:center}
.skabat-web-game-modal__hero .skabat-web-modal-game-image{display:block!important;width:100%!important;max-width:520px!important;height:230px!important;max-height:230px!important;object-fit:contain!important;border-radius:12px;background:transparent!important}
.skabat-web-game-modal__hero h2{margin-bottom:0}
.skabat-web-game-modal__hero p{margin-bottom:0}
.skabat-web-versus{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;padding:12px;border:1px solid #d5e2ea;border-radius:12px;background:#f7fafc;overflow-x:auto}
.skabat-web-versus-player{display:flex;align-items:center;flex:0 0 auto;flex-direction:column;gap:4px;min-width:64px}
.skabat-web-versus-player img,.skabat-web-versus-placeholder{display:grid!important;width:58px!important;max-width:58px!important;height:58px!important;max-height:58px!important;place-items:center;object-fit:contain!important;border-radius:9px;background:#e4edf3;color:#29485d;font-size:22px;font-weight:900}
.skabat-web-versus-player strong{font-size:12px}
.skabat-web-versus-icon{display:block!important;width:46px!important;max-width:46px!important;height:60px!important;max-height:60px!important;object-fit:cover!important;object-position:center!important;border-radius:7px}
.skabat-web-versus-text{color:#a92c36;font-size:12px}
.skabat-web-versus{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:0!important;overflow:visible!important;background:transparent!important}
.skabat-web-versus-row{display:flex!important;width:100%!important;align-items:flex-start!important;justify-content:center!important;gap:0!important}
.skabat-web-versus-player{position:relative!important;display:flex!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.skabat-web-versus-player img{display:block!important;width:auto!important;max-width:190px!important;height:132px!important;max-height:none!important;object-fit:contain!important;object-position:center!important;border:0!important;border-radius:0!important;background:transparent!important}
.skabat-web-versus-player strong{display:block!important;width:100%!important;padding:5px 4px!important;text-align:center!important;font-size:12px!important;line-height:1.15!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.skabat-web-versus-player.is-name-only{width:132px!important;min-height:132px!important;align-items:center!important;justify-content:center!important;background:transparent!important}
.skabat-web-versus-player.is-name-only strong{width:auto!important;padding:8px!important;white-space:normal!important}
.skabat-web-versus-icon{display:block!important;flex:0 0 auto!important;width:auto!important;max-width:190px!important;height:132px!important;max-height:none!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;background:transparent!important}
.skabat-web-versus-text{display:grid!important;flex:0 0 42px!important;width:42px!important;height:132px!important;place-items:center!important;background:#102f44!important;color:#ffd348!important;font-size:22px!important;font-weight:900!important}
.skabat-web-autosave-status{display:block!important;margin-top:9px!important;color:#547080!important;font-size:12px!important}
.skabat-web-game-modal__columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.skabat-web-game-modal__columns>section{padding:14px;border:1px solid #d5e2ea;border-radius:11px;background:#f7fafc}
.skabat-web-modal-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}
.skabat-web-modal-list li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #e0e8ed}
.skabat-web-modal-list li.is-played{color:#278449}
.skabat-web-score-control{display:flex;align-items:center;gap:5px}
.skabat-web-score-control input{width:68px!important;margin:0!important;text-align:center}
.skabat-web-score-control button{width:auto!important;min-height:36px!important;margin:0!important;padding:6px 10px!important}
.skabat-web-game-modal__columns textarea{width:100%;min-height:78px;margin-top:5px}
.skabat-web-game-modal__columns button{margin-top:8px}
.skabat-web-statistics>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:8px}
.skabat-web-statistics article{padding:10px;border-radius:9px;background:#fff}
.skabat-web-statistics ul{margin:7px 0 0;padding:0;list-style:none}
.skabat-web-statistics li{display:flex;justify-content:space-between;gap:8px;padding:3px 0}
.skabat-web-stat-name{display:inline-flex;align-items:center;gap:7px;min-width:0}
.skabat-web-stat-color{display:inline-block;width:11px;height:11px;flex:0 0 11px;border-radius:50%}
.skabat-web-statistics li strong{color:#176fa8}
.skabat-web-statistics article>img{display:block!important;width:100%!important;max-width:150px!important;height:150px!important;max-height:150px!important;margin:10px auto 0;object-fit:contain!important}
.skabat-web-records{margin-top:16px;padding:14px;border:1px solid #d5e2ea;border-radius:12px;background:#f7fafc}
.skabat-web-records>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.skabat-web-records>header h3{margin-bottom:2px}
.skabat-web-records>header small{color:#617987}
.skabat-web-records>header button{width:auto}
.skabat-web-record-list{display:grid;gap:9px}
.skabat-web-record-card{padding:11px;border:1px solid #d7e3ea;border-radius:10px;background:#fff;cursor:pointer}
.skabat-web-record-card.is-played{border-color:#9dceb0;background:#edf8f0}
.skabat-web-record-card.is-random{border:2px solid #e8a916;background:#fffbeb;box-shadow:0 0 0 3px rgba(232,169,22,.16)}
.skabat-web-record-card{position:relative}
.skabat-web-record-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.skabat-web-record-card.has-current-image>header{padding-right:104px}
.skabat-web-record-card>header div>small{display:block;margin-top:2px;color:#617987}
.skabat-web-record-latest-value,.skabat-web-record-latest-player{font-weight:900;color:#183246}
.skabat-web-record-card .skabat-web-history-hint{margin-top:5px;color:#176fa8;font-weight:800}
.skabat-web-record-card>header button{width:auto;min-height:34px;padding:6px 9px;font-size:11px}
.skabat-web-record-history{display:none;margin:8px 0 0;padding:7px 0 0;border-top:1px solid #e0e8ed;list-style:none}
.skabat-web-record-card.show-history .skabat-web-record-history{display:block}
.skabat-web-record-history li{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:5px 0}
.skabat-web-record-history li>img{display:block!important;width:44px!important;max-width:44px!important;height:44px!important;max-height:44px!important;object-fit:contain!important;border-radius:6px;background:transparent!important}
.skabat-web-record-image-button{display:block!important;padding:0!important;border:0!important;background:transparent!important;cursor:zoom-in!important;line-height:0!important}
.skabat-web-record-image-button img{display:block;width:56px;height:56px;object-fit:contain;border-radius:7px;background:transparent}
.skabat-web-record-current-image{position:absolute;top:11px;right:11px;bottom:11px;display:flex;align-items:center;justify-content:flex-end;margin:0}
.skabat-web-record-current-image .skabat-web-record-image-button{height:100%}
.skabat-web-record-current-image .skabat-web-record-image-button img{width:92px;height:100%;max-height:none;object-fit:contain;border-radius:9px}
.skabat-web-record-card.show-history .skabat-web-record-current-image{bottom:auto;height:92px}
.skabat-web-record-history li .skabat-web-record-image-button img{width:44px;height:44px}
.skabat-web-record-history li div>small{display:block;margin-top:2px;color:#617987}
.skabat-web-record-history li>strong{font-weight:900;color:#183246}
.skabat-web-record-create{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}
.skabat-web-record-create{display:none!important}
.skabat-web-record-create select,.skabat-web-record-create input,.skabat-web-record-create button{width:100%;min-height:38px;margin:0}
.skabat-web-record-create>button{grid-column:1/-1;white-space:nowrap}
.skabat-web-record-images{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.skabat-web-record-images label{display:flex!important;align-items:center;justify-content:center;min-height:38px;margin:0!important;padding:7px;border:1px solid #9db5c6;border-radius:7px;background:#f7fafc;color:#29485d;font-size:12px;font-weight:900;cursor:pointer}
.skabat-web-record-images label.has-file{border-color:#278449;background:#edf8f0;color:#20703d}
.skabat-web-record-images input{position:absolute;width:1px!important;height:1px!important;min-height:1px!important;overflow:hidden;opacity:0}
.skabat-web-record-actions{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}
.skabat-web-record-actions button{white-space:nowrap}
.skabat-web-record-new{color:#176fa8!important;background:#fff!important;border-color:#9db5c6!important}
.skabat-web-record-entry-modal{position:fixed;inset:0;z-index:100010;display:grid;place-items:center;padding:16px}
.skabat-web-record-entry-modal[hidden]{display:none!important}
.skabat-web-record-entry-backdrop{position:absolute;inset:0;background:rgba(4,20,31,.72)}
.skabat-web-record-entry-panel{position:relative;z-index:1;width:min(520px,100%);max-height:90vh;overflow:auto;padding:22px;border-radius:16px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.skabat-web-record-entry-panel h3{margin:0 0 6px;font-size:24px}
.skabat-web-record-entry-panel>strong{display:block;color:#176fa8;margin-bottom:16px}
.skabat-web-record-entry-close{position:absolute;top:10px;right:10px;width:34px!important;min-height:34px!important;border-radius:50%!important;font-size:20px!important;padding:0!important}
.skabat-web-record-entry-field{display:block;font-weight:800;color:#29485d}
.skabat-web-record-entry-field input{display:block;width:100%;box-sizing:border-box;margin-top:6px;min-height:42px;padding:9px;border:1px solid #9db5c6;border-radius:7px;font-size:16px}
.skabat-web-record-entry-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.skabat-web-record-entry-images label{display:flex;align-items:center;justify-content:center;min-height:42px;padding:8px;border:1px solid #9db5c6;border-radius:7px;background:#f7fafc;color:#29485d;font-weight:800;cursor:pointer;text-align:center}
.skabat-web-record-entry-images input{position:absolute;width:1px;height:1px;opacity:0}
.skabat-web-record-entry-preview{display:block;width:min(260px,100%);max-height:220px;object-fit:contain;margin:14px auto 0;border-radius:8px}
.skabat-web-record-entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.skabat-web-record-entry-actions button{min-height:42px}
.skabat-web-record-entry-actions .is-primary{background:#0875d1;color:#fff}
.skabat-web-record-entry-status{min-height:20px;margin:9px 0 0;color:#a92c36;font-weight:800}
.skabat-web-record-image-modal{position:fixed;inset:0;z-index:100020;display:grid;place-items:center;padding:16px}
.skabat-web-record-image-modal[hidden]{display:none!important}
.skabat-web-record-image-backdrop{position:absolute;inset:0;background:rgba(4,20,31,.78)}
.skabat-web-record-image-panel{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);padding:8px;border-radius:12px;background:#fff;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.skabat-web-record-image-view{display:block;max-width:calc(100vw - 52px);max-height:calc(100vh - 52px);width:auto;height:auto;object-fit:contain;border-radius:7px}
.skabat-web-record-image-close{position:absolute;top:-14px;right:-14px;z-index:2;width:34px!important;min-height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#183246!important;color:#fff!important;font-size:22px!important;line-height:1!important}
.skabat-web-modal-note{margin-top:12px!important;padding:9px;border-radius:8px;background:#fff5d9}
.skabat-web-game-edit{display:grid;grid-template-columns:2fr 1fr;gap:11px;margin-top:18px;padding-top:18px;border-top:1px solid #d5e2ea}
.skabat-web-game-edit label{margin:0}
.skabat-web-game-edit .is-wide,.skabat-web-game-edit button{grid-column:1/-1}
.skabat-web-game-edit input,.skabat-web-game-edit textarea{width:100%;margin-top:4px}
.skabat-web-modal-winner{margin-top:18px;padding:14px;border:1px solid #b9d5e7;border-radius:11px;background:#f4f9fc}
.skabat-web-modal-winner h3{margin-bottom:4px}
.skabat-web-modal-winner>p{margin-bottom:11px;color:#587184;font-size:13px}
.skabat-web-game-delete{margin:9px 0 0}
.skabat-web-game-delete button{width:100%}
@media(max-width:700px){
  body:has(main.skabat-web-tournaments) .site-content>.ast-container{width:100%!important;max-width:100%!important;padding-right:0!important;padding-left:0!important}
  .skabat-web-tournaments{width:100%;max-width:100%;margin:8px 0 60px;overflow-x:hidden}
  .skabat-web-session{border-right:0;border-left:0;border-radius:0}
  .skabat-web-tournaments__heading,.skabat-web-create-round{align-items:stretch;flex-direction:column}
  .skabat-web-session__hero{min-height:0;padding:18px}
  .skabat-web-session__winner{align-self:flex-start;text-align:left}
  .skabat-web-session__winner{grid-template-columns:82px auto}
  .skabat-web-session__winner img{width:82px!important;max-width:82px!important;height:82px!important;max-height:82px!important}
  .skabat-web-session__body{padding:0}
  .skabat-web-session-images{align-items:center;flex-direction:row;gap:10px}
  .skabat-web-session-images>div:first-child{flex:1;min-width:0}
  .skabat-web-session-images small{line-height:1.35}
  .skabat-web-image-buttons{display:flex;flex:0 0 auto;justify-content:flex-end}
  .skabat-web-image-buttons label{width:auto!important;max-width:138px!important;min-height:32px!important;padding:5px 8px!important;font-size:11px}
  .skabat-web-round{border-right:0;border-left:0;border-radius:0}
  .skabat-web-round__summary{align-items:flex-start!important;padding:14px 12px!important}
  .skabat-web-round__actions{flex-direction:column;align-items:flex-end}
  .skabat-web-create-round__actions{flex-direction:column}
  .skabat-web-create-round__actions button,.skabat-web-create-round__actions form{width:100%}
  .skabat-web-onboarding-actions{align-items:stretch;flex-direction:column}
  .skabat-web-onboarding-actions a,.skabat-web-onboarding-actions button,.skabat-web-onboarding-actions form{justify-content:center;width:100%}
  .skabat-web-game-row{padding:10px 9px}
  .skabat-web-game-row__info{padding-right:98px}
  .skabat-web-game-delete-inline{top:31px;left:0;right:auto}
  .skabat-web-game-delete-inline button{width:22px!important;height:27px!important;min-width:22px!important;min-height:27px!important;font-size:16px!important}
  .skabat-web-game-winner-corner{right:12px!important;width:82px!important;max-width:82px!important;height:82px!important;max-height:82px!important}
  .skabat-web-winners{justify-content:center;gap:40px!important;margin-top:6px}
  .skabat-web-winners form{flex-basis:104px!important;width:104px!important}
  .skabat-web-winners button{min-height:32px;padding:4px 6px;font-size:12px}
  .skabat-web-add-game{align-items:stretch;flex-direction:column}
  .skabat-web-round-score{margin:0 9px 10px;padding:10px 12px}
  .skabat-web-round-score__players{grid-template-columns:repeat(2,minmax(0,1fr))}
  .skabat-web-round-controls{display:flex;gap:6px;padding:9px 8px;justify-content:flex-start}
  .skabat-web-round-controls form{flex:0 0 auto!important;width:auto!important}
  .skabat-web-round-controls button{max-width:145px!important;min-height:30px!important;padding:5px 8px!important;font-size:10px!important}
  .skabat-web-game-modal{align-items:start!important;overflow-y:auto!important;padding:calc(env(safe-area-inset-top,0px) + 12px) 8px calc(env(safe-area-inset-bottom,0px) + 12px)!important}
  .skabat-web-game-modal__panel{box-sizing:border-box!important;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px)!important;margin:0 auto!important;overflow-y:auto!important;overscroll-behavior:contain;padding:17px}
  .skabat-web-game-modal__hero{padding:0 34px 4px}
  .skabat-web-game-modal__hero .skabat-web-modal-game-image{height:180px!important;max-height:180px!important}
  .skabat-web-versus{justify-content:center!important}
  .skabat-web-versus-player img{width:auto!important;max-width:calc((100vw - 96px)/3)!important;height:104px!important;max-height:none!important}
  .skabat-web-versus-player.is-name-only{width:calc((100vw - 96px)/3)!important;min-height:104px!important}
  .skabat-web-versus-icon{flex:0 0 auto!important;width:auto!important;max-width:58px!important;height:104px!important;max-height:none!important}
  .skabat-web-versus-text{flex-basis:34px!important;width:34px!important;height:104px!important;font-size:18px!important}
  .skabat-web-game-modal__columns,.skabat-web-game-edit{grid-template-columns:1fr}
  .skabat-web-statistics>div{grid-template-columns:1fr}
  .skabat-web-records>header{align-items:stretch;flex-direction:column}
  .skabat-web-records>header button{width:100%}
  .skabat-web-record-create{grid-template-columns:1fr}
  .skabat-web-record-entry-modal{align-items:start;padding:calc(env(safe-area-inset-top,0px) + 12px) 8px calc(env(safe-area-inset-bottom,0px) + 12px)}
  .skabat-web-record-entry-panel{max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);margin:0 auto}
  .skabat-web-record-entry-images,.skabat-web-record-entry-actions{grid-template-columns:1fr}
  .skabat-web-game-edit .is-wide,.skabat-web-game-edit button{grid-column:auto}
}
@media(min-width:701px) and (max-width:1050px){
  .skabat-web-winners form{flex-basis:122px!important;width:122px!important}
}

.skabat-web-custom-round{display:block;margin-bottom:24px;position:relative}
.skabat-web-custom-round>summary{cursor:default;color:#183246;font-size:20px;font-weight:900;pointer-events:none;list-style:none}
.skabat-web-custom-round>summary::-webkit-details-marker{display:none}
.skabat-web-custom-round>summary::marker{display:none;content:''}
.skabat-web-custom-round[open]>summary{margin-bottom:18px}
.skabat-web-custom-round__close{position:absolute;top:10px;right:14px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:transparent!important;border:0!important;color:#000!important;font-size:28px;font-weight:900;line-height:1;cursor:pointer;z-index:10;padding:0}
.skabat-web-custom-round__close:hover{color:#333!important}
.skabat-web-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.skabat-web-check{display:flex!important;align-items:center;gap:8px;margin:10px 0!important;font-weight:700}
.skabat-web-check.skabat-web-record-hidden{display:none!important}
.skabat-web-check input{display:inline-block!important;width:auto!important;min-height:0!important;margin:0!important}
.skabat-web-game-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.skabat-web-game-choices fieldset{max-height:290px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px;border:1px solid #cbdce6;border-radius:10px}
.skabat-web-game-choices legend{padding:0 6px;font-weight:900}
.skabat-web-player-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.skabat-web-player-list span{padding:8px 12px;border-radius:999px;background:#e8f3f9;font-weight:800}
.skabat-web-new-game{margin:20px 0}
.skabat-web-settings-games{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
.skabat-web-settings-games>h2{grid-column:1/-1}
.skabat-web-game-setting{display:flex;flex-direction:column;justify-content:space-between}
.skabat-web-game-setting>form:last-child{margin-top:12px;padding-top:12px;border-top:1px solid #dce7ed}
.skabat-web-game-setting button.is-danger{background:#a92c36}
.skabat-web-setting-flags{display:flex;flex-wrap:wrap;gap:16px}
@media(max-width:700px){
  .skabat-web-form-grid,.skabat-web-game-choices,.skabat-web-settings-games{grid-template-columns:1fr}
  .skabat-web-settings-games>h2{grid-column:auto}
}

.skabat-web-record-game{display:block;margin-bottom:12px}
.skabat-web-record-game>summary{cursor:pointer;font-size:20px;font-weight:900}
.skabat-web-record-game[open]>summary{margin-bottom:14px}
.skabat-web-record-discipline{padding:14px 0;border-top:1px solid #dce7ed}
.skabat-web-record-row{display:grid;grid-template-columns:minmax(100px,1fr) minmax(120px,1fr) auto;gap:12px;padding:8px 0}
.skabat-web-stat-grid,.skabat-web-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:24px}
.skabat-web-stat-card{text-align:center}
.skabat-web-stat-card img{display:block;width:100%;height:220px;object-fit:contain}
.skabat-web-stat-card ul,.skabat-web-leaderboard{margin:12px 0 0;padding:0;list-style:none}
.skabat-web-stat-card li,.skabat-web-leaderboard li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #e0e9ee}
.skabat-web-feed-card{margin:0}
.skabat-web-feed-value{display:block;margin:8px 0;color:#176fa8;font-size:28px}
.skabat-web-feed-card small{display:block;margin-top:5px;color:#557080;font-weight:800}
.skabat-web-own-profile{display:grid;grid-template-columns:minmax(0,1fr) 130px minmax(240px,.8fr);align-items:center;gap:18px;margin-bottom:18px}
.skabat-web-own-profile>img{display:block;width:120px;height:120px;object-fit:cover;border-radius:14px}
.skabat-web-general-settings{margin-bottom:18px}
.skabat-web-game-setting__media{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:14px;margin-bottom:14px}
.skabat-web-game-setting__media>img{display:block;width:110px;height:110px;object-fit:contain;border-radius:10px;background:transparent}
.skabat-web-game-setting__media{display:flex;flex-direction:column;align-items:center;gap:10px}
.skabat-web-game-setting__preview{display:flex;align-items:center;justify-content:center;width:150px;height:150px;border-radius:12px;background:#edf4f8;overflow:hidden;text-align:center;color:#6b8390}
.skabat-web-game-setting__preview img{display:block;width:100%;height:100%;object-fit:contain}
.skabat-web-game-setting__preview.has-image{height:150px;min-height:150px;background:#fff}
.skabat-web-game-setting__preview.has-image img{width:auto;height:auto;max-width:150px;max-height:150px}
.skabat-web-game-setting__preview span{display:block;font-size:38px;line-height:1}
.skabat-web-game-setting__preview small{display:block;margin-top:6px;font-weight:800}
.skabat-web-game-setting__image-form{margin:0!important;text-align:center}
.skabat-web-game-setting__image-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:auto!important;margin:0!important;padding:10px 15px;border-radius:8px;background:#176fa8!important;color:#fff!important;text-decoration:none!important;font-weight:900;cursor:pointer}
.skabat-web-game-setting__image-button:hover,.skabat-web-game-setting__image-button:focus{color:#fff!important;background:#125d8e!important}
.skabat-web-game-setting__image-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.skabat-web-danger-zone{margin-top:28px;border-color:#dfb4b8;background:#fff8f8}
.skabat-web-danger-zone button.is-danger,.skabat-web-wr-settings button.is-danger{background:#a92c36}
.skabat-web-search{display:block;margin:0 0 18px;font-weight:900}
.skabat-web-search input{display:block;width:100%;margin-top:7px}
.skabat-web-inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin:12px 0 18px}
.skabat-web-inline-form label{margin:0}
.skabat-web-inline-form button{width:auto;margin:0}
.skabat-web-wr-setting-game__image{display:block;width:100%;height:180px;object-fit:contain;margin-bottom:12px;border-radius:10px;background:transparent}
.skabat-web-wr-discipline{padding:12px 0;border-top:1px solid #dce7ed}
.skabat-web-wr-discipline>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.skabat-web-wr-discipline>header h3{margin:0}
.skabat-web-wr-discipline>header form,.skabat-web-wr-record-setting form{margin:0}
.skabat-web-wr-discipline button,.skabat-web-wr-record-setting button{width:auto;margin:0}
.skabat-web-wr-record-setting{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #e4ebef}
.skabat-web-wr-record-setting>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.skabat-web-wr-record-setting time{color:#617987}
.skabat-web-record-game>summary{display:flex;align-items:center;gap:12px}
.skabat-web-record-game>summary>img{display:block;width:64px;height:64px;object-fit:contain;border-radius:8px;background:transparent}
.skabat-web-record-history-list{display:grid;gap:8px}
.skabat-web-record-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:10px;border:1px solid #dce7ed;border-radius:10px;background:#fff}
.skabat-web-record-row.is-current{border-color:#8dc8a2;background:#f0faf3}
.skabat-web-record-row>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.skabat-web-record-row>div>strong{font-size:20px}
.skabat-web-record-row time,.skabat-web-record-row small{color:#617987}
.skabat-web-record-image{justify-self:end}
.skabat-web-record-image img{display:block;width:92px;height:92px;object-fit:cover;border-radius:10px}
.skabat-web-feed-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;align-items:end;gap:12px;margin-bottom:18px;padding:14px;border:1px solid #d5e2ea;border-radius:12px;background:#f7fafc}
.skabat-web-feed-filters label{margin:0;font-weight:900}
.skabat-web-feed-filters select{display:block;width:100%;margin-top:6px}
.skabat-web-feed-filters button{width:auto;margin:0}
.skabat-web-feed-card{position:relative;min-height:170px;padding-right:170px}
.skabat-web-feed-image{position:absolute;right:18px;top:18px}
.skabat-web-feed-image img{display:block;width:135px;height:135px;object-fit:cover;border-radius:12px}
.skabat-web-pagination{display:flex;justify-content:space-between;gap:12px;margin:18px 0}
.skabat-web-pagination a{display:inline-flex;padding:10px 15px;border-radius:8px;background:#176fa8;color:#fff;font-weight:900;text-decoration:none}
@media(max-width:700px){
  .skabat-web-stat-grid,.skabat-web-feed{grid-template-columns:1fr}
  .skabat-web-own-profile{grid-template-columns:90px minmax(0,1fr)}
  .skabat-web-own-profile>div{grid-column:1/-1}
  .skabat-web-own-profile>img{width:86px;height:86px}
  .skabat-web-game-setting__preview{width:130px;height:130px}
  .skabat-web-inline-form,.skabat-web-feed-filters{grid-template-columns:1fr}
  .skabat-web-inline-form button,.skabat-web-feed-filters button{width:100%}
  .skabat-web-wr-discipline>header{align-items:flex-start}
  .skabat-web-wr-record-setting{align-items:flex-start}
  .skabat-web-record-row{grid-template-columns:minmax(0,1fr) auto}
  .skabat-web-record-image img{width:78px;height:78px}
  .skabat-web-feed-card{min-height:138px;padding-right:125px}
  .skabat-web-feed-image img{width:94px;height:94px}
}
@media (max-width:700px){

    .skabat-header__top{
        gap:8px;
    }

    .skabat-header__group{
        max-width:calc(100vw - 180px);
    }
    .skabat-header__group-options{
        position:fixed;
        left:8px;
        right:8px;
        top:96px;
        width:auto;
        min-width:0;
        max-width:none;
    }

    .skabat-header__group-options button{
        overflow:hidden;
        text-overflow:ellipsis;
    }
     .skabat-header__top{
        display:flex;
        align-items:center;
    }

}

/* Ennatyssivun ylitykset */
/* final override marker */
.skabat-web-overview .skabat-web-record-game>summary::after,.skabat-web-overview .skabat-web-record-game>summary:after{display:none!important;content:none!important}
.skabat-web-overview .skabat-web-record-game{display:block;margin:0 0 18px;padding:0;overflow:hidden}
.skabat-web-overview .skabat-web-record-game>summary{display:flex;flex-wrap:wrap;align-items:center;gap:0;min-height:0;padding:0 20px 18px;list-style:none;cursor:pointer;font-size:26px;font-weight:900;color:#173c55}
.skabat-web-overview .skabat-web-record-game>summary::-webkit-details-marker{display:none}
.skabat-web-overview .skabat-web-record-game>summary>img{flex:0 0 calc(100% + 40px);width:calc(100% + 40px);height:250px;margin:0 0px 14px;display:block;object-fit:contain;background:#eef4f7;border-radius:12px 12px 0 0}
.skabat-web-overview .skabat-web-record-game>summary>span{flex:1 1 auto;min-width:0}
.skabat-web-overview .skabat-web-record-game>summary::after{content:'▾';flex:0 0 auto;margin-left:12px;color:#2477a9;font-size:24px}
.skabat-web-overview .skabat-web-record-game[open]>summary::after{content:'▴'}
.skabat-web-overview .skabat-web-record-discipline-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.skabat-web-overview .skabat-web-record-discipline-head h3{margin:0}
.skabat-web-overview .skabat-web-record-discipline-head .skabat-web-record-new{width:auto;margin:0}
.skabat-web-overview .skabat-web-record-history-toggle{order:3;flex:0 0 100%;width:auto;margin:0;padding:0;border:0;background:transparent;color:#617987;font-weight:800;text-align:left}
.skabat-web-overview .skabat-web-record-history-list.is-collapsible .skabat-web-record-row:not(:first-child){display:none}
.skabat-web-overview .skabat-web-record-history-list.is-expanded .skabat-web-record-row{display:grid}
.skabat-web-overview .skabat-web-record-row{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:14px;align-items:center;padding:14px 0}
.skabat-web-overview .skabat-web-record-row>div>strong{font-size:25px;font-weight:900}
.skabat-web-overview .skabat-web-record-row>div>span{font-weight:900}
.skabat-web-overview .skabat-web-record-image{justify-self:end}
.skabat-web-overview .skabat-web-record-image img{display:block;width:112px;height:112px;object-fit:cover;border-radius:12px}
.skabat-web-overview .skabat-web-record-discipline{margin:12px;padding:18px 20px;border-radius:16px}
.skabat-web-overview .skabat-web-record-row{grid-template-columns:minmax(0,1fr) 120px;padding:14px 0}
.skabat-web-overview .skabat-web-record-image img{width:112px;height:112px}
@media(max-width:700px){
 .skabat-web-overview .skabat-web-record-discipline{margin:8px;padding:14px 12px;border-radius:12px}
 .skabat-web-overview .skabat-web-record-row{grid-template-columns:minmax(0,1fr) 88px;padding:12px 0}
 .skabat-web-overview .skabat-web-record-image img{width:82px;height:82px}
 }

/* Ennätykset: pieni sivurako sisältöön, pelikuvan tausta kortin reunasta reunaan. */
.skabat-web-records-page{
  box-sizing:border-box;
  padding-inline:12px;
}
.skabat-web-records-page .skabat-web-record-game>summary>img{
  display:block;
  flex:0 0 calc(100% + 40px);
  width:calc(100% + 40px);
  flex-basis:calc(100% + 40px);
  max-width:none!important;
  margin-left:-20px;
  margin-right:-20px;
}
@media(max-width:700px){
  .skabat-web-records-page{padding-inline:10px}
  .skabat-web-records-page .skabat-web-record-game>summary>img{
    flex:0 0 calc(100% + 40px);
    width:calc(100% + 40px);
    flex-basis:calc(100% + 40px);
    max-width:none!important;
    margin-left:-20px;
    margin-right:-20px;
  }
}

/* Avatun ennätyskortin pienet viimeistelyt. */
.skabat-web-records-page .skabat-web-record-new{
  padding-left:4px;
  padding-right:4px;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.skabat-web-records-page .skabat-web-record-row>div{
  margin-left:4px;
}
.skabat-web-records-page .skabat-web-record-history-list .skabat-web-record-row .skabat-web-record-image{
  display:block!important;
  visibility:visible!important;
  justify-self:end;
}
.skabat-web-records-page .skabat-web-record-history-list .skabat-web-record-image img{
  display:block!important;
  width:112px!important;
  height:112px!important;
  max-width:none!important;
  object-fit:cover;
}
.skabat-web-records-page .skabat-web-record-lightbox button{
  display:grid;
  place-items:center;
  padding:0;
  line-height:1;
}
.skabat-web-records-page .skabat-web-record-modal__image-label{
  margin:16px 0 6px;
  font-weight:800;
}
.skabat-web-records-page .skabat-web-record-modal__image-sources{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.skabat-web-records-page .skabat-web-record-modal__image-sources label{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:0;
  padding:8px 10px;
  border:1px solid #c5d4de;
  border-radius:9px;
  background:#f7fafc;
  color:#29485d;
  cursor:pointer;
  text-align:center;
}
.skabat-web-records-page .skabat-web-record-modal__image-sources input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
}
.skabat-web-records-page .skabat-web-record-modal__preview{
  position:relative;
  margin-top:12px;
  overflow:hidden;
  border-radius:10px;
  background:#102331;
  text-align:center;
}
.skabat-web-records-page .skabat-web-record-modal__preview-image{
  display:block;
  width:100%;
  max-height:260px;
  object-fit:contain;
}
.skabat-web-records-page .skabat-web-record-modal__preview-timestamp{
  position:absolute;
  left:10px;
  bottom:8px;
  color:#fff;
  font-size:14px;
  font-weight:700;
  text-shadow:1px 1px 2px #000;
}
.skabat-web-record-entry-preview-frame{
  position:relative;
  width:min(260px,100%);
  margin:14px auto 0;
  overflow:hidden;
  border-radius:8px;
  background:#102331;
}
.skabat-web-record-entry-preview-frame[hidden]{display:none!important}
.skabat-web-record-entry-preview-frame .skabat-web-record-entry-preview{
  width:100%;
  margin:0;
}
.skabat-web-record-entry-preview-timestamp{
  position:absolute;
  left:8px;
  bottom:6px;
  color:#fff;
  font-size:12px;
  font-weight:700;
  text-shadow:1px 1px 2px #000;
}
.skabat-web-statistics-page{
  box-sizing:border-box;
  padding-inline:12px;
}
.skabat-web-stat-card li>strong{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.skabat-web-stat-card h2,
.skabat-web-stat-card h3{
  overflow:hidden;
  font-size:clamp(16px,2.2vw,22px);
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.skabat-web-stat-vs{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
  align-items:stretch;
  min-height:170px;
  height:auto;
  padding:10px;
  margin:-4px 0 14px;
  overflow:hidden;
  border-radius:10px;
  background:#eef4f7;
}
.skabat-web-stat-player-image,
.skabat-web-stat-vs-image{
  display:block;
  width:auto;
  height:170px;
  object-fit:contain;
}
.skabat-web-stat-player-image{
  flex:0 0 auto;
  width:auto;
  min-width:92px;
  max-width:240px;
  min-height:150px;
  background:#dfe8ee;
}
.skabat-web-stat-player-image img{
  display:block;
  width:auto;
  max-width:240px;
  height:100%;
  object-fit:contain;
}
.skabat-web-stat-player-image span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:150px;
  padding:10px;
  box-sizing:border-box;
  color:#183246;
  font-size:18px;
  font-weight:900;
  text-align:center;
  overflow-wrap:anywhere;
}
.skabat-web-stat-vs-image{
  flex:0 0 54px;
  width:54px;
  background:#000;
  object-fit:fill;
  object-position:center;
}
.skabat-web-stat-game-image{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  height:170px!important;
  margin:-4px 0 14px!important;
  object-fit:contain!important;
  border-radius:10px;
  background:#eef4f7;
}
.skabat-web-notice.is-success,
.skabat-web-notice.is-error{
  position:fixed;
  z-index:100050;
  left:50%;
  bottom:20px;
  width:min(420px,calc(100vw - 32px));
  box-sizing:border-box;
  margin:0;
  padding:11px 15px;
  border:1px solid rgba(24,50,70,.12);
  border-radius:10px;
  box-shadow:0 8px 25px rgba(17,46,66,.2);
  transform:translateX(-50%);
  font-size:14px;
  line-height:1.35;
}
.skabat-web-auto-toast{position:fixed;z-index:100051;left:50%;bottom:20px;width:min(420px,calc(100vw - 32px));box-sizing:border-box;padding:11px 15px;border:1px solid rgba(24,50,70,.12);border-radius:10px;background:#e8f7ed;color:#236438;box-shadow:0 8px 25px rgba(17,46,66,.2);font-size:14px;font-weight:800;text-align:center;transform:translateX(-50%);opacity:1;transition:opacity .2s ease}
.skabat-web-auto-toast.is-error{background:#fdeaea;color:#8f2424}
.skabat-web-auto-toast.is-hidden{opacity:0}
.skabat-web-wr-feed-page .skabat-web-feed-filters{display:none}
.skabat-web-wr-feed-search input[type="search"],
.skabat-web-matches-search{display:none}
.skabat-web-wr-feed-search label,
.skabat-web-matches-select{margin-bottom:18px}
.skabat-web-matches-select label{display:block;margin:0;font-weight:900;color:#183246}
.skabat-web-wr-feed-search select,
.skabat-web-matches-select select{display:block;width:100%;box-sizing:border-box;min-height:48px;margin-top:6px;padding:8px 12px;border:1px solid #c5d4de;border-radius:10px;background:#fff;color:#183246;font-size:16px}
.skabat-web-wr-feed-page,
.skabat-web-matches-feed-page{
  box-sizing:border-box;
  padding-inline:14px;
}
.skabat-web-wr-feed-page .skabat-web-feed{display:grid;grid-template-columns:1fr;gap:18px}
.skabat-web-wr-feed-tabs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}
.skabat-web-wr-feed-tabs a{display:flex;align-items:center;justify-content:center;min-height:56px;padding:8px 14px;border-radius:14px;background:#8d9eaa;color:#fff;font-size:18px;font-weight:900;text-align:center;text-decoration:none}
.skabat-web-wr-feed-tabs a.is-active{background:#247db3}
.skabat-web-wr-feed-search{margin:0 0 22px}
.skabat-web-wr-feed-search input{width:100%;box-sizing:border-box;min-height:54px;padding:10px 18px;border:0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(17,46,66,.08);font-size:18px}
.skabat-web-wr-feed-card{overflow:hidden;border:1px solid #d5e2ea;border-radius:22px;background:#fff;box-shadow:0 8px 20px rgba(17,46,66,.12)}
.skabat-web-wr-feed-card__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 28px;background:#185b82;color:#fff}
.skabat-web-wr-feed-card__header p{margin:0 0 4px;color:#d7edf8;font-size:13px;font-weight:900;letter-spacing:.06em}
.skabat-web-wr-feed-card__header strong{font-size:38px;line-height:1.1}
.skabat-web-wr-feed-card__header time{font-size:16px;font-weight:800;white-space:nowrap}
.skabat-web-wr-feed-card__body{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px 28px 20px}
.skabat-web-wr-feed-card__body>div{min-width:0}
.skabat-web-wr-feed-card__body h2{margin:0 0 4px;font-size:27px}
.skabat-web-wr-feed-card__body h3{margin:0;color:#60798a;font-size:22px}
.skabat-web-wr-feed-card__player{display:flex;align-items:center;gap:16px;margin-top:18px}
.skabat-web-wr-feed-card__player img{display:block;width:68px;height:88px;object-fit:cover;border-radius:7px}
.skabat-web-wr-feed-card__player strong{font-size:24px;color:#183246}
.skabat-web-wr-feed-card__body>a{display:block;flex:0 0 135px}
.skabat-web-wr-feed-card__body>a img{display:block;width:135px;height:135px;object-fit:contain;background:#eef4f7;border-radius:8px}
.skabat-web-wr-feed-card__duration,.skabat-web-wr-feed-card__change{margin:0 28px 14px;padding:16px 20px;border-radius:14px;font-size:18px;font-weight:900}
.skabat-web-wr-feed-card__duration{background:#fff9df;color:#6d5a1d}
.skabat-web-wr-feed-card__change{margin-bottom:22px;background:#e9f8ef;color:#267448}
.skabat-web-wr-feed-card>.skabat-web-feed-image,.skabat-web-wr-feed-card>.skabat-web-eyebrow,.skabat-web-wr-feed-card>h2,.skabat-web-wr-feed-card>.skabat-web-feed-value,.skabat-web-wr-feed-card>p:not(.skabat-web-wr-feed-card__duration):not(.skabat-web-wr-feed-card__change):not(.skabat-web-wr-feed-card__duration-oldest):not(.skabat-web-wr-feed-card__eternal),.skabat-web-wr-feed-card>small{display:none!important}
.skabat-web-wr-feed-page .skabat-web-wr-feed-tabs{gap:10px;margin-bottom:12px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-tabs a{min-height:44px;padding:6px 12px;font-size:16px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-search{margin-bottom:16px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-search input{min-height:44px;padding:8px 14px;font-size:16px}
.skabat-web-wr-feed-page .skabat-web-feed{gap:14px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card{border-radius:16px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__header{padding:13px 20px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__header p{font-size:11px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__header strong{font-size:30px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__header time{font-size:13px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__body{padding:18px 20px 15px;gap:14px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__body h2{font-size:22px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__body h3{font-size:18px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__player{gap:12px;margin-top:12px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__player img{width:54px;height:70px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__player strong{font-size:20px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__body>a{flex-basis:110px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__body>a img{width:110px;height:110px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__duration,.skabat-web-wr-feed-page .skabat-web-wr-feed-card__change{margin:0 20px 10px;padding:11px 15px;border-radius:11px;font-size:15px}
.skabat-web-wr-feed-page .skabat-web-wr-feed-card__change{margin-bottom:16px}
.skabat-web-wr-feed-card.is-oldest{border:1px solid #d5e2ea;background:#fff}
.skabat-web-wr-feed-card.is-oldest>.skabat-web-wr-feed-card__duration{display:none}
.skabat-web-wr-feed-card__duration-oldest,.skabat-web-wr-feed-card__eternal{margin:0 20px 10px;padding:11px 15px;border-radius:11px;font-size:15px;font-weight:900}
.skabat-web-wr-feed-card__duration-oldest{display:block!important;background:#fff9df;color:#6d5a1d}
.skabat-web-wr-feed-card__eternal{display:inline-block!important;margin-top:0;background:#f0e8ff;color:#6334a5}
.skabat-web-wr-feed-card__badge{display:inline-block;margin:0 20px 10px;padding:11px 15px;border-radius:11px;background:#f0e8ff;color:#6334a5;font-size:15px;font-weight:900}
.skabat-web-wr-feed-card__badge.is-mythic{background:#fff0bf;color:#9a4e12}
.skabat-web-wr-feed-card__badge.is-legendary{background:#ffe5c7;color:#a34816}
.skabat-web-wr-feed-card__badge.is-veteran{background:#e1f0ff;color:#1d5c91}
.skabat-web-wr-feed-pagination{justify-content:center}
.skabat-web-wr-feed-pagination a{padding:11px 20px}
.skabat-web-wr-feed-load-more[aria-busy="true"]{opacity:.7;pointer-events:none}
.skabat-web-wr-feed-lightbox{position:fixed;inset:0;z-index:100060;display:flex;align-items:center;justify-content:center;width:100vw;height:100vh;box-sizing:border-box;padding:24px;background:rgba(0,0,0,.78);cursor:zoom-out}
.skabat-web-wr-feed-lightbox img{display:block;width:auto;height:auto;max-width:94vw;max-height:92vh;margin:auto;object-fit:contain;border-radius:10px}
.skabat-web-wr-feed-lightbox button{position:absolute;top:18px;right:22px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#fff;color:#183246;font-size:30px;line-height:1;cursor:pointer}
.skabat-web-matches-feed-page>.skabat-web-card:not(.skabat-web-feed-card){display:none}
.skabat-web-matches-feed-page.is-scoreboard .skabat-web-matches-select,
.skabat-web-matches-feed-page.is-scoreboard .skabat-web-feed,
.skabat-web-matches-feed-page.is-scoreboard .skabat-web-matches-pagination{display:none}
.skabat-web-matches-feed-page.is-statistics .skabat-web-matches-select,
.skabat-web-matches-feed-page.is-statistics .skabat-web-feed,
.skabat-web-matches-feed-page.is-statistics .skabat-web-matches-pagination{display:none}
.skabat-web-matches-scoreboard{margin-top:18px}
.skabat-web-matches-scoreboard__streak{margin:0 0 18px!important;padding:18px 20px;border-radius:16px;background:#fff9df;color:#6d5a1d;font-size:24px;font-weight:900}
.skabat-web-matches-scoreboard__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:22px 28px;border-radius:18px;background:#fff;box-shadow:0 5px 16px rgba(17,46,66,.08);font-size:24px}
.skabat-web-matches-scoreboard__row span{color:#247db3;font-weight:900}
@media(max-width:700px){
  .skabat-web-matches-scoreboard__streak{font-size:20px}
  .skabat-web-matches-scoreboard__row{padding:20px 24px;font-size:22px}
}
.skabat-web-match-statistics>h2{margin:22px 0 14px;color:#183246;font-size:28px}
.skabat-web-match-statistics__panel{margin:0 0 18px;padding:22px 28px;border-radius:20px;background:#fff;box-shadow:0 6px 18px rgba(17,46,66,.08)}
.skabat-web-match-statistics__panel h3{margin:0 0 18px;font-size:26px}
.skabat-web-match-statistics__item{margin:0 0 16px}
.skabat-web-match-statistics__item:last-child{margin-bottom:0}
.skabat-web-match-statistics__item>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:18px}
.skabat-web-match-statistics__item span{font-weight:900;color:#557080}
.skabat-web-match-statistics__bar{height:18px;margin-top:7px;overflow:hidden;border-radius:10px;background:#e6edf2}
.skabat-web-match-statistics__bar i{display:block;height:100%;border-radius:10px;background:#3168d7}
.skabat-web-match-statistics__bar.is-duration i{background:#1eaaa3}
.skabat-web-match-statistics__games{display:grid;gap:18px}
.skabat-web-match-statistics__games article{padding:24px 28px;border-radius:20px;background:#fff;box-shadow:0 6px 18px rgba(17,46,66,.08)}
.skabat-web-match-statistics__games img{display:block;width:285px;height:190px;margin:0 auto 18px;object-fit:contain}
.skabat-web-match-statistics__games h3{margin:0 0 8px;font-size:26px}
.skabat-web-match-statistics__games p{margin:6px 0!important;color:#557080;font-size:18px}
@media(max-width:700px){
  .skabat-web-match-statistics>h2{font-size:26px}
  .skabat-web-match-statistics__panel{padding:20px 28px}
  .skabat-web-match-statistics__panel h3{font-size:24px}
  .skabat-web-match-statistics__item>div:first-child{font-size:17px}
  .skabat-web-match-statistics__games article{padding:22px 28px}
  .skabat-web-match-statistics__games img{width:285px;height:190px}
  .skabat-web-match-statistics__games h3{font-size:24px}
}
.skabat-web-wr-feed-page a,
.skabat-web-matches-feed-page a{text-decoration:none!important}
.skabat-web-default-image-actions{display:flex;gap:8px;margin-top:10px}
.skabat-web-default-image-actions label{display:inline-flex!important;align-items:center;justify-content:center;min-height:42px;margin:0!important;padding:8px 14px;border-radius:9px;background:#247db3;color:#fff;font-weight:900;cursor:pointer}
.skabat-web-default-image-actions input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}
.skabat-web-settings,
.skabat-web-wr-settings{box-sizing:border-box;padding-inline:14px}
@media(max-width:700px){.skabat-web-default-image-actions{display:grid;grid-template-columns:1fr 1fr}.skabat-web-default-image-actions label{width:auto}}
@media(max-width:700px){.skabat-web-settings,.skabat-web-wr-settings{padding-inline:10px}}
.skabat-web-matches-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:0 0 18px}
.skabat-web-matches-tabs a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:14px;background:#8d9eaa;color:#fff;font-size:18px;font-weight:900;text-decoration:none}
.skabat-web-matches-tabs a.is-active{background:#247db3}
.skabat-web-matches-search{margin:0 0 22px}
.skabat-web-matches-search input{width:100%;box-sizing:border-box;min-height:54px;padding:10px 18px;border:0;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(17,46,66,.08);font-size:18px}
.skabat-web-matches-feed-page .skabat-web-feed{display:grid;grid-template-columns:1fr;gap:18px}
.skabat-web-matches-feed-page .skabat-web-feed-card{min-height:0;padding:22px 190px 22px 28px;border:1px solid #d5e2ea;border-radius:22px;background:#fff;box-shadow:0 8px 20px rgba(17,46,66,.12)}
.skabat-web-matches-feed-page .skabat-web-feed-card:has(.is-game-streak){border:3px solid #e8a916;background:#fffdf1}
.skabat-web-matches-feed-page .skabat-web-feed-card>.skabat-web-eyebrow{display:none}
.skabat-web-matches-feed-page .skabat-web-feed-card>h2{margin:0 0 8px;color:#183246;font-size:28px}
.skabat-web-matches-feed-page .skabat-web-feed-card>.skabat-web-feed-value{margin:0 0 0 84px;color:#183246;font-size:24px}
.skabat-web-matches-feed-page .skabat-web-feed-card>p:not(.skabat-web-match-time):not(.skabat-web-match-duration):not(.skabat-web-match-badge){display:none}
.skabat-web-match-winner-image{display:block;position:absolute;left:28px;top:78px;width:68px;height:88px;object-fit:cover;border-radius:7px}
.skabat-web-match-image-link{display:block;position:absolute;right:18px;top:28px}
.skabat-web-match-image-link img{display:block;width:215px;height:135px;object-fit:contain;border-radius:8px}
.skabat-web-match-time,.skabat-web-match-duration{margin:8px 0 0;color:#557080;font-size:20px;line-height:1.35}
.skabat-web-match-duration{color:#185b82;font-weight:900}
.skabat-web-match-badge{display:inline-block!important;margin:12px 0 0;padding:9px 14px;border-radius:20px;color:#185b82;background:#dff0ff;font-size:18px;font-weight:900}
.skabat-web-match-badge.is-win-streak{background:#f0e8ff;color:#6334a5}
.skabat-web-match-badge.is-match-streak{background:#e8f5ff;color:#185b82}
.skabat-web-match-badge-icon{display:inline-block;font-size:16px;color:#e8a916}
.skabat-web-match-badge.is-game-streak .skabat-web-match-badge-icon{color:#185b82}
.skabat-web-matches-pagination{justify-content:center}
.skabat-web-matches-pagination a{padding:11px 20px}
@media(max-width:700px){
  .skabat-web-wr-feed-page,.skabat-web-matches-feed-page{padding-inline:10px}
  .skabat-web-matches-tabs{gap:10px}
  .skabat-web-matches-tabs a{min-height:52px;padding:7px 8px;font-size:16px;text-align:center}
  .skabat-web-matches-search{margin-bottom:18px}
  .skabat-web-matches-search input{min-height:48px;font-size:16px}
  .skabat-web-matches-feed-page .skabat-web-feed-card{padding:20px 18px 20px 28px;border-radius:22px}
  .skabat-web-matches-feed-page .skabat-web-feed-card>h2{font-size:25px}
  .skabat-web-matches-feed-page .skabat-web-feed-card>.skabat-web-feed-value{font-size:22px}
  .skabat-web-match-winner-image{left:28px;top:78px;width:68px;height:88px}
  .skabat-web-match-image-link{right:18px;top:28px}
  .skabat-web-match-image-link img{width:215px;height:105px}
  .skabat-web-match-time,.skabat-web-match-duration{font-size:18px}
  .skabat-web-match-badge{font-size:16px}
}
/* Matsit Feed: tiiviimpi työpöytä- ja mobiilikortti. */
.skabat-web-matches-feed-page .skabat-web-feed-card{padding:16px 155px 16px 20px;border-radius:18px}
.skabat-web-matches-feed-page .skabat-web-feed-card:has(.is-match-streak),
.skabat-web-matches-feed-page .skabat-web-feed-card:has(.is-game-streak){border:2px solid #e8a916;background:#fffdf1}
.skabat-web-matches-feed-page .skabat-web-feed-card>h2{margin-bottom:4px;font-size:22px}
.skabat-web-matches-feed-page .skabat-web-feed-card>.skabat-web-feed-value{margin-left:70px;font-size:20px}
.skabat-web-match-winner-image{left:20px;top:58px;width:56px;height:70px}
.skabat-web-match-image-link{right:16px;top:16px}
.skabat-web-match-image-link img{width:125px;height:100px}
.skabat-web-match-time,.skabat-web-match-duration{margin:3px -135px 0 0;padding-left:0;font-size:15px;line-height:1.25}
.skabat-web-matches-feed-page p.skabat-web-match-time,
.skabat-web-matches-feed-page p.skabat-web-match-duration{margin-top:2px!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important;line-height:1.25!important}
.skabat-web-matches-feed-page p.skabat-web-match-time.is-start{margin-top:72px!important}
.skabat-web-matches-feed-page p.skabat-web-match-badge{margin-top:7px!important;margin-bottom:0!important}
.skabat-web-matches-feed-page p.skabat-web-match-badge:not(.is-under-winner){display:none!important}
.skabat-web-matches-feed-page p.skabat-web-match-badge.is-under-winner{display:block!important;margin-left:70px!important;margin-right:-135px!important}
.skabat-web-matches-feed-page p.skabat-web-match-badge.is-first-under-winner{margin-top:7px!important}
.skabat-web-match-badge-placeholder{height:44px;margin-top:7px}
.skabat-web-matches-feed-page p.skabat-web-match-time.is-start{margin-top:8px!important}
.skabat-web-match-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;margin-right:4px;font-weight:900}
.skabat-web-match-icon.is-start{color:#287fbd}
.skabat-web-match-icon.is-end{color:#f28c28}
.skabat-web-match-icon.is-tournament{color:#263f92}
.skabat-web-match-icon.is-duration{color:#16834b}
.skabat-web-match-badge{display:block!important;width:fit-content;max-width:calc(100% + 135px);margin:7px -135px 0 0;padding:7px 11px;font-size:15px}
@media(max-width:700px){
  .skabat-web-matches-feed-page .skabat-web-feed-card{padding:15px 135px 15px 18px}
  .skabat-web-matches-feed-page .skabat-web-feed-card>h2{font-size:20px}
  .skabat-web-matches-feed-page .skabat-web-feed-card>.skabat-web-feed-value{font-size:18px}
  .skabat-web-match-winner-image{left:18px;top:55px;width:52px;height:66px}
  .skabat-web-match-image-link{right:14px;top:14px}
  .skabat-web-match-image-link img{width:112px;height:86px}
  .skabat-web-match-time,.skabat-web-match-duration{margin-right:-117px;padding-left:0;font-size:14px}
  .skabat-web-matches-feed-page p.skabat-web-match-time.is-start{margin-top:68px!important}
  .skabat-web-match-badge-placeholder{height:68px}
  .skabat-web-match-badge{font-size:14px}
}
@media(min-width:701px){
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__header{padding:10px 18px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__header strong{font-size:26px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__body{padding:14px 18px 12px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__body h2{font-size:20px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__body h3{font-size:17px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__player img{width:46px;height:60px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__player strong{font-size:18px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__body>a{flex-basis:90px}
  .skabat-web-wr-feed-page .skabat-web-wr-feed-card__body>a img{width:90px;height:90px}
}
@media(max-width:700px){
  .skabat-web-records-page .skabat-web-record-history-list .skabat-web-record-image img{
    width:82px!important;
    height:82px!important;
  }
  .skabat-web-records-page .skabat-web-record-modal__image-sources{grid-template-columns:1fr}
  .skabat-web-wr-feed-tabs{gap:10px}
  .skabat-web-wr-feed-tabs a{min-height:52px;padding:7px 8px;font-size:16px}
  .skabat-web-wr-feed-search{margin-bottom:18px}
  .skabat-web-wr-feed-card__header{padding:16px 18px}
  .skabat-web-wr-feed-card__header strong{font-size:30px}
  .skabat-web-wr-feed-card__header time{font-size:13px}
  .skabat-web-wr-feed-card__body{align-items:flex-start;padding:22px 18px 18px;gap:10px}
  .skabat-web-wr-feed-card__body h2{font-size:23px}
  .skabat-web-wr-feed-card__body h3{font-size:19px}
  .skabat-web-wr-feed-card__player{margin-top:14px}
  .skabat-web-wr-feed-card__player img{width:58px;height:76px}
  .skabat-web-wr-feed-card__player strong{font-size:21px}
  .skabat-web-wr-feed-card__body>a{flex-basis:94px}
  .skabat-web-wr-feed-card__body>a img{width:94px;height:94px}
  .skabat-web-wr-feed-card__duration,.skabat-web-wr-feed-card__change{margin-left:18px;margin-right:18px;padding:13px 16px;font-size:15px}
  .skabat-web-stat-vs{min-height:140px}
  .skabat-web-stat-player-image,
  .skabat-web-stat-vs-image,
  .skabat-web-stat-game-image{height:140px!important}
  .skabat-web-stat-vs-image{flex-basis:42px;width:42px}
  .skabat-web-stat-player-image{min-height:120px;min-width:76px;max-width:150px}
  .skabat-web-stat-player-image span{min-height:120px;font-size:15px}
}

/* Pidä VS-kuva aina saman korkuisena kuin pelaajakuvat. */
.skabat-web-stat-card .skabat-web-stat-vs-image{
  width:54px!important;
  height:170px!important;
}
@media(max-width:700px){
  .skabat-web-stat-card .skabat-web-stat-vs-image{
    width:42px!important;
    height:140px!important;
  }
}
