/* Isolated login-page styling and editor. Does not change game/mobile-table rules. */
.lp-page{
  --lp-background-top:#04241d;--lp-background-bottom:#0b392d;--lp-card-background:#082d25;
  --lp-card-border:#305046;--lp-input-background:#17362b;--lp-input-border:#3a5040;
  --lp-button-top:#efd292;--lp-button-bottom:#ceac67;--lp-accent:#d6bb7f;
  --lp-card-width:440px;--lp-card-padding:30px;--lp-mobile-padding:18px;--lp-corner-radius:18px;
  --lp-field-gap:18px;--lp-mobile-field-gap:14px;
  display:flex;flex-direction:column;min-height:100vh;min-height:100svh;min-height:100dvh;
  color:#f2eedb;background:radial-gradient(ellipse at 50% 25%,#48774812,transparent 65%),radial-gradient(ellipse at 70% 100%,#b3a65710,transparent 48%),linear-gradient(155deg,var(--lp-background-top),var(--lp-background-bottom));
  padding:max(0px,env(safe-area-inset-top)) max(0px,env(safe-area-inset-right)) max(0px,env(safe-area-inset-bottom)) max(0px,env(safe-area-inset-left));
  font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  isolation:isolate;overflow-wrap:anywhere;
}
.lp-page *{box-sizing:border-box}.lp-page [hidden]{display:none!important}
.lp-page [data-lp-id],.modal [data-lp-id]{font-size:var(--lp-font-size,16px)}
.lp-page .lp-text,.lp-help-copy{white-space:pre-line;overflow-wrap:anywhere;max-width:100%;letter-spacing:normal}
.lp-header{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;max-width:1600px;margin:0 auto;padding:28px clamp(24px,5vw,78px)}
.lp-brand{display:flex;align-items:flex-start;gap:5px;min-width:0;flex-wrap:wrap}
.lp-brand [data-lp-id=brand]{letter-spacing:-2px}.lp-brand [data-lp-id=brand_mark]{margin-top:4px}
.lp-top-note{display:flex;align-items:center;gap:10px;max-width:50%;min-width:0;color:var(--lp-accent)}
.lp-top-note>.icon{width:21px;height:21px}
.lp-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;justify-items:center;flex:1;width:100%;max-width:1360px;margin:0 auto;padding:24px clamp(20px,4vw,64px) 38px;gap:54px}
.lp-page[data-story=true] .lp-layout{grid-template-columns:minmax(0,1fr) minmax(300px,var(--lp-card-width));gap:clamp(28px,5vw,80px)}
.lp-story{min-width:0;width:100%;text-align:center}.lp-tagline{margin:0 0 22px}
.lp-headline{margin:0 0 25px;font-weight:400;line-height:1.15;letter-spacing:normal}
.lp-headline>.lp-line{display:block}.lp-headline .lp-line:empty{display:none}
.lp-story-text{margin:0 auto;max-width:620px}.lp-features{display:flex;justify-content:center;align-items:center;gap:22px;flex-wrap:wrap;margin:28px 0 0}
.lp-features>span{display:flex;align-items:center;gap:8px}.lp-features .icon{color:var(--lp-accent);width:20px;height:20px}
.lp-scene{margin-top:44px;display:flex;flex-direction:column;align-items:center;gap:20px}
.lp-scene-rack{padding:18px 20px 14px;background:linear-gradient(100deg,#80572d,#b6864a 42%,#82582f);border:2px solid #704521;border-radius:7px;box-shadow:0 18px 30px #0005,inset 0 2px #dbaf7270;display:flex;gap:6px;transform:rotate(-4deg)}
.lp-scene-rack .tile{height:75px;min-height:75px;width:49px;flex-basis:49px;cursor:default;transform:none}
.lp-scene-rack .tile b{font-size:32px}.lp-scene-rack .tile:nth-child(3){transform:translateY(-5px) rotate(4deg)}
.lp-card{width:100%;max-width:var(--lp-card-width);min-width:0;background:var(--lp-card-background);border:1px solid var(--lp-card-border);border-radius:var(--lp-corner-radius);padding:var(--lp-card-padding);box-shadow:0 25px 70px #0002;text-align:center}
.lp-medallion{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;border:1px solid var(--lp-accent);background:#e4cb8c05;color:var(--lp-accent)}
.lp-medallion .icon{width:25px;height:25px}
.lp-intro{display:flex;flex-direction:column;gap:12px;margin:0 0 26px}.lp-intro>:empty{display:none}
.lp-intro .lp-text{display:block;width:100%;margin:0}.lp-title{letter-spacing:normal}
.lp-form{display:flex;flex-direction:column;gap:var(--lp-field-gap);margin:0;padding:0;min-width:0}
.lp-page .lp-field{display:flex;flex-direction:column;gap:7px;margin:0;text-align:left;min-width:0;font-weight:400}
.lp-field-label{display:block;width:100%}
.lp-input{display:flex;align-items:center;position:relative;min-width:0}
.lp-page .lp-input>input{display:block;width:100%;min-width:0;min-height:50px;border:1px solid var(--lp-input-border);border-radius:8px;padding:12px 44px;background:var(--lp-input-background);outline:none;box-shadow:none;margin:0;color:#eef2df;transition:border-color .15s,box-shadow .15s}
.lp-page .lp-input-noicon>input{padding-left:14px}.lp-page .lp-input>input:not([type=password]){padding-right:14px}
.lp-page .lp-input>input[name=password]{padding-right:47px}
.lp-page .lp-input>input::placeholder{color:currentColor;opacity:.55}
.lp-page .lp-input>input:focus{border-color:var(--lp-accent);box-shadow:0 0 0 3px #d6bb7f18}
.lp-input>.icon{position:absolute;left:14px;color:#9eb189;width:20px;height:20px;pointer-events:none}
.lp-page .lp-reveal{position:absolute;right:3px;top:3px;bottom:3px;width:42px;border:0;background:transparent;border-radius:6px;padding:0;display:flex;align-items:center;justify-content:center;color:#9eb189}
.lp-page .lp-reveal:focus-visible{outline:2px solid var(--lp-accent);outline-offset:0}
.lp-page .lp-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;margin:4px 0 0;padding:12px 18px;border:1px solid var(--lp-accent);border-radius:8px;background:linear-gradient(180deg,var(--lp-button-top),var(--lp-button-bottom));color:#312914;box-shadow:0 3px 8px #0002;white-space:normal}
.lp-submit .lp-text{flex:1;min-width:0}.lp-submit>.icon{width:21px;height:21px;flex-shrink:0}
.lp-page .lp-submit:hover:not(:disabled){filter:brightness(1.06)}.lp-page .lp-submit:focus-visible{outline:3px solid #f7e2b0;outline-offset:4px}
.lp-page .lp-notice{display:flex;align-items:flex-start;gap:12px;padding:16px;margin:22px 0 0;border:1px solid #cbb68135;border-radius:8px;background:#dbbf7c04;text-align:left}
.lp-notice>.icon{color:var(--lp-accent);width:20px;height:20px;margin-top:2px}
.lp-notice>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.lp-notice .lp-text{display:block}
.lp-page .lp-help-link{display:block;padding:8px 2px;margin:12px auto 0;border:0;background:none;max-width:100%;white-space:normal;color:#aab889}
.lp-page .lp-help-link:hover{text-decoration:underline}.lp-page .lp-help-link:focus-visible{outline:2px solid var(--lp-accent)}
.lp-message{color:#edd3ae;font-size:14px;line-height:1.5;margin:14px 0 0;overflow-wrap:anywhere}.lp-message:empty{display:none}.lp-message a{color:#efd292;text-decoration:underline}
.lp-footer{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:14px 36px;padding:18px 24px 28px;width:100%;text-align:center}.lp-footer>.lp-text{display:block}
.lp-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.lp-page[data-compact=true] .lp-header{padding-top:20px;padding-bottom:16px}
.lp-page[data-compact=true] .lp-layout{padding-top:12px;padding-bottom:28px}
.lp-page[data-compact=true] .lp-intro{gap:9px;margin-bottom:22px}
.lp-page[data-preview=true] button:disabled,.lp-page[data-preview=true] input:disabled{opacity:1;cursor:default;-webkit-text-fill-color:currentColor}
.lp-page[data-preview=true] [data-lp-id]{cursor:pointer}.lp-page[data-preview=true] [data-lp-id]:hover{outline:1px dashed #e8c987;outline-offset:4px}
.lp-page[data-preview=true] [data-lp-selected]{outline:2px solid #e8c987;outline-offset:4px;border-radius:3px}
@media(max-width:1000px){.lp-page[data-story=true] .lp-layout{grid-template-columns:1fr;max-width:780px;gap:34px}.lp-page[data-story=true] .lp-card{max-width:var(--lp-card-width)}.lp-story{max-width:660px}.lp-scene-rack{transform:none}.lp-header{padding-left:26px;padding-right:26px}}
@media(max-width:600px){
 .lp-page [data-lp-id],.modal [data-lp-id]{font-size:var(--lp-mobile-font-size,var(--lp-font-size,16px))}
 .lp-header{padding:20px 24px;gap:12px}.lp-top-note{gap:6px;max-width:48%}.lp-top-note>.icon{width:17px;height:17px}
 .lp-layout,.lp-page[data-compact=true] .lp-layout{padding:12px 16px 22px;gap:28px}
 .lp-page[data-compact=true] .lp-header{padding:14px 24px 10px}
 .lp-page .lp-card{padding:var(--lp-mobile-padding);border-radius:var(--lp-corner-radius)}
 .lp-page .lp-intro,.lp-page[data-compact=true] .lp-intro{gap:8px;margin-bottom:20px}
 .lp-page .lp-form{gap:var(--lp-mobile-field-gap)}.lp-page .lp-field{gap:6px}
 .lp-page .lp-input>input{min-height:46px;padding-top:10px;padding-bottom:10px}
 .lp-page .lp-submit{min-height:46px;padding:10px 16px;margin-top:2px}
 .lp-page .lp-help-link{margin-top:10px;padding:8px 2px;min-height:38px}
 .lp-medallion{width:46px;height:46px;margin-bottom:20px}.lp-medallion .icon{width:22px;height:22px}
 .lp-tagline{margin-bottom:18px}.lp-headline{margin-bottom:20px}.lp-features{gap:13px;margin-top:22px}.lp-features>span{gap:5px}.lp-features .icon{width:17px;height:17px}
 .lp-scene{margin-top:28px;gap:14px}.lp-scene-rack{gap:4px;padding:12px 11px 10px;max-width:100%}.lp-scene-rack .tile{width:37px;flex-basis:37px;height:57px;min-height:57px}.lp-scene-rack .tile b{font-size:25px}
 .lp-page .lp-notice{padding:14px 12px;margin-top:20px;gap:9px}.lp-notice>.icon{width:18px;height:18px}
 .lp-footer{flex-direction:column;gap:8px;padding:14px 18px 24px}
}
@media(max-height:480px) and (orientation:landscape){
 .lp-page[data-compact=true][data-story=false] .lp-header{padding:10px 24px;align-items:center}
 .lp-page[data-compact=true][data-story=false] .lp-brand{max-height:48px}.lp-page[data-compact=true][data-story=false] .lp-header [data-lp-id=brand]{font-size:var(--lp-mobile-font-size,40px)}
 .lp-page[data-compact=true][data-story=false] .lp-layout{padding:4px 18px 16px}
 .lp-page[data-compact=true][data-story=false] .lp-card{max-width:690px;padding:16px 22px}
 .lp-page[data-compact=true][data-story=false] .lp-intro{display:grid;grid-template-columns:1fr 1fr;gap:3px 14px;align-items:center;margin-bottom:12px}
 .lp-page[data-compact=true][data-story=false] .lp-title{grid-column:1;grid-row:1/3;font-size:var(--lp-mobile-font-size,32px)}
 .lp-page[data-compact=true][data-story=false] .lp-welcome,.lp-page[data-compact=true][data-story=false] .lp-description{grid-column:2}
 .lp-page[data-compact=true][data-story=false] .lp-form{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}
 .lp-page[data-compact=true][data-story=false] .lp-submit{grid-column:1/-1;min-height:44px;margin:0}
 .lp-page[data-compact=true][data-story=false] .lp-help-link{margin-top:6px;padding:6px 2px}
}
/* Editor: explicit component selectors prevent general admin form/switch styles leaking in. */
.lp-editor{max-width:1560px;margin:auto;min-width:0}
.lp-editor-heading{margin:0 0 24px}.lp-editor-heading h1{font:46px/1.15 Georgia,serif;letter-spacing:-1px;margin:8px 0 10px;color:#153d30}
.lp-editor-heading p{font-size:13px;color:#708273;max-width:830px;line-height:1.6}
.lp-editor-bar{position:sticky;top:0;z-index:12;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 19px;background:#fffdf6f7;backdrop-filter:blur(12px);border:1px solid #e0e4d7;border-radius:12px;box-shadow:0 4px 20px #143c3010;margin:0 0 22px}
.lp-save-state{display:flex;align-items:center;gap:10px;min-width:0}.lp-save-state>span{width:8px;height:8px;flex:0 0 8px;background:#3f9270;border-radius:50%;box-shadow:0 0 0 4px #3f927018}.lp-save-state>span.dirty{background:#bc903e;box-shadow:0 0 0 4px #bc903e18}.lp-save-state>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.lp-save-state strong{font-size:12px;color:#2b503d}.lp-save-state small{font-size:10px;color:#758272;line-height:1.5}
.lp-editor-actions{display:flex;gap:9px;flex-wrap:wrap}.lp-editor-actions .btn{white-space:normal}
.lp-editor-grid{display:grid;grid-template-columns:minmax(310px,420px) minmax(0,1fr);align-items:start;gap:25px}
.lp-controls{padding:23px 23px 26px;min-width:0;overflow:hidden}
.lp-controls-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.lp-controls-title h2{font-size:17px}.lp-controls-title>span{font-size:10px;color:#839078}
.lp-editor .lp-editor-label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;line-height:1.5;margin:0 0 16px;color:#36513f;min-width:0}
.lp-editor .lp-editor-label input,.lp-editor .lp-editor-label select,.lp-editor .lp-editor-label textarea{display:block;width:100%;min-width:0;background:#fbfcf8;color:#314b3a;border:1px solid #d7dfd2;border-radius:7px;padding:10px 11px;min-height:42px;font-size:13px;line-height:1.5;font-weight:400;margin:0;box-shadow:none}
.lp-editor .lp-editor-label textarea{resize:vertical;min-height:82px;max-height:360px}
.lp-editor .lp-editor-label input:focus,.lp-editor .lp-editor-label select:focus,.lp-editor .lp-editor-label textarea:focus{outline:2px solid #3f826433;outline-offset:1px;border-color:#478b69}
.lp-editor [aria-invalid=true]{border-color:#a33d35!important}.lp-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.lp-editor .lp-editor-check{display:flex;flex-direction:row;align-items:flex-start;gap:11px;margin:0 0 14px;padding:0;min-width:0;cursor:pointer}
.lp-editor .lp-editor-check input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;display:block;width:18px!important;min-width:18px!important;flex:0 0 18px;height:18px!important;min-height:18px!important;padding:0;margin:2px 0 0;border-radius:3px;background:initial;box-shadow:none;accent-color:#1b654b;transform:none}
.lp-editor .lp-editor-check input:before,.lp-editor .lp-editor-check input:after{display:none;content:none}
.lp-editor-check>span{display:flex;flex-direction:column;gap:3px;min-width:0}.lp-editor-check strong{font-size:12px;font-weight:600;line-height:1.5;color:#395641}.lp-editor-check small{font-size:10px;font-weight:400;color:#7b8879;line-height:1.6}
.lp-inline-toggles{display:flex;gap:16px;flex-wrap:wrap}.lp-inline-toggles .lp-editor-check{gap:7px}
.lp-editor .lp-editor-color{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px;padding:12px 14px;background:#f8faf4;border:1px solid #e4e8dd;border-radius:8px;font-size:12px;font-weight:600}
.lp-editor-color>span{display:flex;flex-direction:column;gap:5px;min-width:0}.lp-editor-color small{font:11px/1.3 "Courier New",monospace;color:#7c8a75}
.lp-editor .lp-editor-color input[type=color]{appearance:auto;display:block;flex:0 0 44px;width:44px;min-width:44px;height:38px;min-height:38px;margin:0;padding:2px;border:1px solid #ced8c7;border-radius:6px;background:transparent;cursor:pointer}
.lp-control-divider{font-size:11px;letter-spacing:.65px;font-weight:700;text-transform:uppercase;color:#8a875c;border-top:1px solid #e7e9df;margin:22px 0 17px;padding-top:18px}
.lp-control-hint{font-size:11px;color:#7d8879;line-height:1.7;margin:0 0 18px}.lp-preset-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:13px}.lp-preset-buttons .btn{white-space:normal;text-align:left}
.lp-field-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:-6px 0 15px}.lp-field-actions small{font-size:10px;color:#87927f;max-width:190px}.lp-field-actions button,.lp-hidden-hint button{border:0;background:none;color:#9b624e;text-decoration:underline;font-size:11px;padding:0;min-height:28px;white-space:nowrap}
.lp-hidden-hint{padding:12px 13px;border:1px solid #e1d2ad;background:#fff9e9;border-radius:8px;font-size:11px;color:#8a713e;margin-bottom:16px;display:flex;flex-direction:column;gap:3px}.lp-hidden-hint button{color:#596b3d;align-self:flex-start}
.lp-preview-panel{position:sticky;top:95px;min-width:0;background:#f2f2e9;border:1px solid #e2e5d8;border-radius:15px;padding:21px 17px}
.lp-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 5px}.lp-preview-heading h2{font-size:17px;margin:0 0 5px;color:#264c3a}.lp-preview-heading small{font-size:10px;line-height:1.6;color:#7e8c74;display:block}
.lp-view-switch{display:flex;gap:3px;padding:4px;margin:17px 5px;border:1px solid #dde4d3;border-radius:9px;background:#fffef7}
.lp-view-switch>button{display:block;flex:1;padding:9px 7px;min-height:36px;border:0;background:none;border-radius:6px;font-size:11px;font-weight:650;color:#819079}
.lp-view-switch>button[aria-pressed=true]{background:#194f3b;color:#f9f1d8;box-shadow:0 2px 8px #174b3018}
.lp-preview-area{display:flex;justify-content:center;min-width:0;padding:10px 0 15px;overflow:hidden}
.lp-preview-viewport{position:relative;border-radius:15px;box-shadow:0 10px 27px #07302320;outline:1px solid #b1c2a8;overflow:hidden;background:#082d25;flex:none}
.lp-preview-viewport iframe{border:0;display:block;transform-origin:top left;background:#082d25;margin:0;max-width:none}
.lp-preview-info{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:12px 5px 0;font-size:10px;line-height:1.6;border-top:1px solid #dde3d1}
.lp-preview-info strong{color:#317b50;font-size:11px}.lp-preview-info strong.overflow{color:#956529}.lp-preview-info>span{color:#859276;font-variant-numeric:tabular-nums}
.lp-preview-tip{font-size:10px;line-height:1.65;color:#8b967d;margin:10px 5px 0}
.lp-editor-message{padding:13px 17px;margin-bottom:18px;border:1px solid #bad4bd;border-radius:9px;font-size:12px;line-height:1.6;background:#edf6e8;color:#316548;overflow-wrap:anywhere}.lp-editor-message[hidden]{display:none}.lp-editor-message.error{background:#fff4ef;border-color:#e5c0ad;color:#954d3b}
.lp-editor-recovery{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:24px 0 0;padding:22px 24px}.lp-editor-recovery h2{font-size:15px;margin:0 0 7px}.lp-editor-recovery p{font-size:11px;color:#87927d;max-width:470px}.lp-editor-recovery>div:last-child{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}.lp-editor-recovery .btn{white-space:normal}
@media(max-width:1180px){.lp-editor-grid{grid-template-columns:minmax(285px,390px) minmax(0,1fr);gap:18px}.lp-editor-bar{align-items:flex-start;flex-direction:column;gap:12px}.lp-editor-actions{width:100%}.lp-preview-panel{top:152px}.lp-editor-recovery{align-items:flex-start;flex-direction:column}.lp-editor-recovery>div:last-child{justify-content:flex-start}.lp-controls{padding:20px}}
@media(max-width:850px){.lp-editor-grid{grid-template-columns:1fr}.lp-preview-panel{position:static;grid-row:1}.lp-controls{grid-row:2}.lp-preview-heading small{font-size:11px}.lp-editor-heading h1{font-size:36px}.lp-editor-bar{position:static}.lp-preview-tip{font-size:11px}.lp-preview-area{padding-bottom:18px}.lp-editor .lp-editor-label{font-size:13px}.lp-editor .lp-editor-label input,.lp-editor .lp-editor-label select,.lp-editor .lp-editor-label textarea{font-size:16px}.lp-editor-check strong{font-size:13px}.lp-editor-check small{font-size:11px}.lp-control-hint{font-size:12px}.lp-preview-panel{padding:18px}.lp-editor-heading p{font-size:12px}.lp-editor-recovery .btn{min-height:40px}.lp-editor-actions .btn{min-height:44px;font-size:12px}}
@media(max-width:480px){.lp-editor-heading h1{font-size:32px}.lp-editor-actions{flex-direction:column}.lp-editor-actions .btn{width:100%}.lp-editor-bar{padding:16px}.lp-controls{padding:18px 16px}.lp-controls-title>span{display:none}.lp-control-grid{gap:0 10px}.lp-inline-toggles{gap:11px}.lp-editor .lp-editor-label{font-size:12px}.lp-editor .lp-editor-check{gap:9px}.lp-editor .lp-editor-check input[type=checkbox]{width:20px!important;min-width:20px!important;height:20px!important;flex-basis:20px}.lp-editor .lp-editor-check{min-height:24px}.lp-editor-recovery{padding:20px 17px}.lp-editor-recovery>div:last-child{width:100%;flex-direction:column}.lp-preview-info{gap:6px}.lp-view-switch>button{font-size:12px}.lp-editor-heading>.eyebrow{font-size:9px}}
