.island-welcome{height:100dvh;overflow:hidden;background:#f4ecd5;color:#3a2c1d}
.island-welcome #app,.island-welcome #blazor-error-ui{display:none}
.welcome-page{display:flex;flex-direction:column;position:static;margin:0;padding:0;width:100%;height:100dvh;min-height:0;max-height:none;overflow:hidden;font-family:system-ui,sans-serif;line-height:1.65;background:radial-gradient(ellipse at 30% 10%,#fff8e7,transparent 70%),#f4ecd5}
.welcome-content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-behavior:auto;display:flex;flex-direction:column}
.welcome-view{flex:1 0 auto;display:flex;flex-direction:column}.welcome-view[hidden]{display:none}.welcome-view>.welcome-section{width:100%;flex:1}
.welcome-page :is(h1,h2,h3,.welcome-brand){font-family:var(--font-heading,Georgia,serif);font-weight:700;line-height:1.14}
.welcome-header{flex:none;width:100%;max-width:1440px;margin:0 auto;padding:12px clamp(12px,2vw,28px);display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;grid-template-areas:"brand nav languages play";align-items:center;gap:clamp(8px,1.3vw,20px);z-index:2;box-shadow:0 4px 10px #72512618}
.welcome-brand{grid-area:brand;min-width:0;font-size:23px;color:#4b381e;text-decoration:none;white-space:nowrap}.welcome-brand-icon{display:none;object-fit:contain}
.welcome-header nav{grid-area:nav;display:flex;flex-wrap:nowrap;justify-content:safe center;gap:clamp(12px,1.5vw,22px);align-items:center;min-width:0;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;font-size:15px}.welcome-header nav::-webkit-scrollbar{display:none}.welcome-header nav a{flex:none;color:#4b381e;text-decoration:none;font-weight:600;white-space:nowrap;border-bottom:2px solid transparent;padding:8px 0}.welcome-header nav a[aria-current=page]{color:#795020;border-bottom-color:#a67c36}.welcome-header nav a:focus-visible{outline-offset:-2px}
.welcome-language{grid-area:languages;position:relative;justify-self:end}
.welcome-language summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px 10px;list-style:none;cursor:pointer;border:1px solid #b49b6c;border-radius:5px;background:linear-gradient(#fff6de,#e8d8b3)}.welcome-language summary::-webkit-details-marker{display:none}.welcome-language summary img{display:block;width:28px;height:20px;object-fit:cover;border:1px solid #957447;border-radius:2px}.welcome-language summary::after{content:"";width:6px;height:6px;border-right:2px solid #76582e;border-bottom:2px solid #76582e;transform:rotate(45deg);margin-top:-4px}.welcome-language[open] summary::after{transform:rotate(225deg);margin-top:4px}.welcome-language summary:focus-visible{outline:3px solid #1a7185;outline-offset:3px}
.welcome-page .welcome-language .language-flags{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);z-index:5;display:flex;flex-direction:column;gap:3px;width:184px;max-height:calc(100dvh - 80px);overflow-y:auto;padding:7px;border:1px solid #a4814e;border-radius:6px;background:#fbf2dd;box-shadow:0 6px 20px #513a1c40}
.welcome-page .welcome-language .language-flag{display:flex;flex:none;align-items:center;gap:12px;width:100%;height:auto;min-height:40px;padding:6px 10px;border:1px solid transparent;border-radius:4px;color:#4b381e;background:transparent;box-shadow:none;font:15px/1.2 system-ui,sans-serif;text-align:left;cursor:pointer}
.welcome-page .welcome-language .language-flag img{display:block;flex:none;width:28px;height:20px;object-fit:cover;border:1px solid #957447;border-radius:2px}.welcome-page .welcome-language .language-flag:hover{background:#f0e0ba}.welcome-page .welcome-language .language-flag[aria-pressed=true]{background:#e8d5a8;border-color:#a4814e;transform:none;outline:none;font-weight:700}
.welcome-hero{position:relative;min-height:660px;display:grid;align-items:center;overflow:hidden;background:#243f3e}.welcome-hero>img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:65% center}.welcome-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#112f31ee 0%,#163537bb 36%,#15323520 75%),linear-gradient(0deg,#18383a66,transparent 60%)}
.welcome-hero-copy{position:relative;z-index:1;max-width:1320px;width:100%;margin:auto;padding:70px 5%;color:#fff6dd}.welcome-hero-copy>div{max-width:530px}.welcome-eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:700;color:#dfbf77}.welcome-hero h1{font-size:clamp(42px,5.5vw,76px);margin:16px 0 24px;text-wrap:balance}.welcome-hero-copy p{font-size:18px;max-width:450px;color:#f1ead9}.welcome-page .welcome-play{display:inline-flex;align-items:center;justify-content:center;min-height:54px;padding:12px 35px;margin:14px 0;color:#382818;text-decoration:none;font-weight:750;font-size:19px;border:2px solid #8c6730;border-radius:6px;box-shadow:0 3px 0 #62491f;background:linear-gradient(#fce6a6,#d4ad5f)}.welcome-play:hover{filter:brightness(1.08)}
.welcome-meta{font-size:13px!important;color:#dbdfce!important}.welcome-section{max-width:1200px;margin:0 auto;padding:64px 5%}.welcome-section h2{font-size:clamp(29px,3vw,42px);margin:0 0 25px;text-wrap:balance}.welcome-story{display:grid;grid-template-columns:1.05fr 1fr;gap:55px;align-items:center}.welcome-story img{width:100%;display:block;aspect-ratio:1.35;object-fit:cover;border:6px solid #dec9a0;box-shadow:0 6px 16px #72512624}.welcome-section p{font-size:17px}.welcome-story strong{color:#4e703f}
.welcome-guide-band{background:#e8dcc0;border-block:1px solid #cfb988}.welcome-steps{list-style:none;counter-reset:step;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:15px 0 0}.welcome-steps li{position:relative;counter-increment:step;border:1px solid #c7ad7c;border-radius:6px;background:#faf2de;padding:0 16px 20px;overflow:hidden;box-shadow:0 3px 8px #72512612}.welcome-steps li::before{position:absolute;z-index:1;top:10px;left:10px;content:"0" counter(step);font:700 24px Georgia,serif;color:#725126;padding:5px 8px;border:1px solid #ba9b61;border-radius:3px;background:#fff3d6ed}.welcome-steps img{display:block;width:calc(100% + 32px);max-width:none;margin:0 -16px;aspect-ratio:3/2;object-fit:cover;border-bottom:1px solid #c7ad7c}.welcome-steps h3{font-size:22px;margin:18px 0 12px}.welcome-steps p{font-size:15px;margin:0}.welcome-resolve{margin:28px 0;padding:22px 26px;border-left:4px solid #aa7e38;background:#f8efd8}.welcome-resolve h3{font-size:25px;margin:0 0 10px}.welcome-resolve p{margin:0}.welcome-mobile{display:flex;gap:24px;align-items:start}.welcome-mobile img{width:130px;height:130px;flex-shrink:0;border:9px solid white;image-rendering:pixelated}.welcome-small{font-size:14px!important;color:#766448}.welcome-author p{max-width:600px}.welcome-footer{flex:none;display:flex;justify-content:space-between;gap:20px;align-items:center;width:100%;max-width:1200px;padding:28px 5%;margin:0 auto;border-top:1px solid #cdb78d}.welcome-footer p{margin:0}.welcome-page a:focus-visible{outline:3px solid #1a7185;outline-offset:5px}
@media(max-width:1100px){.welcome-brand span{display:none}.welcome-brand-icon{display:block}.welcome-header nav{font-size:14px}}
@media(max-width:800px){.welcome-header{gap:8px}.welcome-header nav{gap:14px}.welcome-hero{min-height:560px}.welcome-hero::after{background:linear-gradient(90deg,#112f31eb,#16353799 70%,#15323566)}.welcome-story{grid-template-columns:1fr;gap:25px}.welcome-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.welcome-section{padding-block:40px}.welcome-footer{flex-wrap:wrap}}
@media(max-width:450px){.welcome-steps{grid-template-columns:1fr;gap:24px}.welcome-mobile{gap:15px}.welcome-mobile img{width:100px;height:100px}.welcome-hero-copy p{font-size:16px}.welcome-language summary{gap:6px;padding-inline:7px}}

/* Website media stay separate from the game's popups and rendering loop. */
.welcome-preview{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:center;border-bottom:1px solid #cfb988}
.welcome-preview-image{display:block;transform:rotate(-1deg)}
.welcome-preview-image img{display:block;width:100%;height:auto;border:6px solid #dec9a0;border-radius:5px;box-shadow:0 8px 22px #72512630}
.welcome-text-links{display:flex;flex-wrap:wrap;gap:12px 24px}
.welcome-page a{color:#65491f}.welcome-text-links a{font-weight:650;text-underline-offset:4px}
.welcome-story-reader{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);border:1px solid #c7ad7c;border-radius:8px;overflow:hidden;background:#fbf2dd;box-shadow:0 8px 28px #72512620}
.welcome-story-picture{background:#e2d0aa;display:flex;align-items:center;justify-content:center;min-height:300px}
.welcome-story-picture img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
.welcome-story-picture img:not([src]){visibility:hidden}
.welcome-story-copy{align-self:center;padding:30px;min-width:0}.welcome-story-copy h3{font-size:clamp(25px,2.5vw,33px);margin:10px 0 18px}.welcome-story-copy p{font-size:16px}.welcome-story-copy .welcome-eyebrow{font-size:12px;color:#7f5c2d;margin:0}
.welcome-story-controls{display:flex;justify-content:space-between;gap:12px;margin-top:24px}
.welcome-page .welcome-control{width:auto;min-width:44px;min-height:44px;padding:8px 16px;border:1px solid #a4814e;border-radius:5px;background:linear-gradient(#fff6de,#e2ce9f);color:#4b381e;font:600 15px system-ui,sans-serif;box-shadow:0 2px 0 #99753d33;cursor:pointer}
.welcome-page .welcome-control:disabled{opacity:.4;cursor:default}.welcome-page .welcome-control[hidden]{display:none}
.welcome-page button:focus-visible,.welcome-story-reader:focus-visible{outline:3px solid #1a7185;outline-offset:3px}
.welcome-story-chapters{display:flex;gap:5px;flex-wrap:wrap;margin-top:18px}
.welcome-story-chapters button{flex:0 0 30px;width:30px;height:36px;min-height:36px;padding:0;background:#e9dbbc;border:1px solid #bfa778;border-radius:4px;color:#65491f;font:600 14px system-ui,sans-serif;box-shadow:none;cursor:pointer}
.welcome-story-chapters button[aria-current=step]{color:#fff7e3;background:#47716b;border-color:#355850}
.welcome-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;margin:30px 0}
.welcome-page .welcome-gallery-item{display:flex;flex-direction:column;min-width:0;width:100%;height:auto;padding:0;overflow:hidden;text-align:left;border:1px solid #b59a69;border-radius:7px;background:#fcf4df;color:#4b381e;box-shadow:0 5px 14px #72512620;cursor:zoom-in;transition:transform .18s ease,box-shadow .18s ease}
.welcome-gallery-item img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;background:#dfcfac}
.welcome-gallery-item span{display:block;padding:16px 20px;font:600 16px/1.5 system-ui,sans-serif}
.welcome-page .welcome-gallery-item:hover{transform:translateY(-3px);box-shadow:0 8px 20px #72512635}
.welcome-page .welcome-lightbox{position:fixed;inset:0;width:min(1440px,94vw);max-width:none;max-height:94dvh;margin:auto;padding:12px 18px;border:2px solid #b59a69;border-radius:8px;background:#f4ecd5;color:#3a2c1d;overflow:auto;box-shadow:0 12px 60px #0008}
.welcome-lightbox::backdrop{background:#152727e6}.welcome-lightbox[open]{display:flex;flex-direction:column;gap:8px}
.welcome-lightbox-toolbar{display:flex;align-items:center;justify-content:space-between;flex:none}
.welcome-lightbox>img{width:100%;min-height:0;max-height:calc(94dvh - 150px);object-fit:contain;flex:1;background:#dfcfac}
.welcome-lightbox-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none}.welcome-lightbox-bottom p{margin:0;text-align:center;font-size:15px;line-height:1.4}
.welcome-homepage{text-align:center;text-underline-offset:4px}
.welcome-author{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);gap:clamp(28px,5vw,64px);align-items:center}
.welcome-author-portrait{width:180px;max-width:100%;margin:0;padding:10px 7px 0;align-self:start;border:1px solid #bfa575;border-radius:8px;background:radial-gradient(ellipse at 50% 35%,#fff9e7,#e5d0a4);box-shadow:0 7px 22px #72512625}
.welcome-author-portrait img{display:block;width:100%;height:auto}.welcome-author-copy{min-width:0}.welcome-author-copy p:last-child{margin-bottom:0}
.welcome-author{grid-template-columns:180px minmax(0,1fr);align-items:start}
@media(max-width:480px){.welcome-author{grid-template-columns:minmax(0,1fr);gap:20px;align-content:start}.welcome-author-portrait{width:140px;justify-self:start}}
@media(max-width:1000px){.welcome-story-reader{grid-template-columns:1fr 1fr}.welcome-story-copy{padding:22px}.welcome-story-chapters{gap:4px}.welcome-story-chapters button{flex-basis:28px;width:28px}}
@media(max-width:650px){.welcome-preview,.welcome-story-reader{grid-template-columns:1fr;gap:24px}.welcome-story-reader{gap:0}.welcome-preview-image{max-width:480px}.welcome-story-picture{min-height:0}.welcome-story-copy{padding:24px}.welcome-gallery{grid-template-columns:1fr;gap:22px}.welcome-footer{justify-content:center;text-align:center}.welcome-footer>p{width:100%}.welcome-page .welcome-lightbox{width:96vw;padding:8px}.welcome-lightbox-bottom{gap:8px}.welcome-lightbox-bottom p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.welcome-page .welcome-gallery-item{transition:none}}

.welcome-page .welcome-header-play{grid-area:play;min-height:44px;padding:9px 22px;margin:0;font-size:17px;white-space:nowrap}
.welcome-feedback-callout{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;border-block:1px solid #cfb988;background:#e8dcc052;padding-block:36px}
.welcome-feedback-callout h2{font-size:clamp(26px,2.6vw,34px);margin-bottom:14px}.welcome-feedback-callout p{margin:0;max-width:720px}
.welcome-feedback-callout .welcome-text-links{max-width:230px}
.welcome-feedback-intro{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:40px;align-items:center}
.welcome-feedback-intro img{display:block;width:100%;height:auto;border:5px solid #dec9a0;border-radius:6px;box-shadow:0 5px 18px #72512622}
.welcome-feedback-guide-title{font-size:28px;margin:42px 0 22px}
.welcome-feedback-steps{list-style:none;counter-reset:feedback;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;padding:0}
.welcome-feedback-steps li{counter-increment:feedback;position:relative;padding:24px;border:1px solid #c7ad7c;border-radius:6px;background:#fcf4df}
.welcome-feedback-steps li::before{content:counter(feedback);position:absolute;top:22px;left:24px;display:grid;place-items:center;width:32px;height:32px;border:1px solid #aa8651;border-radius:50%;background:#e9d5a4;font:700 20px Georgia,serif;color:#65491f}
.welcome-feedback-steps h3{font-size:23px;min-height:32px;padding-left:44px;margin:0 0 16px;display:flex;align-items:center}
.welcome-feedback-steps p{font-size:16px;margin:0;line-height:1.65}
.welcome-report-trigger-example{display:inline-block;margin-top:16px;padding:7px 14px;border:2px solid #9c733b;border-radius:4px;color:#fff2cf;background:linear-gradient(#79512e,#4b2b19);font:700 22px var(--font-heading,Georgia,serif)}
.welcome-feedback-history h3{font-size:26px;margin:30px 0 12px}
@media(max-width:650px){.welcome-page .welcome-header-play{padding:8px 12px;font-size:15px}.welcome-feedback-callout,.welcome-feedback-intro,.welcome-feedback-steps{grid-template-columns:1fr;gap:22px}.welcome-feedback-callout .welcome-text-links{max-width:none}.welcome-feedback-intro img{max-width:480px}.welcome-feedback-guide-title{font-size:25px}}
.welcome-news-list{display:grid;gap:28px}
.welcome-news-item{display:grid;grid-template-columns:minmax(140px,240px) minmax(0,1fr);gap:24px;padding:22px 0;border-bottom:1px solid #b79c6b;align-items:start}
.welcome-news-item img{width:100%;max-height:240px;object-fit:contain;border-radius:6px;background:#eadbb9}
.welcome-news-item time{font-size:14px;color:#725c3a}
.welcome-news-item h3{margin:8px 0 12px}.welcome-news-item p{white-space:pre-line}
@media(max-width:480px){.welcome-news-item{grid-template-columns:minmax(0,1fr)}.welcome-news-item img{max-width:220px}}
