@font-face { font-family: 'Sport Sim Boss'; src: url(/font/sportsimboss.woff2) format('woff2'), url(/font/sportsimboss.woff) format('woff'); }
@keyframes languageLabel { 0% { opacity: 0; } 6.667%, 11.111% { opacity: 1; } 17.778% { opacity: 0; } }

::selection { color: #000000; background-color: #a10001; }

html { height: 100%; margin: 0; overflow-x: hidden; }
body { min-height: 100%; margin: 0; font-size: 16px; font-family: 'Open Sans', sans-serif; color: #222222; background-color: #cccccc; background-image: url("/img/bg-1600-rink.jpg"); background-image: var(--body-bg); background-position: center center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; overflow-x: hidden; }
header { font-size: 16px; font-family: 'Open Sans', 'LXGW WenKai TC', sans-serif; }
footer { position: -webkit-sticky; position: sticky; top: 100%; margin-top: 20px; padding: 20px 50px; color: #ffffff; background-color: #222222; border-top: 3px solid var(--color-border); }

@supports (-webkit-touch-callout: none) {
@media (hover: none) and (pointer: coarse) {
body { position: relative; background-image: none; z-index: 0; }
body::before { position: fixed; z-index: -1; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; background-image: url("/img/bg-1600-rink.jpg"); background-image: var(--body-bg); background-position: center center; background-repeat: no-repeat; background-size: cover; pointer-events: none; content: ""; }
}
}

a { text-decoration: none; color: unset; cursor: pointer; }
a.link { color: #a10001; }
a.link:hover { text-decoration: underline; }

h1 { margin: 0 0 70px; font-family: 'Marmelad', sans-serif; font-size: 80px; line-height: 72px; font-weight: normal; }
h2 { margin: 0 0 10px; font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; font-size: 20px; line-height: 22px; text-transform: uppercase; color: #a10001; }
h4 { margin: 0 0 10px; font-family: 'Open Sans', "Noto Sans JP", "Noto Sans TC", sans-serif; font-size 14px; line-height: normal; text-transform: uppercase; color: #a10001; }

img { display: block; border: none; }
dialog::backdrop { background-color: rgba(0,0,0,.8); }

button, label, input[type="radio"], input[type="checkbox"], input[type="submit"], input[type="button"] { cursor: pointer !important; }
button:disabled, input:disabled { cursor: default !important; }
input { all: unset; height: 18px; margin: 2px; padding: 4px 10px; border-radius: 3px; font-family: inherit; font-size: 14px; line-height: 18px; }
input[type="email"], input[type="password"] { border: 1px solid #66666688; background-color: #ffffffff; color: #333333; }
input[type="email"]:focus, input[type="password"]:focus { outline: none; background-color: #a10001; color: #ffffff; box-shadow: 1px 2px 1px rgba(0,0,0,1); }
input[type="email"]:hover, input[type="password"]:hover { outline: none; box-shadow: 1px 2px 1px rgba(0,0,0,1); }
input[type="email"]:focus::placeholder, input[type="password"]:focus::placeholder, input[type="email"]:hover::placeholder, input[type="password"]:hover::placeholder { color: #ccccccaa; }
input[type="button"], input[type="submit"] { float: left; border: 1px solid transparent; font-weight: bold; background-color: #33333388; color: #ffffff; }
input[type="button"]:focus, input[type="submit"]:focus, input[type="button"]:hover, input[type="submit"]:hover { outline: none; background-color: #a10001; color: #ffffff; box-shadow: 1px 2px 1px rgba(0,0,0,1); }
input[type="button"]:active, input[type="submit"]:active { outline: none; background-color: #a10001; color: #ffffff; box-shadow: 1px 2px 1px transparent; }

/* global structure */
#logo { width: 500px; filter: drop-shadow(0px 0px 1px #a10001); mix-blend-mode: multiply; }
#stage { display: flow-root; position: relative; clear: both; }
#leftpanel { width: 300px; margin: 0; float: left; }
#rightpanel { width: 300px; margin: 0; float: right; }
#centerstage { max-width: 1200px; margin: 0 auto; }
.container { margin-bottom: 10px; --container-padding: 20px; padding: var(--container-padding); text-shadow: 0 0 #ffffff; border-radius: 10px; background-color: #ffffff88; box-shadow: 2px 2px 3px 0px #00000022; }
.container .smallbox { max-width: 420px; }
.boxcolor { background-color: rgba(255,255,255,.8); }

@media (max-width: 1200px) {
.trimpoint { display: none; }
.container { --container-padding: 10px; }
}

/* visual effects */
.selected { font-weight: bold; }
.linkeffect { transition: all .3s ease-out; }
.grow { transform: none; cursor: pointer; }
.grow:hover { transform: scale(1.1); }
.grow:focus { transform: scale(1.1); }

/* HEADER login module */
#logingroup { position: relative; padding: 10px; float: right; }
#logingroup::before { content: ""; position: absolute; inset: 0; background-color: #444444; border-radius: 3px; box-shadow: 0 1px 3px 1px #444444; pointer-events: none; z-index: 25; }
#logingroup .formbox { float: left; }
#logingroup #buttonbox { padding: 2px; clear: both; }
#logingroup input { position: relative; z-index: 26; }
#logingroup #buttonbox button { all: unset; box-sizing: border-box; position: relative; width: 100%; padding: 4px 10px; border-radius: 3px; border: 1px solid transparent; font-size: 14px; line-height: 18px; font-weight: bold; text-align: center; background-color: #33333388; color: #ffffff; z-index: 27; }
#logingroup #buttonbox button:hover, #logingroup #buttonbox button:focus { outline: none; background-color: #a10001; box-shadow: 1px 2px 1px rgba(0,0,0,1); }
#logingroup #buttonbox button:active { outline: none; background-color: #a10001; box-shadow: 1px 2px 1px transparent; }
#logingroup label { display: inline-block; width: 100%; position: relative; color: #ffffff; font-size: 12px; line-height: 32px; text-align: center; z-index: 26; }
.textfieldgroup { position: relative; }
.textfieldgroup #login_password_confirm { display: none; }
.textfieldgroup .tooltip { visibility: hidden; position: absolute; top: -18px; left: -10px; padding: 2px 20px; border-radius: 3px; color: #ffffff; background-color: #a10001aa; font-size: 12px; line-height: 17px; box-shadow: 0 0 8px rgba(0,0,0,1); z-index: 100; }
.textfieldgroup:focus-within .tooltip { visibility: visible; }
.visuallyhidden { position: absolute !important; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap; }

/* HEADER Frozen Cherry Signet */
#header-signet { position: relative; width: 36px; margin: 0 30px 0 20px; padding: 20px 17px; color: #ffffff; background-color: #a10001; box-shadow: 0px 3px 3px 1px #00000088; border-radius: 0 0 3px 3px; float: left; z-index: 100; }
#header-signet svg { fill: #ffffff; filter: drop-shadow(0px 0px 1px #ffffff); }

/* HEADER top navigation */
#header-top { position: relative; height: 40px; line-height: 40px; color: #ffffff; background-color: #222222; box-shadow: 0px 2px 3px #222222; z-index: 30; }
:where(#header-top nav button) { appearance: none; -webkit-appearance: none; background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0; box-sizing: content-box; overflow: visible; vertical-align: baseline; font: inherit; line-height: inherit; letter-spacing: inherit; word-spacing: inherit; text-align: inherit; text-indent: 0; text-transform: inherit; text-shadow: inherit; white-space: inherit; color: unset; }
#header-top nav { font-family: 'Oswald', 'LXGW WenKai TC', 'Arial Narrow', sans-serif; font-size: 14px; text-transform: uppercase; float: left; }
#header-top nav a, #header-top nav button { display: inline-block; padding: 2px 30px; line-height: normal; border-bottom: 1px solid transparent; }
#header-top nav a.selected, #header-top nav button.selected { font-size: 16px; border-bottom-color: #a10001; }
#header-top nav a:hover, #header-top nav button:hover { font-weight: bold; font-size: 16px; border-bottom-color: #ffffff; }
#header-top nav a:focus, #header-top nav button:focus { font-weight: bold; font-size: 16px; border-bottom-color: #ffffff; }
#header-top nav a:focus-visible, #header-top nav button:focus-visible { font-weight: bold; font-size: 16px; outline-offset: 1px; border-bottom-color: #ffffff; }

/* HEADER status bar */
#header-status { position: relative; height: 30px; line-height: 30px; color: #ffffff; background-color: #444444; box-shadow: 0px 2px 3px #444444; z-index: 20; }
#header-status .icon-date { display: inline-block; width: 19px; vertical-align: sub; }
#header-status .icon-date svg { fill: #ffffff; }
#gamedatetime { color: #ffffff; font-family: 'Syne Mono', "Noto Sans Mono", "Noto Sans JP", "Noto Sans TC", monospace; font-size: 16px; }
#gamedatetime #worldseason { font-weight: bold; }

/* HEADER color bar */
#header-color-bar { margin-bottom: 10px; background: linear-gradient(to top, var(--color-secondary), var(--color-primary)); }
#header-color-bar .horizontal { background: linear-gradient(to right, var(--color-primary), var(--color-primary-transparent)); }
#header-color-bar .texture { position: relative; height: 70px; color: var(--color-secondary); background-image: url('/img/bg.png'); border-bottom: 3px solid var(--color-border); z-index: 10; }
#header-color-bar .title { display: inline-block; font-size: 50px; line-height: 66px; font-family: 'Open Sans', sans-serif; font-weight: bold; text-shadow: #000000 1px 1px 2px; }

/* HEADER language selector */
#languageselect { position: relative; margin: 4px 10px 0 auto; font-size: 13px; line-height: normal; float: right; }
#languageselect:hover #languagecarousel, #languageselect:focus-within #languagecarousel { background-color: #a10001; box-shadow: 0px 3px 3px 1px #00000088; }
#languageselect:active #languagecarousel { background-color: #a10001; box-shadow: 1px 2px 1px transparent; }
#languageselect:hover #languagemenu, #languageselect:focus-within #languagemenu { display: block; }
#languagecarousel { all: unset; display: inline-block; position: relative; width: 120px; height: 18px; padding: 4px 10px; border-radius: 50px; }
#languagecarousel:focus { outline: none; background-color: #a10001; box-shadow: 1px 2px 1px rgba(0,0,0,1); }
#languagecarousel span { position: absolute; width: 100%; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; opacity: 0; animation: languageLabel 45s infinite; }
#languagecarousel span:nth-child(1) { animation-delay: 0s; }
#languagecarousel span:nth-child(2) { animation-delay: 5s; }
#languagecarousel span:nth-child(3) { animation-delay: 10s; }
#languagecarousel span:nth-child(4) { animation-delay: 15s; }
#languagecarousel span:nth-child(5) { animation-delay: 20s; }
#languagecarousel span:nth-child(6) { animation-delay: 25s; }
#languagecarousel span:nth-child(7) { animation-delay: 30s; }
#languagecarousel span:nth-child(8) { animation-delay: 35s; }
#languagecarousel span:nth-child(9) { animation-delay: 40s; }
#languagemenu { display: none; position: absolute; top: 10px; left: -10px; width: 140px; line-height: 18px; background-color: rgba(255,255,255,0.9); border-radius: 13px; box-shadow: 0px 3px 3px 1px #00000088; overflow: hidden; z-index: 80; }
#languagemenu a { color: #000000; padding: 10px 15px; text-decoration: none; display: block; }
#languagemenu a:hover { outline: none; background-color: #a10001; color: #ffffff; }
#languagemenu a:focus { outline: none; background-color: #a10001; color: #ffffff; }

/* HEADER team dock */
#header-team-dock { position: relative; clear: right; float:right; }
#header-team-dock #team-dock { position: relative; width: 300px; height: 100px; background-color: var(--color-primary); background-image: url('/img/bg.png'); border-bottom: 3px solid var(--color-border); float: left; z-index: 25; }
#header-team-dock #team-dock-body { position: relative; display: inline-block; width: 216px; margin-top: 4px; margin-right: 10px; color: var(--color-secondary); float: right; }
#header-team-dock .signature { display: block; font-family: 'Handlee', 'LXGW WenKai TC', cursive; font-size: 20px; }
#header-team-dock .team { display: block; font-family: "Noto Sans Mono", "Noto Sans JP", "Noto Sans TC", monospace; font-size: 13px; }
#header-team-dock .text { display: inline-block; font-family: "Noto Sans Mono", "Noto Sans JP", "Noto Sans TC", monospace; line-height: 20px; font-size: 12px; }
#header-team-dock .icon { width: 50px; height: 50px; margin-left: 10px; float: right; }
#header-team-dock .icon svg { fill: var(--color-secondary); }
#header-team-dock .indicator-online { display: inline-block; width: 7px; height: 7px; margin-right: 4px; background-color: #33dd44; border: 1px solid #444444; border-radius: 100%; }
#header-team-dock #assistant-photo { position: relative; width:130px; height: 130px; top: -20px; right: 65px; background-image: url('/img/alice.png'); background-size: 150px 150px; background-position: center; background-position-y: 0px; border-radius: 100%; box-shadow: 0px 0px 1px 6px #444444; z-index: 60; }

/* HEADER world nav */
#worldnav { width: 300px; margin: 10px 0; }
#worldnav button { position: relative; width: 125px; height: 30px; margin-left: 10px; padding-left: 0; padding-right: 18px; font-family: "Noto Sans Mono", "Noto Sans JP", "Noto Sans TC", monospace; font-size: 16px; color: #ffffff; background-color: #444444; border: 0px solid transparent; border-radius: 3px; box-shadow: 1px 1px 3px 0 #444444; }
#worldnav button::after { position: absolute; width: 0; height: 0; top: 50%; right: 10px; border-top: 5px solid #fff; border-left: 4px solid transparent; border-right: 4px solid transparent; transform: translateY(-35%); content: ""; }
#worldnav .navmenugroup { display: inline-block; }
#worldnav .navmenugroup:hover button, #worldnav .navmenugroup:focus-within button { background-color: #888888; }
#worldnav .navmenugroup:hover .menu, #worldnav .navmenugroup:focus-within .menu { display: block; }
.menu { display: none; position: absolute; margin: -20px 0 0 20px; text-align: center; z-index: 10; }
.menu dl { margin: 0px 6px 6px 0px; padding: 3px; font-size: 13px; border-radius: 3px; box-shadow: 2px 2px 2px rgba(0, 0, 0, .3); overflow: hidden; }
.menu dt { font-weight: bold; text-align: center; background-color: #cccccc; }
.menu dd { margin: 0; }
.menu a { display: block; padding: 3px 15px; text-decoration: none; font-weight: bold; color: #000000; }
.menu a:hover, .menu a:focus { outline: none; background-color: #a10001; color: #ffffff; }
.menucolumn { overflow: hidden; float: left; }

/* BACKGROUND IMAGES */
.img-rink { min-height: 460px; background-image: url(/img/rink-1200.png); background-size: 100%; background-position-x: right; background-repeat: no-repeat; overflow: hidden; }
.img-puck { background-image: url(/img/puck-1400.png); background-size: 60%; background-position-x: right; background-repeat: no-repeat; overflow: hidden; }

/* MAIN PAGE */
#slogan { display: inline-block; margin-top: 30px; margin-left: 40px; font-family: 'Oswald', 'LXGW WenKai TC', 'Arial Narrow', sans-serif; font-size: 80px; line-height: 80px; font-weight: bold; mix-blend-mode: multiply; float: left; }
#slogan:lang(ja), #slogan:lang(zh-Hant) { margin-left: 60px; font-size: 90px; line-height: 95px; }
#slogan:lang(fi), #slogan:lang(pl) { font-size: 75px; line-height: 90px; }
#slogan:lang(ru) { font-size: 70px; line-height: 85px; }
#slogan span { color:  #222222; filter: drop-shadow(0px 0px 1px #222222); }
#slogan strong { color: #a10001; filter: drop-shadow(0px 0px 1px #a10001); }
.description { width: 400px; margin: 130px -20px 0 20px; padding: 10px 20px; color: #ffffff; font-family: 'Oswald', 'LXGW WenKai TC', 'Arial Narrow', sans-serif; font-size: 26px; line-height: 30px; text-shadow: 0 0 30px #000000; filter: drop-shadow(0px 0px 1px #ffffff); float: right; }

/* ABOUT */
article { font-family: 'LXGW WenKai TC', sans-serif; }
article .banner { display: none; width: calc(100% + var(--container-padding) + var(--container-padding)); height: auto; margin: calc(0px - var(--container-padding)) calc(0px - var(--container-padding)) var(--container-padding); }
article h1 { }
article h1:lang(ja) { font-family: inherit; font-size: 65px; }
article h1:lang(zh-Hant) { font-family: inherit; font-size: 75px; }
article p { margin: 0 20px 20px; max-width: 100%; font-size: 20px; line-height: 40px; color: #444444; background-color: #ffffff00; }
article.about p:first-of-type { max-width: 500px; }
article.about p:first-of-type::first-letter { initial-letter: 3; -webkit-initial-letter: 3; margin-right: 5px; color: #a10001; }
article.about p:first-of-type:lang(ja)::first-letter,
article.about p:first-of-type:lang(zh-Hant)::first-letter { initial-letter: normal; -webkit-initial-letter: normal; margin-right: 0; color: inherit; }
article figure { margin: 10px 10px 0 0; padding: 10px; width: 230px; font-size: 14px; float: left; color: #ffffff; background-color: #a10001; }
article .signature { width: 150px; margin-left: 30px; }

@media (max-width: 1200px) {
article .banner { display: block; }
article h1, article h1:lang(ja), article h1:lang(zh-Hant) { width: 100%; margin: 0 0 20px; font-size: 50px; }
article h4 { position: absolute; top: 10px; }

.img-puck { background-image: none; }
}
