.company-footer-inner{max-width:1180px;margin:0 auto;padding:28px 24px;color:#e5f2ff;text-align:left;font:16px/1.8 'Microsoft JhengHei',sans-serif}
.company-logo{display:block;width:112px;height:auto;margin:0 0 18px;border-radius:4px}
.company-disclaimer{border-top:1px solid #6ca7d3;border-bottom:1px solid #6ca7d3;padding:14px 0}
.company-disclaimer p{margin:0 0 12px}.company-disclaimer p:last-child{margin-bottom:0}
.company-footer-bottom{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding-top:15px;font-size:14px}.company-footer-bottom a{color:#b5e9ff;text-decoration:underline}.company-age{display:grid;place-items:center;width:48px;height:48px;border:2px solid #fff;border-radius:50%;font-size:20px;background:#ba1827;color:#fff}
.shared-footer-shell{background:linear-gradient(#063f7d,#002452);border-top:2px solid #4cc9ff;color:#e3f4ff}
.utility-rail{position:fixed;z-index:29;top:25vh;width:160px;display:grid;gap:9px;pointer-events:auto;font-family:'Microsoft JhengHei',sans-serif}
.rail-block{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;padding:10px;border:2px solid #7de5ff;border-radius:12px;background:linear-gradient(#07559a,#002755);box-shadow:0 4px 12px #00122d99;color:#fff;text-decoration:none;font-size:16px;font-weight:800}
.rail-qr{width:100%;padding:5px;background:#fff;box-sizing:border-box}.rail-qr img,.rail-qr canvas{display:block;width:100%!important;height:auto!important;image-rendering:pixelated}
.rail-download-link,.rail-line a{color:#ffe382;text-decoration:underline}.rail-line span{font-size:13px;white-space:nowrap}.rail-facebook{flex-direction:row;justify-content:center}.rail-facebook b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#1877f2;font:bold 28px Arial;color:#fff}
@media(max-width:1100px){.utility-rail{position:relative;inset:auto;width:calc(100% - 28px);max-width:750px;margin:14px auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.rail-block{font-size:14px}.rail-qr{max-width:120px}.rail-facebook{flex-direction:column}.company-footer-inner{font-size:15px;padding:20px 16px}.company-footer-bottom{font-size:13px}}
body:not(.forest-page) #shared-company-footer{zoom:1.25}
/* Compact shared copyright area. */
.site-footer,.shared-footer-shell{padding:0}
.company-footer-inner{padding:14px 24px;line-height:1.5}
.company-logo{width:96px;margin-bottom:8px}
.company-disclaimer{padding:8px 0}.company-disclaimer p{margin-bottom:6px}
.company-footer-bottom{padding-top:8px;gap:14px}.company-age{width:40px;height:40px;font-size:17px}
@media(max-width:760px){.company-footer-inner{padding:12px 16px;line-height:1.55}.company-disclaimer p{margin-bottom:7px}}
.company-footer-bottom .company-logo{flex:0 0 auto;width:96px;height:48px;object-fit:contain;margin:0}
/* Two compact disclaimer lines followed by the copyright line on wide screens. */
@media(min-width:1200px){
 .company-footer-inner{max-width:1800px;padding:8px 24px;font-size:clamp(10px,.83vw,14px);line-height:1.5}
 .company-disclaimer{padding:5px 0}
 .company-disclaimer p{display:inline;margin:0}
 .company-disclaimer p:nth-child(1)::after,.company-disclaimer p:nth-child(3)::after{content:'　'}
 .company-disclaimer p:nth-child(2)::after{content:'';display:block}
 .company-footer-bottom{padding-top:4px}
 .company-footer-bottom .company-logo{width:82px;height:41px}
}

.utility-rail .rail-block{border-radius:22px;border:3px solid #90eaff;box-shadow:0 3px 0 #02223e,0 5px 16px #00132acc,inset 0 1px 8px #ffffff55;gap:4px;padding:10px}.utility-rail .rail-line{background:linear-gradient(#17616e,#073849);color:#eafff9}.utility-rail .rail-line a{color:#eafff9;text-decoration:none}.utility-rail .rail-line span{font-size:14px}.rail-qr-button{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;border:0;background:transparent;color:#e4f4ff;font:inherit;cursor:pointer}.rail-qr-button:focus-visible{outline:3px solid #ffdf6b;outline-offset:3px}.rail-qr{display:block;border-radius:5px;overflow:hidden}.rail-dialog{border:3px solid #8ce7ff;border-radius:18px;padding:20px;background:#06457b;color:white;text-align:center;box-shadow:0 15px 50px #000a}.rail-dialog::backdrop{background:#00152cbb}.rail-dialog form{text-align:right}.rail-dialog-close{border:0;background:none;color:white;font-size:32px;cursor:pointer}.rail-dialog strong{display:block;margin-bottom:12px;font-size:22px}.rail-dialog-qr{background:white;padding:10px}.rail-dialog-qr img,.rail-dialog-qr canvas{max-width:min(280px,72vw);height:auto!important}.rail-facebook{border-radius:14px!important}
@media(min-width:1101px){body:not(.forest-page) .utility-rail{top:clamp(137.5px,18.75vh,200px);max-height:calc(125vh - 160px);overflow-y:auto}body.forest-page .utility-rail{top:clamp(110px,15vh,160px);max-height:calc(100vh - 125px);overflow-y:auto}}
@media(max-width:1100px){.utility-rail .rail-block{border-radius:15px}.utility-rail .rail-qr{max-width:120px}.rail-qr-button{font-size:12px}}
/* Generous, readable shared footer: four full statements and copyright. */
.company-footer-inner{max-width:1500px;margin:0 auto;padding:32px 28px;color:#edf7ff;text-align:left;font:17px/1.8 'Microsoft JhengHei',sans-serif}
.company-disclaimer{padding:16px 0;border-top:1px solid #75a5ca;border-bottom:1px solid #75a5ca}.company-disclaimer p,.company-disclaimer p:nth-child(n){display:block;margin:0 0 9px}.company-disclaimer p:last-child{margin:0}.company-disclaimer p:after{content:none!important}
.company-footer-bottom{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:16px;font-size:15px}.company-footer-bottom .company-logo{width:112px;height:56px;object-fit:contain;margin:0}.company-footer-bottom>a{margin-left:auto}.company-age{flex:none}
.back-to-top{display:grid;place-items:center;flex:none;width:52px;height:52px;border:2px solid #80dfff;border-radius:50%;background:#073361;color:#fff;font-size:30px;line-height:1;cursor:pointer}.back-to-top:hover,.back-to-top:focus-visible{background:#116caf;outline:2px solid #ffe48c;outline-offset:3px}
@media(max-width:760px){.company-footer-inner{padding:22px 18px;font-size:16px;line-height:1.7}.company-footer-bottom{gap:12px;font-size:14px}.company-footer-bottom>a{margin-left:0}.back-to-top{margin-left:auto;width:46px;height:46px;font-size:26px}}
/* Company logo three times its prior width, preserving its original proportions. */
.company-footer-bottom .company-logo{width:336px;height:auto;max-width:100%;flex:0 1 336px}
@media(max-width:760px){.company-footer-bottom .company-logo{width:min(336px,100%);flex:0 1 336px}}
/* User-provided rating badge and a high-contrast return-to-top control. */
.company-disclaimer{border-top:0;border-bottom:0}.company-age{display:block;object-fit:contain;width:56px;height:56px;flex:0 0 56px;border:0;border-radius:0;background:none}.back-to-top{border:2px solid #fff3b4;background:linear-gradient(#ffd95b,#f2a300);color:#382000;box-shadow:0 2px 8px #0008;font-weight:900}.back-to-top:hover,.back-to-top:focus-visible{background:#ffef99;color:#291900;outline-color:#fff}
/* Hide the dark outer matte while preserving the supplied 18+ artwork. */
.company-age{clip-path:inset(6% 9% 8% 12%)}
.back-to-top{background:linear-gradient(#ffe976 0%,#ffbe26 48%,#d58200 100%);border:3px solid #ffed9a;box-shadow:inset 0 3px 0 #fff9a0,inset 0 -4px 0 #a96000,0 3px 7px #001332a8}.back-to-top svg{width:33px;height:33px;fill:none;stroke:#653200;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 0 #fff9a3)}.back-to-top:hover svg{transform:translateY(-2px)}
/* Keep all footer content aligned with the main page frame. */
.company-footer-inner{box-sizing:border-box;width:min(100%,var(--footer-content-width,1120px));max-width:none}
@media(max-width:1100px){.company-footer-inner{width:min(100%,var(--footer-content-width,1120px))}}
@media(min-width:1101px){.company-footer-bottom>span{flex:1 1 240px;min-width:0;line-height:1.5}.company-footer-bottom>a{margin-left:0}}
/* Align the disclaimer with the company copyright and keep the top button at the right side. */
@media(min-width:1101px){.company-disclaimer{margin-left:354px}}
.back-to-top[hidden]{display:none!important}.back-to-top{position:fixed;bottom:24px;z-index:95;margin:0}
@media(max-width:1100px){.back-to-top{bottom:16px}}
body:not(.forest-page) .back-to-top{zoom:1.25}
/* Give the company logo its own position beside the disclaimer. */
.company-footer-inner {
  display: grid;
  grid-template-areas: 'logo' 'disclaimer' 'details';
  gap: 12px 20px;
  align-items: center;
}
.company-footer-inner > .company-logo {
  grid-area: logo;
  width: min(100%, 240px);
  height: auto;
  margin: 0;
}
.company-disclaimer { grid-area: disclaimer; margin: 0; }
.company-footer-bottom {
  grid-area: details;
  justify-content: space-between;
  gap: 10px 18px;
  min-width: 0;
}
.company-identity { flex: 1 1 260px; min-width: 0; line-height: 1.55; }
.company-contact, .company-footer-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.company-contact a, .company-footer-actions a, .company-footer-actions button { white-space: nowrap; }
.company-copyright { display: block; }
.company-support-actions { display: inline-flex; align-items: center; gap: 10px; }
.company-footer-actions .company-remote {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid #8edcff;
  border-radius: 8px;
  background: linear-gradient(#187bc5, #064177);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.company-footer-actions .company-remote span { font-size: 18px; line-height: 1; }
.company-footer-actions .company-remote:hover { background: #176fa9; }
.shared-return-home {
  position: relative;
  z-index: 1;
  display: table;
  max-width: calc(100% - 32px);
  margin: 0 auto 28px;
  padding: 20px 32px;
  border: 3px solid #082750;
  border-radius: 8px;
  background: linear-gradient(#ffe071, #c99600);
  box-shadow: 0 0 0 2px #9ee9ff, 0 5px 12px #001b3f;
  color: #3b0000;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
  text-decoration: none;
}
@media(min-width:1101px) {
  .company-footer-inner {
    grid-template-columns: minmax(170px, .45fr) minmax(0, 1fr);
    grid-template-areas: 'logo disclaimer' 'logo details';
  }
  .company-footer-inner > .company-logo { width: min(100%, 336px); }
}
/* Keep the social rail clear of the return-to-top control on short screens. */
@media(min-width:1101px){body.forest-page .utility-rail{max-height:calc(100vh - clamp(110px,15vh,160px) - 100px)}body:not(.forest-page) .utility-rail{max-height:calc(125vh - clamp(137.5px,18.75vh,200px) - 125px)}}
@media(min-width:1101px) and (max-height:800px){.utility-rail{width:145px}.utility-rail .rail-block{padding:6px;gap:2px}.utility-rail .rail-qr{max-width:100px}.utility-rail .rail-qr-button{gap:2px}.utility-rail .rail-line span{font-size:13px}}
@media(min-width:1101px) and (max-height:800px){.utility-rail .rail-qr{max-width:86px}.utility-rail .rail-block{padding:5px}.utility-rail{gap:5px}}
/* Keep the fixed rail intact; the footer passes in front of it. */
@media(min-width:1101px){body.forest-page .utility-rail,body:not(.forest-page) .utility-rail{max-height:none;overflow:visible}}
body .site-footer,body.forest-page footer.shared-footer-shell{position:relative;z-index:40}

.rail-qr,.rail-dialog-qr{position:relative}.qr-center-label{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);background:white;color:#073e91;padding:2px 1px;font:700 8px/1.1 sans-serif;white-space:nowrap;pointer-events:none}.rail-dialog-qr .qr-center-label{font-size:13px;padding:3px}.cookie-settings-link{background:none;border:0;color:#c9edff;text-decoration:underline;cursor:pointer;font:inherit;padding:0}
@media(max-width:1100px){.utility-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.utility-rail .rail-facebook{grid-column:1/-1;flex-direction:row}.utility-rail .rail-qr{max-width:140px}}
.qr-center-label{font-size:10px}.rail-dialog-qr .qr-center-label{font-size:16px}

/* A more legible brand label inside the enlarged QR code. */
.rail-dialog-qr .qr-center-label{font-size:36px;padding:3px}

/* Scale the QR label with the viewport while keeping the codes readable. */
.rail-dialog-qr[data-kind="download"] .qr-center-label{font-size:min(64px,15vw)}
.rail-dialog-qr[data-kind="line"] .qr-center-label{font-size:min(52px,12vw)}
.rail-dialog-qr[data-kind="download"] .qr-center-label{font-size:min(64px,14vw)}

/* Enlarge the text in the two sidebar QR codes. */
.rail-qr .qr-center-label{font-size:20px;padding:1px}
@media(max-width:1100px){.rail-qr .qr-center-label{font-size:15px}}
.rail-qr .qr-center-label{padding:2px 1px}@media(min-width:1101px) and (max-height:800px){.rail-qr .qr-center-label{font-size:14px}}
.utility-rail .rail-qr .qr-center-label{font-size:20px}
@media(max-width:1100px){.utility-rail .rail-qr .qr-center-label{font-size:15px}}
@media(min-width:1101px) and (max-height:800px){.utility-rail .rail-qr{max-width:110px}.utility-rail .rail-qr .qr-center-label{font-size:18px}}

@media(min-width:1101px) and (max-height:800px){.utility-rail{width:160px}.utility-rail .rail-qr{max-width:135px}}

/* Matched QR cards with a game-inspired blue and gold surround. */
.utility-rail .rail-download,.utility-rail .rail-line{gap:4px}.utility-rail .rail-qr-button{margin-top:0}.utility-rail .rail-qr{padding:5px;background:#fff;outline:2px solid #ffc94f;outline-offset:2px;box-shadow:0 0 0 4px #073c76,0 0 12px #ffc14a88;border-radius:5px}.rail-dialog-qr{border:3px solid #e1a632;box-shadow:0 0 0 3px #184a7e,0 0 18px #ffcf5790;border-radius:7px}.rail-download-link{color:#ffe18a}
@media(max-width:1100px){.utility-rail .rail-download,.utility-rail .rail-line{justify-content:flex-start}.utility-rail .rail-download strong,.utility-rail .rail-line strong{min-height:1.6em}.utility-rail .rail-qr-button{gap:5px}.utility-rail .rail-qr{width:min(100%,140px)}}
/* Keep room for the QR pattern around the larger central lettering. */
.utility-rail .rail-qr .qr-center-label{font-size:16px}
.rail-dialog-qr[data-kind="download"] .qr-center-label,.rail-dialog-qr[data-kind="line"] .qr-center-label{font-size:min(48px,12.5vw)}
@media(max-width:1100px){.utility-rail .rail-qr .qr-center-label{font-size:14px}}
@media(min-width:1101px) and (max-height:800px){.utility-rail .rail-qr .qr-center-label{font-size:16px}}

/* Store icon in the small code, and a scannable portrait QR in the enlarged view. */
.utility-rail .rail-qr .qr-center-label.qr-app-badge{box-sizing:border-box;width:24%;aspect-ratio:1;padding:2px;background:#fff;border-radius:6px;overflow:hidden;line-height:0}.utility-rail .rail-qr .qr-center-label.qr-app-badge img{display:block;width:100%!important;height:100%!important;max-width:none;border-radius:3px;image-rendering:auto}.rail-dialog-qr[data-kind="download"]>.qr-center-label[hidden]{display:none}.rail-dialog-qr[data-kind="download"].qr-art-ready>img{width:min(280px,72vw)}

.rail-download-qr>.qr-center-label[hidden]{display:none}.rail-download-qr.qr-art-ready>img{width:100%!important;height:auto!important}
@media(min-width:1101px){body:not(.forest-page) .utility-rail{width:185px}body.forest-page .utility-rail{width:148px}.utility-rail .rail-qr{max-width:none}}

/* Apply the illustrated QR style to both game and customer service codes. */
.rail-line-qr>.qr-center-label[hidden],.rail-dialog-qr[data-kind="line"]>.qr-center-label[hidden]{display:none}.rail-line-qr.qr-art-ready>img{width:100%!important;height:auto!important}.rail-dialog-qr[data-kind="line"].qr-art-ready>img{width:min(280px,72vw)}

/* Do not show the temporary plain code while the illustrated one is drawn. */
.qr-creating>canvas,.qr-creating>img{visibility:hidden}.qr-creating::after{content:"";position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px;border:3px solid #d7eaff;border-top-color:#0963a1;border-radius:50%;animation:qr-preparing .7s linear infinite}@keyframes qr-preparing{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.qr-creating::after{animation:none}}
