/* Shared UI74 language/server/profile choice scene; deliberately scoped. */
@font-face{font-family:'Tamerra Condensed';src:url('/assets/lets-go-ui74/RobotoCondensed-500.ttf') format('truetype');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Tamerra Condensed';src:url('/assets/lets-go-ui74/RobotoCondensed-700.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
.pkw-choice74{--choice-ink:#37424a;box-sizing:border-box!important;background:linear-gradient(#2477db,#78d6e7 55%,#ebfcf7)!important;color:var(--choice-ink)!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-family:"Roboto Condensed",Heebo,"Noto Sans",Arial,sans-serif!important;text-shadow:none!important;position:relative;isolation:isolate}
.pkw-choice74::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cg fill='%23eff7ff' stroke='%23c8e7fb' stroke-width='4'%3E%3Cpath d='M110 133C62 131 52 103 80 89C87 58 118 52 140 67C151 31 201 30 223 65C253 42 299 61 305 85C356 81 372 118 332 139C265 159 170 151 110 133Z'/%3E%3Cpath d='M780 220C730 224 710 190 749 172C753 140 789 132 817 146C844 115 892 126 904 157C950 143 980 166 977 194C1030 195 1034 225 991 240C931 260 825 245 780 220Z'/%3E%3Cpath d='M265 548C219 549 199 519 235 499C245 468 279 466 302 483C322 445 364 451 384 478C415 460 452 478 456 502C497 505 505 534 464 548C400 570 322 559 265 548Z'/%3E%3Cpath d='M909 656C864 655 841 625 879 606C882 574 919 565 946 584C976 548 1016 560 1031 589C1066 572 1104 592 1105 615C1149 623 1140 651 1102 661C1034 681 963 673 909 656Z'/%3E%3C/g%3E%3Cpath fill='%2391cf78' opacity='.55' d='M0 745Q110 652 240 747Q370 655 540 780L1200 800H0Z'/%3E%3C/svg%3E");background-size:cover;background-position:center}
dialog.pkw-choice74{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:54px max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;overflow:hidden!important}
dialog.pkw-choice74:not([open]){display:none!important}dialog.pkw-choice74[open]{display:block!important}.pkw-choice74::backdrop{background:#214d69aa}
.pkw-choice74 *{box-sizing:border-box}.pkw-choice74 .pkw-choice74-frame{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(24px,4vw,80px)!important;align-items:center!important;direction:ltr!important;height:100%!important;width:min(1450px,100%)!important;margin:auto!important;padding:0!important;background:none!important;border:0!important;min-height:0!important}
.pkw-choice74-welcome{min-width:0;align-self:center}.pkw-choice74-companions{display:block!important;position:relative!important;inset:auto!important;width:85%!important;height:clamp(120px,28vh,250px)!important;object-fit:contain!important;object-position:bottom!important;margin:0 auto -14px!important;z-index:1;filter:none!important;pointer-events:none}
.pkw-choice74-dialogue{position:relative;padding:clamp(22px,3.4vw,50px);border:5px solid #f5766c;border-radius:40px;background:linear-gradient(90deg,#ffd1bd,#fffdf3 25%,#fffdf3 75%,#ffd1bd);box-shadow:inset 0 0 0 3px #fff,0 2px 0 #d9675f;text-align:center;color:var(--choice-ink);direction:inherit}.pkw-choice74-dialogue::before{content:"";position:absolute;inset:15px 10px;pointer-events:none;border-left:30px dotted #f8a58150;border-right:30px dotted #f8a58150;border-radius:14px}
.pkw-choice74-dialogue h2{position:relative;font-size:clamp(24px,2.5vw,40px)!important;font-weight:500!important;line-height:1.3!important;color:var(--choice-ink)!important;margin:0!important;text-shadow:none!important;letter-spacing:0!important}.pkw-choice74-dialogue p{position:relative;margin:24px 0 0!important;color:#a64e3e!important;font-size:clamp(16px,1.6vw,25px)!important;line-height:1.65!important;text-shadow:none!important;max-width:none!important}.pkw-choice74[dir=rtl] .pkw-choice74-dialogue{direction:rtl}
.pkw-choice74 .editions-list,.pkw-choice74-profile-content{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:12px!important;min-height:0!important;max-height:100%!important;overflow:auto!important;padding:8px 5px 10px 20px!important;margin:0!important;scrollbar-width:thin;scrollbar-color:#6899af #e9f7f6;align-items:stretch!important;min-width:0!important;direction:ltr!important}
.pkw-choice74 .pkw-choice74-row{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:16px!important;flex:none!important;min-height:56px!important;padding:9px 18px!important;border:2px solid var(--choice-color,#e87868)!important;border-radius:13px!important;outline:3px solid #ffffffdd;outline-offset:1px;background:#fffffff5!important;box-shadow:inset 0 0 0 3px #fff!important;color:var(--choice-ink)!important;text-decoration:none!important;font-weight:400!important;white-space:normal!important;transform:none!important;text-shadow:none!important;transition:background .15s,border-color .15s!important;line-height:1.2!important;font-size:26px!important}
.pkw-choice74-row>img,.pkw-choice74-row>.code{display:none!important}.pkw-choice74-row>span:not(.pkw-choice74-language){display:contents!important}.pkw-choice74-language{display:block!important;font-size:clamp(23px,2.2vw,34px)!important;font-weight:500!important;line-height:1.2!important;text-shadow:none!important;color:inherit!important}.pkw-choice74-region{position:absolute!important;inset-inline-end:14px;top:50%;transform:translateY(-50%);font-size:12px!important;line-height:1.2!important;max-width:24%;color:#607682!important;font-weight:400!important;letter-spacing:0!important}.pkw-choice74-row[aria-current]{background:linear-gradient(110deg,#f89583,#f45c5c 40%,#ef515b)!important;color:white!important;border-color:#f6aa73!important;box-shadow:inset 0 0 0 3px #fff5dd,0 0 12px #ffef90!important}.pkw-choice74-row[aria-current]::before{content:"▶"!important;position:absolute!important;left:-24px!important;top:50%!important;transform:translateY(-50%);width:auto!important;height:auto!important;background:none!important;border-radius:0!important;color:#fff;font-size:31px;line-height:1;text-shadow:0 2px 3px #264559}.pkw-choice74-row[aria-current] .pkw-choice74-region{color:#fff!important}.pkw-choice74-row:hover,.pkw-choice74-row:focus-visible{background:#fff4dc!important;outline:3px solid #e87758!important}.pkw-choice74-row[aria-current]:hover{color:#9b3e37!important}
.pkw-choice74 .close-button,.pkw-choice74 .pkw-profile-close,.pkw-choice74-close{position:absolute!important;top:max(8px,env(safe-area-inset-top))!important;left:14px!important;right:auto!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;min-width:44px!important;width:auto!important;padding:5px 17px!important;border:2px solid #fff!important;border-radius:25px!important;background:#fffffff0!important;color:#354650!important;font:500 17px/1.3 inherit!important;box-shadow:none!important;text-shadow:none!important;cursor:pointer}.pkw-choice74 .close-button svg{width:24px;height:24px}
.pkw-choice74 .pkw-profile-picker{max-width:none!important}.pkw-choice74 .pkw-profile-list{display:flex!important;flex-direction:column!important;gap:12px!important;margin:0!important}.pkw-choice74 .pkw-choice74-profile-row{background:#fffdf8!important;border:2px solid var(--choice-color,#e48e67)!important;box-shadow:inset 0 0 0 3px #fff!important;border-radius:13px!important;color:#39444b!important;padding:12px 16px!important;min-height:80px!important}.pkw-choice74 .pkw-profile-card strong{font-size:23px!important;color:#34424b!important}.pkw-choice74 .pkw-profile-card span{color:#526777!important}.pkw-choice74 .pkw-profile-card button,.pkw-choice74 .pkw-profile-continue{min-height:44px!important;border:2px solid #ed9782!important;border-radius:9px!important;background:#fff6e9!important;color:#874f43!important;box-shadow:none!important;font-size:17px!important}.pkw-choice74 .pkw-profile-status,.pkw-choice74 .pkw-profile-note{background:#ffffffe8!important;color:#455a64!important;padding:10px!important;border-radius:10px!important;font-size:14px!important;line-height:1.5!important}.pkw-choice74 .pkw-profile-note:empty,.pkw-choice74 .pkw-profile-status:empty{display:none!important}
#google-return.pkw-choice74{width:100%!important;max-width:none!important;height:calc(100dvh - 30px)!important;min-height:520px!important;padding:50px 20px 20px!important;margin:0!important;overflow:hidden!important}#google-return.pkw-choice74>.back-link{position:absolute;top:8px;left:15px}
.pkw-choice74-serverbar{background:#fafff8!important;box-shadow:0 1px 3px #3d687c33!important;border-bottom:1px solid #d3e5df!important;min-height:44px!important;padding:0 12px!important;gap:12px!important}.pkw-choice74-serverbar .brand{color:#3b6974!important}.pkw-choice74-launch{border:0;border-radius:20px;background:#e8f3eb;color:#34525a;font:600 13px/1.3 Arial,sans-serif;min-height:36px;padding:7px 18px;cursor:pointer}.pkw-choice74-launch:hover{background:#dbeadf}
@media(max-width:650px),(orientation:portrait){dialog.pkw-choice74{padding-top:52px!important;padding-left:12px!important;padding-right:12px!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}.pkw-choice74 .pkw-choice74-frame{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:14px!important;align-items:stretch!important}.pkw-choice74-welcome{align-self:auto}.pkw-choice74-companions{height:95px!important;width:240px!important;margin-top:-22px!important;margin-bottom:-10px!important}.pkw-choice74-dialogue{padding:13px 22px;border-width:4px;border-radius:24px}.pkw-choice74-dialogue h2{font-size:22px!important;line-height:1.3!important}.pkw-choice74-dialogue p{font-size:13px!important;line-height:1.5!important;margin-top:7px!important}.pkw-choice74 .editions-list,.pkw-choice74-profile-content{gap:11px!important;padding-left:17px!important}.pkw-choice74 .pkw-choice74-row{min-height:52px!important;padding:9px 12px!important}.pkw-choice74-language{font-size:23px!important}.pkw-choice74-region{font-size:10px!important;inset-inline-end:8px;max-width:25%}.pkw-choice74-row[aria-current]::before{left:-18px!important;font-size:26px}.pkw-choice74-dialogue::before{border-width:17px;inset:8px}.pkw-choice74 .pkw-profile-card strong{font-size:20px!important}}
@media(orientation:landscape) and (max-height:460px){.pkw-choice74-companions{height:105px!important}.pkw-choice74-dialogue{padding:15px 18px;border-radius:26px}.pkw-choice74-dialogue h2{font-size:22px!important}.pkw-choice74-dialogue p{font-size:13px!important;margin-top:12px!important}.pkw-choice74 .pkw-choice74-row{min-height:46px!important;padding:8px 12px!important}.pkw-choice74-language{font-size:23px!important}.pkw-choice74 .editions-list{gap:10px!important}.pkw-choice74 .pkw-choice74-frame{gap:24px!important}}
@media(prefers-reduced-motion:reduce){.pkw-choice74 *{transition:none!important;animation:none!important}}

/* Seven real editions stay visible on a phone held horizontally. */
@media(orientation:landscape) and (min-width:620px) and (max-height:460px){dialog.pkw-choice74{padding-top:8px!important;padding-bottom:8px!important}.pkw-choice74 .editions-list{gap:6px!important;padding-top:3px!important;padding-bottom:3px!important}.pkw-choice74 .pkw-choice74-row{min-height:40px!important;padding:4px 12px!important}.pkw-choice74-language{font-size:18px!important;line-height:24px!important}.pkw-choice74-region{font-size:10px!important}.pkw-choice74-row[aria-current]::before{font-size:25px!important}.pkw-choice74-welcome{padding-top:24px}.pkw-choice74-companions{height:86px!important}.pkw-choice74-dialogue{padding:13px 18px}.pkw-choice74-dialogue h2{font-size:21px!important}.pkw-choice74-dialogue p{font-size:13px!important;line-height:1.5!important;margin-top:12px!important}}

.pkw-choice74 .pkw-choice74-companions{display:flex!important;justify-content:center!important;align-items:flex-end!important}.pkw-choice74 .pkw-choice74-companions>img{display:block!important;width:50%!important;height:100%!important;object-fit:contain!important;object-position:bottom!important;position:static!important;margin:0!important;filter:none!important}
@media(orientation:landscape) and (min-width:620px) and (max-height:460px){.pkw-choice74 .pkw-choice74-row{font-size:18px!important;line-height:24px!important}}
.pkw-choice74{font-family:'Tamerra Condensed',Heebo,'Noto Sans',Arial,sans-serif!important;font-weight:500}
.pkw-choice74 .pkw-choice74-dialogue::before{border:0!important;border-radius:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='200' viewBox='0 0 42 200'%3E%3Cg fill='%23f7a480' opacity='.32'%3E%3Crect x='0' y='0' width='18' height='21' rx='5'/%3E%3Crect x='24' y='0' width='18' height='21' rx='5'/%3E%3Crect x='0' y='32' width='18' height='21' rx='5'/%3E%3Crect x='0' y='64' width='18' height='21' rx='5'/%3E%3Crect x='24' y='64' width='18' height='21' rx='5'/%3E%3Crect x='24' y='96' width='18' height='21' rx='5'/%3E%3Crect x='0' y='128' width='18' height='21' rx='5'/%3E%3Crect x='0' y='160' width='18' height='21' rx='5'/%3E%3Crect x='24' y='160' width='18' height='21' rx='5'/%3E%3C/g%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='200' viewBox='0 0 42 200'%3E%3Cg fill='%23f7a480' opacity='.32'%3E%3Crect x='0' y='0' width='18' height='21' rx='5'/%3E%3Crect x='24' y='0' width='18' height='21' rx='5'/%3E%3Crect x='24' y='32' width='18' height='21' rx='5'/%3E%3Crect x='0' y='64' width='18' height='21' rx='5'/%3E%3Crect x='24' y='64' width='18' height='21' rx='5'/%3E%3Crect x='0' y='96' width='18' height='21' rx='5'/%3E%3Crect x='24' y='128' width='18' height='21' rx='5'/%3E%3Crect x='0' y='160' width='18' height='21' rx='5'/%3E%3Crect x='24' y='160' width='18' height='21' rx='5'/%3E%3C/g%3E%3C/svg%3E");background-position:left top,right top;background-size:42px 200px;background-repeat:repeat-y}
#google-return.pkw-choice74{position:fixed!important;inset:0!important;z-index:2147482500!important;height:100dvh!important;min-height:0!important}
#google-return.pkw-choice74>a{position:absolute!important;top:6px!important;left:14px!important;min-height:40px!important;display:flex!important;align-items:center!important;padding:5px 16px!important;border:2px solid #fff!important;border-radius:24px!important;background:#fffffff0!important;color:#354650!important;text-decoration:none!important;z-index:5!important}
#google-return.pkw-choice74>p:empty{display:none!important}

/* The existing server confirmation retains its focus trap and navigation callback. */
#tamerra-server-dialog.tc-dialog-layer{background:#17465c66!important;backdrop-filter:blur(5px)!important;color:#35464c!important;font-family:'Tamerra Condensed',Heebo,Arial,sans-serif!important;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog{width:min(580px,calc(100vw - 28px))!important;max-height:calc(100dvh - 28px)!important;border:4px solid #f4766a!important;border-radius:28px!important;background:#fffaf1!important;box-shadow:inset 0 0 0 3px #fff,0 12px 34px #25465930!important;overflow:auto!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog-head{min-height:62px!important;padding:17px 60px!important;background:linear-gradient(90deg,#ffcfba,#fffaf1 35%,#fffaf1 65%,#ffcfba)!important;border:0!important;border-radius:23px 23px 0 0!important;color:#35464c!important;box-shadow:none!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog-head h2{font-family:inherit!important;font-size:25px!important;line-height:1.3!important;font-weight:500!important;color:#35464c!important;text-shadow:none!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog-close{left:10px!important;right:auto!important;top:8px!important;min-width:44px!important;min-height:44px!important;border:2px solid #fff!important;border-radius:24px!important;background:#ffffffd9!important;color:#536970!important;box-shadow:none!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog-message{background:#fffaf1!important;color:#455c63!important;padding:18px 25px 24px!important;font-family:inherit!important;font-size:18px!important;line-height:1.55!important;text-shadow:none!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog-actions{background:#fffaf1!important;padding:0 18px 20px!important;gap:14px!important;border-radius:0 0 24px 24px!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog-actions button{min-height:48px!important;min-width:120px!important;border:2px solid #efa37b!important;border-radius:12px!important;background:linear-gradient(110deg,#f88c79,#f46565)!important;color:#fff!important;font-family:inherit!important;font-size:20px!important;font-weight:500!important;box-shadow:inset 0 0 0 2px #fff6e6!important;text-shadow:none!important}
#tamerra-server-dialog.tc-dialog-layer .tc-dialog-actions button.tc-cancel{border-color:#80bfcc!important;background:#fffdf7!important;color:#476773!important;box-shadow:inset 0 0 0 2px #fff!important}
#tamerra-server-dialog.tc-dialog-layer button:focus-visible{outline:3px solid #457d92!important;outline-offset:2px!important}
@media(orientation:landscape) and (max-height:460px){#tamerra-server-dialog.tc-dialog-layer .tc-dialog-head{min-height:48px!important;padding:11px 60px!important}#tamerra-server-dialog.tc-dialog-layer .tc-dialog-head h2{font-size:21px!important}#tamerra-server-dialog.tc-dialog-layer .tc-dialog-message{padding:8px 18px 12px!important;font-size:14px!important;line-height:1.4!important}#tamerra-server-dialog.tc-dialog-layer .tc-dialog-actions{padding-bottom:12px!important}#tamerra-server-dialog.tc-dialog-layer .tc-dialog-actions button{min-height:44px!important;font-size:17px!important}}
