@font-face{font-family:Verdana;src:local("Verdana"),url("/Verdana.ttf")}
@font-face{font-family:Verdana;src:local("Verdana Bold"),url("/VerdanaBd.ttf");font-weight:bold}
:root{--sky:#ccdaff;--snow:#5d68a8;--ink:#000032;--pale:#cdd9ff}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:grid;place-items:center;color:var(--ink);font:10px/1.4 Verdana,Arial,sans-serif;
  background:linear-gradient(to bottom,var(--sky) 0 calc(50% + 7px),var(--ink) calc(50% + 7px) calc(50% + 8px),#8d9be4 calc(50% + 8px) calc(50% + 9px),var(--snow) calc(50% + 9px))}
main{position:relative;width:640px;height:482px}
.art,.flakes i{display:block;background-image:url("radiolinja.png");background-repeat:no-repeat;image-rendering:pixelated}
.art,.flakes i,.intro,.offer,.launch,.board{position:absolute}
.family{left:0;top:120px;width:215px;height:234px;background-position:0 -120px}
.rating{left:57px;top:374px;width:107px;height:41px;background-position:-57px -374px}
.sponsor{left:480px;top:385px;width:158px;height:33px;background-position:-480px -385px}
.flakes i:first-child{left:20px;top:106px;width:36px;height:40px;background-position:-20px -106px}
.flakes i:nth-child(2){left:166px;top:42px;width:60px;height:65px;background-position:-166px -42px}
.flakes i:last-child{left:536px;top:62px;width:38px;height:39px;background-position:-536px -62px}
h1,h2,p,ol,ul{margin:0}
.intro,.offer{left:234px;width:228px;font-weight:bold}
.intro{top:154px;color:#30305b}.intro h1{font-size:18px;line-height:24px;margin-bottom:10px;letter-spacing:-.5px}
.intro p,.offer p{font:700 10px/13px Verdana,Arial,sans-serif}
.offer{top:254px;color:var(--pale)}.offer p{min-height:95px}
a,summary{color:inherit}a:hover,summary:hover{text-decoration:underline}
a:focus-visible,summary:focus-visible{outline:2px solid #ff0;outline-offset:2px;box-shadow:0 0 0 4px var(--ink)}
.about{margin-top:9px}.about summary{color:#ffff00;font-weight:bold;text-decoration:underline}
.languages{margin-top:12px;font-size:10px;font-weight:normal;color:white}.languages a[aria-current]{font-weight:bold}
.launch{left:486px;top:142px;width:151px}.play{position:static;width:151px;height:41px;background-position:-486px -142px}
.launch ul{margin:9px 0 0 10px;padding:0;list-style:none;font:10px/13px Verdana,Arial,sans-serif}
.launch li{position:relative;padding-left:10px}.launch li:before{content:">";position:absolute;left:0}
summary{display:inline;cursor:pointer;text-decoration:underline}summary::-webkit-details-marker{display:none}
details{position:relative}details[open]{z-index:4}
details>div{position:absolute;left:0;top:calc(100% + 3px);width:210px;padding:10px;background:#edf3ff;border:1px solid var(--ink);color:var(--ink);box-shadow:2px 2px 0 var(--ink);font:11px/1.5 Verdana,Arial,sans-serif}
.instructions>div{left:auto;right:0}
.board{left:485px;top:248px;width:150px;min-height:103px;padding:1px 10px 2px;color:white;background:var(--snow);border:1px solid var(--ink);box-shadow:inset 1px 1px #8d9be4,inset -1px -1px #cdd9ff}
.board h2{margin:1px 0 0 9px;font:bold 10px/16px Georgia,serif;color:var(--pale);letter-spacing:.6px}
.board ol{padding:0;list-style:none;counter-reset:place;min-height:80px;
  background:repeating-linear-gradient(90deg,transparent 0 2px,var(--snow) 2px 4px),repeating-linear-gradient(180deg,#23264c 0 1px,transparent 1px 16px)}
.board li{counter-increment:place;display:flex;align-items:baseline;gap:3px;height:16px;padding:1px 0 0 8px;font:bold 10px/15px Verdana,sans-serif}
.board li::before{content:counter(place) "."}.player{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.points{flex:none}
#empty-scores{position:absolute;top:20px;left:11px;right:11px;padding-left:7px;background:var(--snow);font-size:10px}
@media(max-width:639px){
  body{display:block;background:linear-gradient(var(--sky) 164px,var(--ink) 164px 165px,#8d9be4 165px 166px,var(--snow) 166px)}
  main{width:min(100%,450px);height:auto;min-height:100vh;margin:0 auto;padding:36px 20px 28px;display:flex;flex-direction:column;align-items:center;gap:18px}
  .art,.intro,.offer,.launch,.board{position:static}
  .intro,.offer,.launch{width:min(100%,345px)}.intro{order:1;color:white}.intro h1{font-size:24px}
  .intro p,.offer p{font:700 14px/1.5 Verdana,sans-serif;min-height:0}
  .launch{order:2;display:flex;align-items:center;justify-content:space-between;gap:8px}
  .play{flex:none}.launch ul{margin:0;font:12px/1.6 Verdana,sans-serif;color:white}
  .board{order:3;position:relative;left:auto;top:auto;width:min(100%,345px);padding:5px 12px}.board h2,.board li{font-size:13px;line-height:24px;height:25px}
  .board ol{min-height:125px;background-size:auto,100% 25px;background-image:repeating-linear-gradient(90deg,transparent 0 2px,var(--snow) 2px 4px),linear-gradient(#23264c 1px,transparent 1px)}
  #empty-scores{top:34px;font-size:12px}
  .offer{order:4}.about summary,.languages{font-size:13px}.sponsor{order:5}
  .rating,.flakes{display:none}.play{clip-path:polygon(0 15%,85% 15%,85% 0,100% 49%,85% 100%,85% 85%,0 85%)}
  .about>div{position:static;margin-top:4px;width:100%}
}
