* { box-sizing: border-box; }
html { background: #f8f5ed; color: #251941; }
body {
  margin: 0;
  font: 16px/1.45 "Avenir Next", "Trebuchet MS", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
button, select, input { font: inherit; }
button, select, .card-link { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
a:focus, button:focus, select:focus, [tabindex]:focus { outline: 3px solid #9d5ce9; outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
.screen h1[tabindex="-1"]:focus { outline: none; }
.frame { width: 92%; max-width: 1060px; margin: 0 auto; }

.masthead { border-bottom: 1px solid #dad2e8; background: #fdfbf6; }
.masthead-inner { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; padding: 17px 0; }
.school { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; text-decoration: none; }
.school strong, .school > span > span { display: block; }
.school strong { font-size: 17px; letter-spacing: -.025em; line-height: 1.25; }
.school > span > span { margin-top: 2px; color: #5b506f; font-size: 12px; }
.school-mark { position: relative; display: block; width: 38px; height: 38px; -webkit-flex: 0 0 38px; flex: 0 0 38px; border-radius: 10px; background: #392080; margin-right: 11px; }
.school-mark i { position: absolute; width: 9px; height: 9px; border-radius: 1px; background: #c9fb70; }
.school-mark i:nth-child(1) { top: 9px; left: 9px; }
.school-mark i:nth-child(2) { top: 9px; left: 20px; background: #ff9070; }
.school-mark i:nth-child(3) { top: 20px; left: 9px; background: #b69af9; }
.school-mark i:nth-child(4) { top: 20px; left: 20px; background: #ffd372; -webkit-transform: rotate(-45deg) scale(.87); transform: rotate(-45deg) scale(.87); }
.event-label { margin-left: 12px; padding: 6px 10px; border: 1px solid #bdb2d4; border-radius: 6px; color: #463175; font-weight: 750; white-space: nowrap; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; }

.screen { padding: 25px 0 40px; }
.screen.is-hidden { display: none; }
.hero {
  position: relative;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  overflow: hidden;
  min-height: 316px;
  background: #2e1b67;
  color: #fffaf0;
  border-radius: 21px;
  box-shadow: 0 7px 0 #dcd3e9;
}
.hero-copy { position: relative; z-index: 1; padding: 27px 0 30px 40px; width: 56%; }
.hero h1 { margin: 0; font-size: 68px; font-weight: 800; line-height: .98; letter-spacing: -.054em; }
.hero h1 em { color: #c9fb70; font-style: italic; }
.hero p { max-width: 330px; margin: 16px 0 0; color: #eee5ff; font-size: 17px; line-height: 1.45; }
.hero-art { position: absolute; width: 51%; height: 100%; right: 18px; top: 0; }

.game-cards { margin: 25px -8px 0; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
.game-card { background: #fffdf8; border: 1px solid #d8cde7; border-radius: 17px; overflow: hidden; margin: 0 8px 16px; min-width: 0; width: calc(50% - 16px); }
.card-illustration { height: 138px; overflow: hidden; border-bottom: 1px solid #d8cde7; }
.card-illustration svg { width: 100%; height: 100%; display: block; }
.tang-art { background: #e3f9b8; }
.pav-art { background: #e7dafa; }
.num-art { background: #ffe6a6; }
.spec-art { background: #caefe4; }
.card-body { padding: 17px 18px 18px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; }
.card-body h2 { font-size: 29px; line-height: 1.06; letter-spacing: -.045em; margin: 0 0 6px; }
.card-body p { color: #564965; margin: 0; font-size: 14px; }
.card-link { padding: 10px 12px; margin-left: 14px; text-decoration: none; flex: 0 0 auto; display: block; min-width: 87px; min-height: 45px; border-radius: 9px; font-size: 14px; font-weight: bold; white-space: nowrap; }
.card-link span + span { margin-left: 6px; font-size: 17px; }
.tang-link { background: #c9fb70; color: #29390e; }
.pav-link { background: #6d44cd; color: #fff; }
.numero-link { background: #ffcd58; color: #482c1d; }
.specchio-link { background: #267663; color: #fff; }
.card-link:hover, .btn:hover:not(:disabled) { box-shadow: inset 0 0 0 2px rgba(32,19,66,.25); }

.game-screen { max-width: 830px; margin: 0 auto; padding-top: 9px; }
.game-nav { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; margin: 0 -5px 2px; font-size: 13px; font-weight: bold; color: #5936a1; }
.game-nav a { min-height: 44px; padding: 12px 5px; display: block; text-decoration: none; }
.game-nav a:hover { text-decoration: underline; }
.game-screen h1 { margin: 0 0 10px; font-size: 45px; letter-spacing: -.055em; line-height: 1.05; }
.game-content { padding: 13px; min-width: 0; border: 1px solid #d7cce7; border-radius: 16px; background: #fffdf8; }
.game-head, .game-actions { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; align-items: center; margin: 0 -3px; }
.game-head > *, .game-actions > * { margin: 3px; }
.game-head label, .game-label { font-weight: bold; color: #45365a; font-size: 14px; }
.game-help { color: #594e6b; font-size: 13px; margin: 7px 0 8px; }
.game-board { position: relative; overflow: hidden; margin: 8px 0; border-radius: 11px; border: 1px solid #d8cde6; background: #f2ecf9; }
.playfield { width: 100%; height: auto; display: block; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.playfield text { font-family: "Avenir Next", "Trebuchet MS", Arial, sans-serif; }
.playfield [tabindex]:focus { outline: none; }
.playfield g[tabindex]:focus polygon, .playfield polygon[tabindex]:focus { stroke: #2d174c; stroke-width: 4; }
.game-head select, .btn, .game-actions button { min-height: 44px; border: 1px solid #beadd9; border-radius: 8px; background: #f5effb; color: #392766; padding: 8px 11px; font-size: 14px; font-weight: bold; line-height: 1.15; }
.game-head select { max-width: 100%; }
.btn.primary { color: #fff; background: #633ac1; border-color: #633ac1; }
.tang-content .btn.primary { color: #22320e; background: #c9fb70; border-color: #a1c65f; }
.btn.quiet { background: #fffdf8; }
.game-message { padding: 7px 10px; min-height: 36px; background: #f1ecfa; color: #473862; border-radius: 7px; font-size: 13px; margin: 8px 0 0; }
.game-message[data-kind="good"] { color: #254714; background: #e5f6c7; font-weight: bold; }
.game-message[data-kind="try"] { color: #6b370a; background: #fff0cc; }
.no-script { padding: 10px; background: #fff0cc; }
.mobile-break { display: none; }
@media (max-width: 1140px) {
  .hero h1 { font-size: 5.9vw; }
}
@media (max-width: 900px) {
  .hero { min-height: 280px; }
}
@media (max-width: 650px) {
  .frame { width: 94%; }
  .masthead-inner { padding: 10px 0; }
  .school strong { font-size: 14px; }
  .school > span > span { font-size: 10.5px; line-height: 1.2; }
  .school-mark { margin-right: 8px; }
  .event-label { padding: 5px 6px; margin-left: 6px; font-size: 9px; }
  .screen { padding-top: 15px; }
  .hero { min-height: 204px; border-radius: 15px; }
  .hero-copy { padding: 19px 0 21px 17px; width: 100%; }
  .hero h1 { font-size: 45px; }
  .hero p { max-width: 178px; margin-top: 10px; font-size: 14px; }
  .hero-art { width: 46%; height: 57%; top: auto; bottom: 3%; right: 1%; opacity: .9; }
  .game-cards { margin: 16px 0 0; display: block; }
  .game-card { margin: 0 0 10px; width: 100%; min-height: 112px; display: -webkit-flex; display: flex; border-radius: 12px; }
  .card-illustration { width: 29%; min-height: 111px; height: auto; position: relative; border: 0; border-right: 1px solid #d8cde7; }
  .card-illustration svg { width: 200%; max-width: none; height: 100%; position: absolute; left: -50%; }
  .card-body { padding: 10px; width: 71%; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .card-body h2 { font-size: 23px; margin-bottom: 3px; }
  .card-body p { font-size: 12px; }
  .card-link { font-size: 12px; padding: 8px 9px; min-width: 69px; min-height: 44px; margin: 4px 0 0; }
  .game-screen { padding: 2px 0 22px; }
  .game-screen h1 { font-size: 33px; margin-bottom: 6px; }
  .game-content { padding: 7px; border-radius: 12px; }
  .game-head select, .btn, .game-actions button { padding: 6px 8px; font-size: 13px; }
  .game-head, .game-actions { margin: 0 -2px; }
  .game-head > *, .game-actions > * { margin: 2px; }
  .game-nav { font-size: 12px; margin-bottom: 0; }
  .mobile-break { display: initial; }
}
@media (max-width: 370px) {
  .hero h1 { font-size: 36px; }
  .hero p { max-width: 154px; }
  .hero { min-height: 188px; }
  .school strong { font-size: 13px; }
  .card-body h2 { font-size: 21px; }
}
@media (max-height: 520px) and (min-width: 600px) {
  .game-screen { max-width: 670px; }
}
.mosaic-reference {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  color: #473862;
  font-size: 13px;
  font-weight: bold;
}
.mosaic-reference svg { display: block; margin-left: 8px; }
.offline-status { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap;
  -webkit-align-items: center; align-items: center; margin: 0 0 12px; padding: 6px 9px;
  border: 1px solid #d7cce7; border-radius: 9px; background: #fffdf8; color: #473862; font-size: 13px; }
.offline-status[hidden], .offline-status [hidden] { display: none; }
.offline-status p { margin: 4px 8px 4px 0; }
.offline-status .btn, .offline-status a { margin: 2px 6px 2px 0; }
.offline-status a { min-height: 44px; padding: 11px 3px; }
.offline-status[data-state="ready"], .offline-status[data-state="update"] {
  background: #e5f6c7; border-color: #bddb9d; color: #254714; }
.offline-status[data-state="ready"] p { font-weight: bold; }
.game-head button { flex-shrink: 0; }
.mosaic-board-wrap { background: #fcfbf4; }
#mosaic-board { width: 100%; max-width: 510px !important; margin: 0 auto; }
#tangram-wrap { background: #f7f3ff; }
#specchio-board rect[tabindex]:focus { stroke: #2d174c; stroke-width: 3; }
.numero-content .btn.primary { color: #503222; background: #ffcf62; border-color: #c2872d; }
.specchio-content .btn.primary { background: #267663; border-color: #267663; }
.number-deck { padding: 13px 12px 16px; background: #fff4d7; border-color: #ead5a6; }
.number-target { display: block; margin: 0 auto 10px; text-align: center; font-weight: bold; color: #52396b; }
.number-target-value { display: block; font-size: 50px; line-height: 1.02; font-weight: 850; letter-spacing: -.04em; color: #392080; }
.number-cards { display: -webkit-flex; display: flex; max-width: 560px; margin: 0 auto; }
.number-card { position: relative; display: block; -webkit-flex: 1; flex: 1; min-width: 0; min-height: 62px; margin: 3px; padding: 6px 3px;
  border: 1px solid #aa8abb; border-bottom: 4px solid #9472b1; border-radius: 10px;
  background: #fbf6ff; color: #382466; font-size: 25px; font-weight: 800; }
.number-card[aria-pressed="true"] { border-color: #4d297d; background: #6d44cd; color: #fff; }
.number-card[data-order]::after { content: attr(data-order); position: absolute; right: 5px; top: 4px; width: 17px; height: 17px;
  border-radius: 9px; background: #fff6d9; color: #442467; font: bold 11px/17px Arial, sans-serif; }
.number-card:disabled { opacity: 1; border-bottom-width: 1px; }
.number-equation { margin: 9px 0 0; text-align: center; font-size: 18px; font-weight: bold; color: #493566; }
.number-operations { -webkit-justify-content: center; justify-content: center; }
.number-operations button { min-width: 49px; font-size: 21px; }
@supports (display: grid) {
  @media (min-width: 700px) {
    .tang-content, .pav-content, .specchio-content {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 225px;
      grid-template-rows: auto auto auto auto 1fr;
      gap: 9px 15px;
      align-items: start;
      padding: 14px;
    }
    .game-content > * { grid-column: 2; }
    .game-content > .game-board { grid-column: 1; grid-row: 1 / 6; margin: 0; }
    .game-content > .game-head { grid-row: 1; }
    .game-content > .game-help { grid-row: 2; margin: 1px 0; }
    .game-content > .mosaic-reference { grid-row: 3; }
    .game-content > .game-actions { grid-row: 4; }
    .game-content > .game-message { grid-row: 5; margin: 0; }
    .tang-content > .game-actions { grid-row: 3; }
    .tang-content > .game-message { grid-row: 4; }
    .specchio-content > .specchio-palette { grid-row: 3; }
  }
}

body { min-height: 100vh; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
main.frame { -webkit-flex: 1 0 auto; flex: 1 0 auto; }
.school-hero + .offline-status { margin: 16px 0 0; }
.school-hero h1 { font-size: 82px; }
.school-hero .hero-copy { width: 57%; }
.discipline-heading { margin: 29px 0 13px; font-size: 28px; line-height: 1.08; letter-spacing: -.047em; }
.discipline-grid { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: -5px; }
.discipline-tile {
  position: relative; display: block; overflow: hidden; min-height: 103px; width: calc(25% - 10px);
  margin: 5px; padding: 13px; text-decoration: none; color: #31214e; background: #fffdf8;
  border: 1px solid #d7cce7; border-radius: 12px;
}
.discipline-tile strong { display: block; margin-top: 8px; font-size: 16px; line-height: 1.17; }
.discipline-tile:hover { border-color: #714bc3; }
.discipline-mark {
  display: block; width: 41px; height: 41px; text-align: center; font-weight: 750;
  font-size: 19px; line-height: 41px; border-radius: 9px; background: #e7dafa; color: #352359;
}
.discipline-lime .discipline-mark { background: #c9fb70; color: #2b3c17; }
.discipline-teal .discipline-mark { background: #a7eee0; color: #184f46; }
.discipline-coral .discipline-mark { background: #ffbcac; color: #662b37; }
.discipline-gold .discipline-mark { background: #ffdd86; color: #624625; }
.discipline-featured {
  width: calc(50% - 10px); min-height: 91px; padding: 15px 36px 13px 69px;
  background: #e9f9cd; border-color: #bfd894;
}
.discipline-tile.discipline-featured.discipline-teal { background: #d8f6ee; border-color: #a9d5cb; }
.discipline-featured .discipline-mark { position: absolute; top: 16px; left: 14px; }
.discipline-featured strong { margin-top: 1px; font-size: 21px; }
.discipline-featured::after { position: absolute; content: '→'; top: 15px; right: 14px; font-size: 21px; font-weight: bold; }
.discipline-count { display: block; margin-top: 4px; font-size: 13px; color: #56496b; }
.subject-caption { margin: 2px 1px 10px; font-size: 14px; font-weight: bold; color: #5b427e; }
.subject-screen { max-width: 830px; margin: 0 auto; }
.subject-screen h1 { margin: 2px 0 10px; font-size: 46px; line-height: 1.06; letter-spacing: -.06em; }
.subject-empty { color: #594b68; margin: 14px 0; }
.support-cards { margin-top: 12px; }
.school-credit { padding: 12px 0 18px; color: #6a5b7c; text-align: center; font-size: 11px; }
.game-nav a:last-child:not(:first-child) { text-align: right; }
#punti-board circle[tabindex]:focus { stroke: #2d174c; stroke-width: 3; }
.tiro-art { background: #e1f7ca; }
.punti-art { background: #eae1fb; }
.slitta-art { background: #ffe6a6; }
.simboli-art { background: #ccefe6; }
.tiro-link { background: #c9fb70; color: #29390e; }
.punti-link { background: #6d44cd; color: #fff; }
.slitta-link { background: #ffcd58; color: #482c1d; }
.simboli-link { background: #267663; color: #fff; }
.card-art-rope, .card-art-symbols { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center;
  -webkit-justify-content: center; justify-content: center; height: 100%; font-size: 34px; color: #43247a; font-weight: 800; }
.card-art-rope span { display: block; width: 41px; height: 41px; line-height: 41px; border-radius: 10px; background: #afdd7a; text-align: center; }
.card-art-rope span:last-child { background: #c6a8f9; }
.card-art-rope i { width: 46px; height: 5px; margin: 0 5px; background: #554071; border-radius: 4px; }
.card-art-symbols span { display: block; padding: 3px 7px; background: #fff4d4; border: 2px solid #4b8277; border-radius: 25px; margin: 0 4px; font-size: 19px; }
.card-art-symbols b { color: #663ac7; }
.card-art-slide { display: grid; grid-template-columns: repeat(3, 22px); grid-template-rows: repeat(3, 22px);
  gap: 4px; width: 74px; margin: 30px auto 0; text-align: center; color: #47316f; font-size: 13px; line-height: 22px; font-weight: bold; }
.card-art-slide span { background: #fff2cc; border-radius: 5px; }
.card-art-slide i { border: 1px dashed #94733e; border-radius: 5px; }
@media (max-width: 1140px) { .school-hero h1 { font-size: 7vw; } }
@media (max-width: 650px) {
  .school-hero h1 { font-size: 45px; }
  .school-hero .hero-copy { width: 100%; }
  .school-hero-art { width: 43%; bottom: 3%; }
  .discipline-heading { margin-top: 21px; font-size: 25px; }
  .discipline-tile { width: calc(50% - 10px); padding: 10px; min-height: 94px; }
  .discipline-tile strong { font-size: 15px; }
  .discipline-tile.discipline-featured { min-height: 121px; }
  .discipline-featured::after { top: 11px; right: 11px; }
  .discipline-featured .discipline-mark { position: static; margin-bottom: 7px; }
  .discipline-featured strong { font-size: 16px; }
  .subject-screen h1 { font-size: 35px; }
  .card-art-rope span { width: 24px; height: 26px; line-height: 26px; font-size: 21px; }
  .card-art-rope i { width: 22px; margin: 0 2px; height: 3px; }
  .card-art-symbols span { font-size: 13px; padding: 2px 4px; margin: 0 2px; }
  .card-art-slide { margin-top: 19px; }
}
@media (max-width: 370px) { .school-hero h1 { font-size: 39px; } }
.tiro-content .tiro-arena {
  margin: 10px 0 12px;
  padding: 10px 12px 8px;
  border: 1px solid #ded3ec;
  border-radius: 12px;
  background: #f8f3fc;
}
.tiro-content .tiro-endpoints {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  color: #493272;
  font-size: 13px;
  font-weight: 750;
}
.tiro-content .tiro-endpoints span:first-child { color: #335711; }
.tiro-content .tiro-track { position: relative; height: 30px; margin: 2px 0; }
.tiro-content .tiro-rope {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 10px;
  height: 10px;
  border: 1px solid #7f532d;
  border-radius: 8px;
  background-color: #b4834c;
  background-image: repeating-linear-gradient(125deg, #c9965a 0, #c9965a 5px, #b4834c 5px, #b4834c 9px);
}
.tiro-content .tiro-track:before,
.tiro-content .tiro-track:after,
.tiro-content .tiro-center {
  content: "";
  position: absolute;
  z-index: 1;
  top: 4px;
  width: 4px;
  height: 22px;
  margin-left: -2px;
  border-radius: 2px;
}
.tiro-content .tiro-track:before { left: 5%; background: #5b8828; }
.tiro-content .tiro-track:after { left: 95%; background: #7954ba; }
.tiro-content .tiro-center { left: 50%; background: #8c7b9e; }
.tiro-content .tiro-mark {
  position: absolute;
  z-index: 2;
  top: 4px;
  left: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  border: 2px solid #43245f;
  border-radius: 5px;
  background: #ffd15e;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: left .16s ease-out;
}
.tiro-content .tiro-position {
  min-height: 20px;
  margin: 1px 0 0;
  text-align: center;
  color: #423568;
  font-size: 13px;
  font-weight: 700;
}
.tiro-content .tiro-teams { display: -webkit-flex; display: flex; }
.tiro-content .tiro-team {
  -webkit-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #b5ce97;
  border-radius: 12px;
  background: #eff7e5;
  color: #304716;
  text-align: center;
}
.tiro-content .tiro-team + .tiro-team { margin-left: 8px; }
.tiro-content .tiro-team-1 {
  border-color: #dac4fa;
  background: #f1e8fd;
  color: #432668;
}
.tiro-content .tiro-team[data-tiro-winner="true"] { box-shadow: inset 0 0 0 2px currentColor; }
.tiro-content .tiro-team h2 { margin: 0; font-size: 16px; line-height: 1.2; }
.tiro-content .tiro-problem {
  margin: 4px 0 6px;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}
.tiro-content .tiro-answer {
  display: block;
  width: 100%;
  min-height: 42px;
  margin: 0 auto 5px;
  padding: 4px 6px;
  border: 2px solid #9687a0;
  border-radius: 7px;
  background: #fff;
  color: #211738;
  font: 700 24px/1 sans-serif;
  text-align: center;
}
.tiro-content .tiro-pad {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -2px;
}
.tiro-content .tiro-key.btn {
  -webkit-flex: 0 0 31.333%;
  flex: 0 0 31.333%;
  min-width: 0;
  min-height: 45px;
  margin: 2px 1%;
  padding: 4px 0;
  border-color: #aabc92;
  background: #fff;
  color: #304716;
  font-size: 18px;
  touch-action: manipulation;
}
.tiro-content .tiro-team-1 .tiro-key.btn { border-color: #c6acd9; color: #432668; }
.tiro-content .tiro-key.btn[data-tiro-key="check"] {
  border-color: #86a958;
  background: #c9fb70;
  color: #253710;
}
.tiro-content .tiro-team-1 .tiro-key.btn[data-tiro-key="check"] {
  border-color: #4e2b86;
  background: #6841a8;
  color: #fff;
}
.tiro-content .tiro-feedback {
  min-height: 30px;
  margin: 5px 0 0;
  color: #423568;
  font-size: 12px;
  line-height: 1.2;
}
.tiro-content .tiro-feedback[data-kind="try"] { color: #7f381b; }
.tiro-content .tiro-feedback[data-kind="good"] { color: #354c15; }
@media (max-width: 420px) {
  .tiro-content .tiro-team { padding: 5px 3px; }
  .tiro-content .tiro-team + .tiro-team { margin-left: 5px; }
  .tiro-content .tiro-team h2 { font-size: 14px; }
  .tiro-content .tiro-problem { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .tiro-content .tiro-mark { transition: none; }
}
.slitta-content .slitta-board {
  padding: 10px;
  background: #2e1b67;
  border-color: #422582;
  border-radius: 16px;
}

.slitta-content .slitta-row { font-size: 0; }

.slitta-content .slitta-slot {
  display: inline-block;
  width: 33.3333%;
  vertical-align: top;
  padding: 4px;
}

.slitta-content .slitta-square {
  height: 0;
  padding-bottom: 100%;
  position: relative;
}

.slitta-content .slitta-cell {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 0;
  border: 1px solid #69549c;
  border-radius: 10px;
  overflow: hidden;
  background: #21134d;
  color: #261949;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.slitta-content .slitta-face {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 8px;
  box-shadow: inset 0 -4px rgba(38, 25, 73, .19);
}

.slitta-content .slitta-face span {
  position: absolute;
  top: 49%;
  left: 0;
  right: 0;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.slitta-content [data-row-group="1"] .slitta-face { background: #c9fb70; }
.slitta-content [data-row-group="2"] .slitta-face { background: #c4a9fa; }
.slitta-content [data-row-group="3"] .slitta-face { background: #ffd477; }
.slitta-content [data-row-group="0"] .slitta-face { box-shadow: none; }
.slitta-content [data-movable="true"] { border-color: #fff9e8; }
.slitta-content [data-movable="true"]:hover .slitta-face { box-shadow: inset 0 0 0 3px rgba(44, 30, 79, .28); }

.slitta-content .slitta-cell:focus {
  z-index: 1;
  outline: 3px solid #fff8d8;
  outline-offset: 2px;
}

.slitta-content .slitta-cell:focus:not(:focus-visible) { outline: none; }
.slitta-content .slitta-cell[data-value="0"], .slitta-content .slitta-board[data-solved="true"] .slitta-cell { cursor: default; }

.slitta-content .slitta-counter {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d7cce7;
  border-radius: 8px;
  background: #f4ebfc;
  color: #392766;
  font-size: 14px;
  font-weight: bold;
}

.slitta-content .slitta-counter strong {
  display: inline-block;
  min-width: 1.4em;
  margin-left: 4px;
  text-align: center;
  color: #2e1b67;
  font-variant-numeric: tabular-nums;
}

.slitta-content [data-slide-from] .slitta-face { animation-duration: .14s; animation-timing-function: ease-out; }
.slitta-content [data-slide-from="left"] .slitta-face { animation-name: slitta-from-left; }
.slitta-content [data-slide-from="right"] .slitta-face { animation-name: slitta-from-right; }
.slitta-content [data-slide-from="above"] .slitta-face { animation-name: slitta-from-above; }
.slitta-content [data-slide-from="below"] .slitta-face { animation-name: slitta-from-below; }
@keyframes slitta-from-left { from { transform: translateX(-106%); } to { transform: translateX(0); } }
@keyframes slitta-from-right { from { transform: translateX(106%); } to { transform: translateX(0); } }
@keyframes slitta-from-above { from { transform: translateY(-106%); } to { transform: translateY(0); } }
@keyframes slitta-from-below { from { transform: translateY(106%); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .slitta-content [data-slide-from] .slitta-face { animation: none; }
}

@media (min-width: 700px) {
  .slitta-content .slitta-board { padding: 13px; }
  .slitta-content .slitta-slot { padding: 6px; }
  .slitta-content .slitta-cell { font-size: 54px; }
  .slitta-content > .slitta-actions { grid-row: 3; }
  .slitta-content > .game-message { grid-row: 4; }
}
.game-content.simboli-content {
  display: block;
}

.simboli-content .symbols-instructions {
  margin: 0 0 12px;
}

.simboli-content .symbols-tools {
  margin-bottom: 8px;
}

.simboli-content .symbols-wheels {
  display: -webkit-flex;
  display: flex;
  margin: 0 -4px;
}

.simboli-content .symbol-wheel {
  min-width: 0;
  width: 50%;
  margin: 0 4px;
  padding: 8px 4px 10px;
  border: 1px solid #c7b6e6;
  border-radius: 20px;
  background: #eee5fb;
  text-align: center;
}

.simboli-content .symbol-wheel + .symbol-wheel {
  border-color: #96cdbd;
  background: #ddf2eb;
}

.simboli-content .symbol-wheel h2 {
  margin: 0 0 6px;
  color: #392861;
  font-size: 15px;
  line-height: 1.25;
}

.simboli-content .symbols-disc {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  justify-content: center;
  max-width: 282px;
  margin: 0 auto;
}

.simboli-content .symbol-chip {
  box-sizing: border-box;
  width: calc(50% - 6px);
  min-height: 58px;
  padding: 3px 1px;
  margin: 3px;
  border: 2px solid #aa9bc3;
  border-radius: 12px;
  background: #fffdf8;
  color: #35234f;
  text-align: center;
  touch-action: manipulation;
}

.simboli-content .symbol-chip:focus {
  outline: 3px solid #5132a0;
  outline-offset: 0;
}

.simboli-content .symbol-chip[data-mark="wrong"] {
  border: 2px dashed #a33242;
  background: #fff0f0;
}

.simboli-content .symbol-chip[data-mark="hint"] {
  border: 3px dashed #69400c;
  padding: 2px 0;
  background: #fff0bd;
}

.simboli-content .symbol-chip[data-mark="right"] {
  border: 3px solid #236840;
  padding: 2px 0;
  background: #e1f6c5;
}

.simboli-content .symbol-glyph {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto;
}

.simboli-content .symbol-name {
  display: block;
  margin-top: 1px;
  font-weight: bold;
  font-size: 11px;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.simboli-content[data-symbol-names="no"] .symbol-name {
  display: none;
}

.simboli-content .symbols-actions {
  margin: 8px -2px 0;
}

.simboli-content .symbols-actions [aria-pressed="true"] {
  border-color: #694e9d;
  background: #ece2fa;
  color: #3c2965;
}

.simboli-content .symbols-actions [aria-pressed="false"] {
  color: #5a5069;
}

.simboli-content [hidden] {
  display: none;
}

.simboli-content[data-symbol-motion="yes"] .symbols-reveal {
  animation: symbols-reveal .34s ease-out both;
}

.simboli-content[data-symbol-motion="yes"] .symbol-wheel + .symbol-wheel .symbols-reveal {
  animation-name: symbols-reveal-other;
}

@keyframes symbols-reveal {
  from { transform: rotate(-7deg) scale(.97); }
  to { transform: rotate(0deg) scale(1); }
}

@keyframes symbols-reveal-other {
  from { transform: rotate(7deg) scale(.97); }
  to { transform: rotate(0deg) scale(1); }
}

@media (min-width: 590px) {
  .simboli-content .symbol-wheel { padding: 12px 8px; }
  .simboli-content .symbol-chip { min-height: 76px; }
  .simboli-content .symbol-glyph { width: 46px; height: 46px; }
  .simboli-content .symbol-name { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .simboli-content[data-symbol-motion="yes"] .symbols-reveal,
  .simboli-content[data-symbol-motion="yes"] .symbol-wheel + .symbol-wheel .symbols-reveal {
    animation: none;
  }
}

