/* A true local handwriting face, subset for this exact sentence.
   Based on Nanum Pen Script by Sandoll/NHN; see assets/fonts/LoglogHandwritten-OFL.txt.
   This is a separate fixed-scene layer: no crowd, camera, or card dimensions change. */
@font-face{
 font-family:'Loglog Handwritten';font-style:normal;font-weight:400;font-display:swap;
 src:url('/assets/fonts/LoglogHandwritten-Message.woff2') format('woff2');
}
.annual-reference .main-message,.annual-reference .main-message-title,.annual-reference .main-message span{
 font-family:'Loglog Handwritten','Spoqa Han Sans Neo',sans-serif!important;
 font-style:normal;font-weight:400;font-synthesis:none;
}
.annual-reference .main-message{
 position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);
 z-index:1;width:calc(100% - 48px);max-width:640px;margin:0;padding:0;
 font-size:clamp(42px,min(6vw,8.5svh),78px);line-height:1.06;letter-spacing:.01em;
 color:#68685f;text-align:center;white-space:nowrap;pointer-events:none;
 opacity:0;visibility:hidden;
}
.annual-reference .main-message-title{margin:0;padding:0;font-size:inherit;line-height:inherit}
.annual-reference .main-message-title>span{display:block;white-space:nowrap}
/* Keep the ready message behind the higher card layer, with no observer or loop.
   Its bottom stays at the 100svh stage midpoint in every responsive layout. */
.reference-stage[data-scene-ready="true"] .main-message{
 opacity:1;visibility:visible;
}
.startup-loading .reference-stage[data-scene-ready] .main-message,
html[data-exhibition-layer-open="true"] .reference-stage[data-scene-ready] .main-message,
html[data-phone-orientation-blocked="true"] .reference-stage[data-scene-ready] .main-message{
 opacity:0;visibility:hidden;
}
@media(max-width:599px) and (min-height:481px){
 .annual-reference .main-message{font-size:clamp(44px,12vw,62px)}
}
/* Retain compact sizing for short landscape viewports. */
@media(max-height:480px) and (orientation:landscape){
 .annual-reference .main-message{font-size:clamp(24px,8svh,36px);line-height:1.03;max-width:calc(100% - 300px)}
}
@media(max-width:599px) and (max-height:480px) and (orientation:portrait){
 .annual-reference .main-message{font-size:38px;line-height:1.03}
}
/* The field alone receives pointer input. Keep the heading behind the card. */
.annual-reference .main-message-year-field{
 position:relative;display:inline-block;vertical-align:baseline;
}
.annual-reference .main-message-year-field::after{
 content:"";position:absolute;left:0;right:0;bottom:.2em;height:.1em;
 background-image:url('/assets/main-message-year-underline.svg');
 background-repeat:no-repeat;background-position:center;background-size:100% 100%;pointer-events:none;
}
.annual-reference .main-message input{
 appearance:none;-webkit-appearance:none;display:inline-block;width:2.2em;min-width:0;
 margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;
 font:inherit;font-family:inherit!important;line-height:inherit;letter-spacing:inherit;
 text-align:center;vertical-align:baseline;pointer-events:auto;touch-action:manipulation;
 outline:none;box-shadow:none;caret-color:currentColor;
}
.annual-reference .main-message input:focus,
.annual-reference .main-message input:focus-visible{outline:none;box-shadow:none}
.annual-reference .main-message-year-help,.annual-reference .main-message-year-error{
 font-family:'Spoqa Han Sans Neo',sans-serif!important;font-size:14px;font-weight:400;
 line-height:1.5;letter-spacing:normal;
}
.annual-reference .main-message-year-help{margin:12px 0 0}
.main-message-year-error{
 position:absolute;left:0;right:0;top:100%;z-index:1;margin:8px 0 0;
 color:#68685f;text-align:center;white-space:normal;pointer-events:none;
}
