/* =====================================================================
   LUNAR HAZE — LUNAR HAZE ONLINE (assets/css/account.css)
   ---------------------------------------------------------------------
   The AOL-style look for /account/ (Sign On, Welcome, orders, messages,
   settings, member card). Only loaded on those pages.
   Colors are set here on purpose (not the site theme colors), so it always
   looks like "the app", whatever theme or season is on.
   SKINS: each tap on 🎨 (right end of the menu bar) switches colors (bottom of this file).
   Sections: APP WINDOW · MENUS · TOOLBAR · KEYWORD BAR · WINDOWS ·
             SIGN ON · SCREEN NAMES · CONNECTING · WELCOME · LISTS ·
             MEMBER CARD · PHONES
   ===================================================================== */
.lo { --lo-font: Verdana, Tahoma, Arial, sans-serif; --lo-navy: #22246B; --lo-blue: #3D3F9E; --lo-tile: #5B5FC7; --lo-hi: #8C8FE0;
      --lo-line: #6F6496; --lo-gray: #D9D2E9; --lo-desk: #B7AED0; --lo-paper: #FCF9EE; --lo-ink: #15133A; --lo-pink: #D65B8C; --lo-lime: #E1F66B;
      width: 100%; box-sizing: border-box; max-width: 1280px;   /* (1120 until Nov 12 2026: 12 toolbar buttons + the emblem were getting squished) */ margin: clamp(10px, 3vw, 28px) auto 40px; padding: 0 12px; font-family: var(--lo-font); color: var(--lo-ink); position: relative; z-index: 2; }
.lo a:not([class]) { color: inherit; }
.lo .lo-item { color: var(--lo-ink); text-decoration: none; }
.lo .lo-brand { color: var(--lo-lime); }
.lo .lh-emblem { display: block; }

/* ---------- APP WINDOW ---------- */
.lo-app { background: var(--lo-gray); border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; box-shadow: 6px 6px 0 rgba(0,0,0,.35); }
.lo-tb, .lo-wt { display: flex; align-items: center; gap: 8px; background: linear-gradient(90deg, var(--lo-bar0, #2B2A5E), var(--lo-tile) 70%, var(--lo-hi)); color: #fff; padding: 4px 6px; font: 700 15px var(--lo-font); }
.lo-tb-em, .lo-wt-em { width: 20px; height: 20px; color: var(--lo-lime); flex: none; }
.lo .lo-wt-t::after { content: none; }   /* (no blinking _ like the big page headings) */
.lo-tb-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lo-wt-t { font: 700 15px var(--lo-font); margin: 0; letter-spacing: 0; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: none; flex: 1 1 auto; min-width: 0; font-variation-settings: normal; line-height: 1.3; }
.lo-x { margin-left: auto; display: flex; gap: 3px; flex: none; }
.lo-x i, .lo-x a { width: 20px; height: 18px; background: #E3D0F4; border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; font: 700 11px/14px var(--lo-font); color: #2B2A5E; text-align: center; font-style: normal; text-decoration: none; }

/* ---------- MENUS (File / Edit / Window / Sign On / Help) ---------- */
.lo-menu { display: flex; gap: 4px; padding: 2px 6px; font-size: 14px; border-bottom: 1px solid #A99CC8; position: relative; z-index: 6; }
.lo-menu details { position: relative; }
.lo-menu summary { list-style: none; cursor: pointer; padding: 2px 8px; }
.lo-menu summary::-webkit-details-marker { display: none; }
.lo-menu details[open] summary, .lo-menu summary:hover { background: var(--lo-navy); color: #fff; }
.lo-menu details > div { position: absolute; left: 0; top: 100%; min-width: 200px; background: #F4F0FA; border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; box-shadow: 3px 3px 0 rgba(0,0,0,.25); padding: 3px; }
.lo-menu details > div a { display: block; padding: 5px 16px; text-decoration: none; font-size: 13.5px; }
.lo-menu details > div a:hover, .lo-menu details > div a:focus-visible { background: var(--lo-navy); color: #fff; }
.lo-menu-who { display: block; padding: 5px 16px; font-size: 12px; color: var(--lo-line); border-bottom: 1px solid #C9BEE0; margin-bottom: 2px; }

/* ---------- TOOLBAR ---------- */
.lo-tools { display: flex; align-items: stretch; background: linear-gradient(180deg, var(--lo-tool1, #4E51B8), var(--lo-blue)); border-top: 2px solid var(--lo-hi); border-bottom: 2px solid var(--lo-navy); padding: 4px 6px; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.lo-tools::-webkit-scrollbar { display: none; }
.lo-tool { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 82px; padding: 3px 6px; color: #fff !important; font-size: 13px; gap: 3px; text-decoration: none; text-shadow: 1px 1px 0 var(--lo-navy); border: 2px solid transparent; flex: none; }
.lo-tool:hover, .lo-tool:focus-visible { border-color: var(--lo-hi) var(--lo-navy) var(--lo-navy) var(--lo-hi); background: rgba(255,255,255,.06); }
.lo-tool em { font-style: normal; font-size: 26px; line-height: 1; filter: drop-shadow(1px 1px 0 var(--lo-navy)); }
.lo-tool small { font-size: 9px; color: var(--lo-lime); margin-left: 3px; }
.lo-grp { border-left: 2px groove var(--lo-hi); }
.lo-brand { margin-left: auto; display: grid; place-items: center; width: 62px; flex: none; background: var(--lo-navy); border: 2px solid; border-color: var(--lo-tile) #0E0D2E #0E0D2E var(--lo-tile); color: var(--lo-lime); }
.lo-brand .lh-emblem { width: 44px; height: 44px; }
.lo-tool b { font-weight: inherit; } .lo-tool .lo-short { display: none; }

/* ---------- KEYWORD BAR ---------- */
.lo-kw { display: flex; align-items: center; gap: 6px; padding: 5px 8px; background: var(--lo-light, #E8E2F4); border-bottom: 2px solid #A99CC8; font-size: 13px; margin: 0; }
.lo-nav { display: flex; gap: 2px; }
.lo-nav { align-items: center; }
.lo-nav a { color: #8A80AE; font-size: 17px; line-height: 1; text-decoration: none; padding: 0 3px; display: inline-flex; align-items: center; }
.lo-nav svg { display: block; }
.lo-nav a:hover { color: var(--lo-navy); }
.lo-find { border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; background: #E3D0F4; padding: 2px 8px; font: 700 12px var(--lo-font); color: #2B2A5E; }
.lo-kw input { flex: 1; min-width: 0; background: #fff; border: 2px solid; border-color: var(--lo-line) #fff #fff var(--lo-line); padding: 4px 8px; font: 13px var(--lo-font); color: #000; border-radius: 0; }
.lo-kwb { background: #8A80AE; color: #fff; border: 2px solid; border-color: #C9AEE6 #4A4270 #4A4270 #C9AEE6; padding: 3px 12px; font: 700 12px var(--lo-font); cursor: pointer; }
.lo-kw-msg { margin: 0; padding: 6px 12px; background: #FFF8C8; border-bottom: 2px solid #A99CC8; font-size: 13px; }

/* ---------- THE DESK + WINDOWS ---------- */
.lo-desk { min-height: 480px; background: var(--lo-desk) repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 6px); padding: clamp(16px, 3vw, 34px) clamp(10px, 3vw, 40px); display: grid; gap: 22px; align-content: start; }
.lo-win { background: var(--lo-paper); border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; box-shadow: 4px 4px 0 rgba(43,42,94,.3); width: 100%; max-width: 860px; margin: 0 auto; min-width: 0; }
.lo-win.lo-wide { max-width: none; }
.lo-status { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 4px 10px; font-size: 12px; color: var(--lo-navy); border-top: 2px solid #A99CC8; background: var(--lo-light, #E8E2F4); }
.lo-status a { color: var(--lo-navy); }
.lo-body { padding: clamp(16px, 3vw, 28px); }
.lo-body h2 { font: 700 17px var(--lo-font); margin: 0 0 10px; letter-spacing: 0; color: var(--lo-navy); }
.lo-body p { line-height: 1.5; }

/* buttons */
.lo-bt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--lo-tile); color: #fff !important; font: 15px var(--lo-font); padding: 7px 18px; border: 2px solid; border-color: var(--lo-hi) var(--lo-navy) var(--lo-navy) var(--lo-hi); box-shadow: 3px 3px 0 #9A90BC; letter-spacing: .02em; cursor: pointer; text-decoration: none; text-transform: uppercase; }
.lo-bt:hover { filter: brightness(1.08); }
.lo-bt:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #9A90BC; }
.lo-bt.on { background: var(--lo-navy); border-color: var(--lo-tile) #000 #000 var(--lo-tile); outline: 2px solid #000; outline-offset: -5px; }
.lo-bt.pink { background: var(--lo-pink); border-color: #F29DC0 #8A2E57 #8A2E57 #F29DC0; }
.lo-bt.small { font-size: 12.5px; padding: 5px 12px; }
.lo-bt[disabled] { opacity: .55; cursor: wait; }
.lo-bts { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.lo-link { background: none; border: 0; padding: 0; font: inherit; color: var(--lo-navy); text-decoration: underline; cursor: pointer; }

/* fields */
.lo-f { margin-bottom: 18px; }
.lo-f label, .lo-lab { display: block; font: 700 15px var(--lo-font); color: #000; margin: 0 0 6px; }
.lo-f label small { font-weight: 400; font-size: 12px; }
.lo-in { width: 100%; max-width: 320px; background: #fff; border: 2px solid; border-color: var(--lo-line) #fff #fff var(--lo-line); padding: 6px 8px; font: 16px var(--lo-font); color: #000; border-radius: 0; }
.lo-in:focus { outline: 2px solid var(--lo-tile); outline-offset: 1px; }
.lo-in.code { font: 700 26px/1 "Courier New", monospace; letter-spacing: .35em; max-width: 220px; text-align: center; }
.lo-hint { font: 12.5px var(--lo-font); color: #5E3F7A; margin: 6px 0 0; line-height: 1.45; }
.lo-err { background: #FFE3EE; border: 2px solid var(--lo-pink); color: #8A2E57; padding: 7px 10px; font-size: 13.5px; margin: 0 0 14px; }
.lo-ok { background: #F4FBC8; border: 2px solid #9DB02E; color: #3E4A0C; padding: 7px 10px; font-size: 13.5px; margin: 0 0 14px; }

/* ---------- SIGN ON (the blue side panel + the form) ---------- */
.lo-sign { display: grid; grid-template-columns: 200px 1fr; min-height: 430px; }
.lo-side { margin: 8px; background: var(--lo-blue) repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px); border: 2px solid; border-color: var(--lo-navy) var(--lo-hi) var(--lo-hi) var(--lo-navy); display: flex; flex-direction: column; align-items: center; padding: 24px 10px 14px; color: #fff; text-align: center; }
.lo-side-em { width: 96px; height: 96px; color: var(--lo-lime); filter: drop-shadow(2px 2px 0 var(--lo-navy)); }
.lo-l1 { font: 11px var(--lo-font); letter-spacing: .42em; margin-top: 10px; padding-left: .42em; }
.lo-l2 { font: italic 700 46px Georgia, serif; line-height: .95; color: #fff; text-shadow: 2px 2px 0 var(--lo-navy), -1px -1px 0 var(--lo-hi); letter-spacing: -1px; }
.lo-ver { margin-top: auto; font: 700 14px var(--lo-font); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lo-side-puffy { width: 48px; }
.lo-form { padding: 34px 28px 22px 36px; display: flex; flex-direction: column; min-width: 0; }
.lo-form .lo-bts { margin-top: auto; padding-top: 12px; }
.lo-step[hidden] { display: none !important; }
.lo-step { display: flex; flex-direction: column; flex: 1; }
.lo-sel { position: relative; max-width: 320px; }
.lo-sel select { width: 100%; appearance: none; -webkit-appearance: none; background: var(--lo-navy); color: #fff; border: 2px solid; border-color: var(--lo-line) #fff #fff var(--lo-line); padding: 6px 34px 6px 8px; font: 16px var(--lo-font); border-radius: 0; }
.lo-sel::after { content: "▼"; position: absolute; right: 2px; top: 2px; bottom: 2px; width: 26px; display: grid; place-items: center; background: #E3D0F4; color: #000; font-size: 10px; border-left: 2px solid #fff; pointer-events: none; }

/* ---------- SCREEN NAMES ---------- */
.lo-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; max-width: 460px; border: 0; padding: 0; margin: 0; min-height: 132px; }
.lo .lo-f .lo-pick, .lo-pick { display: flex; align-items: center; gap: 8px; font: 400 15px var(--lo-font); color: #000; padding: 4px 6px; cursor: pointer; min-width: 0; margin: 0; text-transform: none; letter-spacing: 0; }
.lo-pick input { appearance: none; -webkit-appearance: none; width: 15px !important; height: 15px !important; min-width: 0; min-height: 0; padding: 0; box-shadow: none; position: static; border-radius: 50%; background: #fff; border: 2px solid var(--lo-line); outline: 0; flex: none; margin: 0; }
.lo-pick input:checked { background: radial-gradient(circle, var(--lo-navy) 0 3px, #fff 3.5px); border-color: #fff; }
.lo-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the picked name: white on navy (.on is added by the script too, for older browsers) */
.lo .lo-f .lo-pick.on, .lo .lo-pick.on, .lo .lo-f .lo-pick:has(input:checked) { background: var(--lo-navy); color: #fff; }
.lo-pick:has(input:focus-visible) { outline: 2px dashed var(--lo-tile); }
.lo-roll { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.lo-roll .lo-in { max-width: 220px; }

/* ---------- CONNECTING (the dial-up moment) ---------- */
#lo-connecting { display: none; }   /* (account.js shows it after Sign On) */
#lo-signon[hidden] { display: none; }
.lo-conn { display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 18px 20px; text-align: center; gap: 8px; }
.lo-cstep { display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .3; transition: opacity .3s; font: 700 14px var(--lo-font); }
.lo-cstep.on { opacity: 1; }
.lo-cico { width: 88px; height: 88px; display: grid; place-items: center; border: 2px solid; border-color: var(--lo-line) #fff #fff var(--lo-line); background: #F1E6FA; font-size: 42px; }
.lo-cico svg { width: 68px; }
.lo-cico .lh-emblem { width: 60px; height: 60px; color: var(--lo-blue); }
.lo-cstep.on .lo-cico { animation: lo-pulse 0.9s ease-in-out infinite alternate; }
.lo-cstep.done .lo-cico { animation: none; }
@keyframes lo-pulse { to { transform: scale(1.06); } }
.lo-bar { grid-column: 1 / -1; height: 18px; margin-top: 10px; border: 2px solid; border-color: var(--lo-line) #fff #fff var(--lo-line); background: #fff; padding: 2px; }
.lo-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--lo-tile) 0 12px, transparent 12px 15px); transition: width .5s linear; }
.lo-cmsg { grid-column: 1 / -1; margin: 10px 0 0; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .lo-cstep.on .lo-cico { animation: none; } .lo-bar i { transition: none; } }

/* ---------- WELCOME ---------- */
.lo-wb { display: grid; grid-template-columns: 240px minmax(0, 1fr) 240px; gap: 10px; padding: 10px; background: var(--lo-wb, #EEE8D5); }
.lo-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lo-hello { background: linear-gradient(180deg, var(--lo-tile), var(--lo-blue)); color: #fff; padding: 12px; border: 2px solid; border-color: var(--lo-hi) var(--lo-navy) var(--lo-navy) var(--lo-hi); }
.lo-hello b { display: block; font: italic 700 22px/1.08 Georgia, serif; overflow-wrap: anywhere; }
.lo-hello span { font-size: 12px; color: var(--lo-lime); }
.lo .lo-mail { background: #fff; border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; display: flex; align-items: center; gap: 10px; padding: 10px; font: 700 15px var(--lo-font); color: var(--lo-navy); text-decoration: none; }
.lo-mail em { font-style: normal; font-size: 40px; line-height: 1; }
.lo-mail small { display: block; font: 11.5px var(--lo-font); color: #5E3F7A; }
.lo-mail.new em { animation: lo-flag 1.4s ease-in-out infinite; display: inline-block; }
@keyframes lo-flag { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
.lo-btn2 { display: flex; align-items: center; gap: 8px; background: var(--lo-tile); color: #fff !important; font: 700 13px var(--lo-font); padding: 7px 9px; border: 2px solid; border-color: var(--lo-hi) var(--lo-navy) var(--lo-navy) var(--lo-hi); text-decoration: none; }
.lo-btn2:hover { filter: brightness(1.08); }
.lo-btn2 em { font-style: normal; font: 400 16px/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; width: 30px; height: 30px; display: grid; place-items: center; background: var(--lo-navy); border: 1px solid var(--lo-hi); flex: none; overflow: hidden; box-sizing: border-box; }   /* (same size square for every icon; emoji font so they all come out the same size) */
.lo-btn2 small { margin-left: auto; font-weight: 400; color: var(--lo-lime); }
.lo-btn2.pink { background: var(--lo-pink); border-color: #F29DC0 #8A2E57 #8A2E57 #F29DC0; } .lo-btn2.pink em { background: #8A2E57; border-color: #F29DC0; } .lo-btn2.pink small { color: #fff; }
.lo-btn2.lime { background: #C9DB4E; color: #2B2A5E !important; border-color: #F4FBC8 #7E8E1E #7E8E1E #F4FBC8; } .lo-btn2.lime em { background: #7E8E1E; border-color: #F4FBC8; } .lo-btn2.lime small { color: #2B2A5E; }
.lo .lo-feature { background: var(--lo-navy); border: 2px solid; border-color: var(--lo-tile) #000 #000 var(--lo-tile); color: #fff; display: flex; flex-direction: column; text-decoration: none; }
.lo-ph { position: relative; min-height: 210px; background: radial-gradient(circle at 30% 30%, #F29DC0, var(--lo-tile) 60%, var(--lo-navy)); display: grid; place-items: center; overflow: hidden; }
.lo-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lo-ph-t { position: relative; text-align: center; font: italic 700 34px/1.05 Georgia, serif; color: #fff; text-shadow: 2px 2px 0 var(--lo-navy); padding: 10px; }
.lo-ph-t small { display: block; font: 12px var(--lo-font); color: var(--lo-lime); letter-spacing: .3em; text-shadow: 1px 1px 0 var(--lo-navy); margin-top: 6px; }
.lo-feature p { margin: 0; padding: 10px 12px; font-size: 13px; line-height: 1.45; }
.lo-feature p b { color: var(--lo-lime); }
.lo-news, .lo-prog { background: #fff; border: 2px solid; border-color: var(--lo-line) #fff #fff var(--lo-line); padding: 9px 11px; font-size: 12.5px; line-height: 1.55; color: var(--lo-navy); }
.lo-news h2, .lo-prog h2 { margin: 0 0 4px; font: 700 13px var(--lo-font); letter-spacing: 0; color: var(--lo-pink); }
.lo-prog h2 { color: var(--lo-blue); margin-bottom: 6px; }
.lo-news ul { margin: 0; padding-left: 16px; }
.lo-prow { display: flex; justify-content: space-between; gap: 6px; margin: 5px 0 2px; }
.lo-pbar { height: 9px; border: 1px solid var(--lo-line); background: var(--lo-wb, #EEE8D5); }
.lo-pbar i { display: block; height: 100%; background: repeating-linear-gradient(90deg, var(--lo-blue) 0 6px, var(--lo-tile) 6px 8px); }

/* ---------- LISTS (orders, messages) ---------- */
.lo-list { display: grid; gap: 10px; }
.lo-item { background: #fff; border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; padding: 12px 14px; }
.lo-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lo-item-top b { font-size: 15px; }
.lo-tag { font: 700 11.5px var(--lo-font); padding: 2px 8px; background: #E3D0F4; color: var(--lo-navy); white-space: nowrap; }
.lo-tag.ship { background: #F4FBC8; color: #3E4A0C; } .lo-tag.done { background: #DDE6FF; } .lo-tag.off { background: #FFE3EE; color: #8A2E57; }
.lo-item ul { margin: 8px 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.lo-item .lo-bts { gap: 10px; margin-top: 8px; }
.lo-empty { text-align: center; padding: 24px 10px; color: #5E3F7A; }
.lo-empty em { font-style: normal; font-size: 40px; display: block; margin-bottom: 6px; }
.lo-tr { display: grid; gap: 8px; }
.lo-msg { max-width: 82%; padding: 8px 11px; font-size: 14px; line-height: 1.45; background: #fff; border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; overflow-wrap: anywhere; }
.lo-msg b { display: block; font-size: 11.5px; color: var(--lo-pink); margin-bottom: 2px; }
.lo-msg.me { justify-self: end; background: var(--lo-light, #E8E2F4); }
.lo-msg.me b { color: var(--lo-blue); }
.lo-msg time { display: block; font-size: 10.5px; color: #8A80AE; margin-top: 3px; }

/* ---------- MEMBER CARD ---------- */
.lo-card-wrap { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 18px; padding: 26px 16px; }
.lo-card { width: min(100%, 460px); aspect-ratio: 1.586; border-radius: 16px; padding: 20px 22px; position: relative; overflow: hidden; color: #2B2A5E;
           background: linear-gradient(115deg, #FFC9EC 0%, #CFE0FF 28%, #C9FFEA 50%, #FFF1BF 70%, #E3CCFF 100%); box-shadow: 8px 8px 0 rgba(43,42,94,.3); border: 2px solid #fff; }
.lo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 45%, transparent 60%); background-size: 250% 100%; animation: lo-holo 5s ease-in-out infinite; pointer-events: none; }
@keyframes lo-holo { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .lo-card::after { animation: none; } }
.lo-card-top { display: flex; justify-content: space-between; align-items: center; font: 700 11.5px var(--lo-font); letter-spacing: .22em; }
.lo-card-top .lh-emblem { width: 40px; height: 40px; color: var(--lo-pink); }
.lo-card h2 { font: 700 clamp(22px, 6vw, 32px) var(--display, Georgia), serif; margin: 10px 0 2px; letter-spacing: -.01em; }
.lo-card-sn { font: 700 clamp(14px, 4vw, 18px) "Courier New", monospace; overflow-wrap: anywhere; }
.lo-card-meta { font-size: clamp(10.5px, 2.8vw, 12.5px); margin-top: 3px; }
.lo-card-bc { position: absolute; left: 22px; right: 22px; bottom: 20px; height: 12%; }
.lo-card-bc svg { width: 100%; height: 100%; display: block; }
.lo-card-bct { position: absolute; right: 22px; bottom: 5px; font: 9.5px "Courier New", monospace; letter-spacing: .25em; }
.lo-card .lo-card-puffy { position: absolute; right: 18px; top: 34%; width: 22%; transform: rotate(8deg); }

/* ---------- PHONES ---------- */
@media (max-width: 860px) {
    .lo-wb { grid-template-columns: 1fr 1fr; }
    .lo-wb .lo-mid { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .lo { padding: 0 6px; margin-top: 8px; }
    .lo-tb { font-size: 13px; }
    .lo-wt .lo-x { display: none; }   /* (more room for the window title) */
    .lo-menu { font-size: 13px; gap: 0; padding: 2px 2px; }
    .lo-menu summary { padding: 3px 6px; }
    .lo-menu details:nth-child(n+4) > div { left: auto; right: 0; }
    /* Phones: every button fits on screen in even rows (no sideways scrolling) */
    .lo-tools { display: grid; grid-template-columns: repeat(var(--lo-cols, 6), minmax(0, 1fr)); gap: 2px; overflow: visible; padding: 4px; }
    .lo-tool { min-width: 0; font-size: 11px; padding: 4px 1px 3px; justify-content: flex-start; text-align: center; line-height: 1.15; }
    .lo-tool em { font-size: 21px; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
    .lo-tool small { display: none; }   /* (the little ▼ arrows: no room) */
    .lo-tool .lo-long { display: none; } .lo-tool .lo-short { display: inline; }
    .lo-grp { border-left: 0; }
    .lo-brand { display: none; }
    .lo-nav, .lo-find { display: none; }
    .lo-kw input { font-size: 16px; }   /* (16px stops iPhones from zooming in) */
    .lo-desk { padding: 12px 6px; min-height: 0; }
    .lo-sign { grid-template-columns: 1fr; min-height: 0; }
    .lo-side { flex-direction: row; padding: 10px 12px; gap: 12px; text-align: left; margin: 6px; }
    .lo-side-em { width: 52px; height: 52px; }
    .lo-l1 { margin-top: 0; font-size: 10px; letter-spacing: .3em; padding-left: 0; }
    .lo-l2 { font-size: 32px; }
    .lo-ver { margin: 0 0 0 auto; font-size: 11px; }
    .lo-side-puffy { width: 34px; }
    .lo-form { padding: 18px 16px 18px; }
    .lo-in, .lo-sel { max-width: none; }
    .lo-picks { grid-template-columns: 1fr; }
    .lo-bts { gap: 10px; }
    .lo-bts .lo-bt { flex: 1 1 auto; padding: 8px 10px; font-size: 13.5px; }
    .lo-conn { padding: 18px 8px; }
    .lo-cico { width: 64px; height: 64px; font-size: 30px; }
    .lo-cico svg { width: 50px; }
    .lo-cico .lh-emblem { width: 44px; height: 44px; }
    .lo-cstep { font-size: 11.5px; }
    .lo-wb { grid-template-columns: 1fr; padding: 8px; }
    .lo-ph { min-height: 160px; }
    .lo-msg { max-width: 92%; }
}

/* screen names keep their own capital letters on the Choose button */
.lo .lo-bt[data-lo-choose], .lo .lo-bt[data-choose] { text-transform: none; }

/* =====================================================================
   MEMBER CARD LEVELS + STICKERS (account/card.php, assets/js/member-card.js)
   Paper → Chrome → Holo → Gold. Holo is the original .lo-card look above.
   ===================================================================== */
.lo-card-bc { color: #2B2A5E; }
.lo-card-tier { display: inline-block; margin-top: 6px; font: 700 10px var(--lo-font); letter-spacing: .18em; text-transform: uppercase; padding: 2px 7px; border: 1.5px solid currentColor; border-radius: 3px; opacity: .85; }
.lo-card-sparkles { display: none; }
.lo-card.paper { background: #FBF6EA repeating-linear-gradient(0deg, rgba(0,0,0,.025) 0 1px, transparent 1px 3px); border-color: #E9DFC8; }
.lo-card.paper::after { display: none; }
.lo-card.paper .lo-card-top .lh-emblem { color: #B9A98A; }
.lo-card.chrome { background: linear-gradient(160deg, #FFFFFF 0%, #C9D1E0 30%, #8E99B0 48%, #EEF1F7 52%, #B6C0D2 78%, #7C879E 100%); }
.lo-card.chrome .lo-card-top .lh-emblem { color: #4A4F6A; }
.lo-card.gold { background: linear-gradient(135deg, #FFF6C2 0%, #F5CF5B 35%, #E8A93A 55%, #FFE89A 70%, #C98A1E 100%); border-color: #FFF3B0; color: #5A3D08; }
.lo-card.gold .lo-card-top .lh-emblem { color: #8A5A10; }
.lo-card.gold .lo-card-bc { color: #5A3D08; }
.lo-card.gold .lo-card-sparkles { display: block; }
.lo-card-sparkles i { position: absolute; font-style: normal; color: #fff; font-size: 14px; text-shadow: 0 0 6px #fff; animation: lo-twinkle 2.6s ease-in-out infinite; }
.lo-card-sparkles i:nth-child(2n) { animation-delay: 1.1s; }
@keyframes lo-twinkle { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.lo-card.lo-drop { outline: 3px dashed #fff; outline-offset: 4px; }
.lo-card.lo-shake { animation: lo-shake .4s; }
@keyframes lo-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .lo-card-sparkles i, .lo-card.lo-shake { animation: none; } }
/* stickers: a white die-cut edge + a little shadow, tilted */
.lo-card-stickers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lo-stk { position: absolute; transform: translate(-50%, -50%) rotate(var(--r, 0deg)); padding: 0; border: 0; background: none; cursor: grab; pointer-events: auto; touch-action: none; line-height: 1;
          filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(2px 3px 2px rgba(0,0,0,.25)); }
.lo-stk:focus-visible { outline: 2px dashed #fff; }
.lo-stk-emoji { font: 400 clamp(22px, 6.5vw, 32px)/1 "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; display: block; }
.lo-stk svg { width: clamp(40px, 11vw, 58px); display: block; }
.lo-stk-ghost { position: fixed; z-index: 200; pointer-events: none; opacity: 0; --r: -6deg; }
/* the sticker sheet */
.lo-tray { width: min(100%, 560px); max-width: 100%; box-sizing: border-box; overflow: hidden; background: #fff; border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; padding: 12px 14px 14px; }
.lo-tray h2 { margin: 0 0 4px; font: 700 15px var(--lo-font); color: var(--lo-navy); letter-spacing: 0; }
.lo-tray h2 small { font-weight: 400; color: #6F6496; }
.lo-tray .lo-hint { margin: 0 0 10px; }
.lo-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; }
.lo-sheet > * { min-width: 0; }   /* (the tiles never push the sheet wider than its box) */
.lo-stk-tile { aspect-ratio: 1; width: 100%; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; overflow: hidden; background: #FCF9EE; border: 2px dashed #C9AEE6; cursor: grab; touch-action: none; font-size: 26px; line-height: 1; -webkit-appearance: none; appearance: none; color: inherit; }
.lo-stk-tile .lo-stk-emoji { font-size: 28px; line-height: 1; height: 1em; display: flex; align-items: center; justify-content: center; }   /* (centered top to bottom in Safari too) */
.lo-stk-tile svg { width: 82%; height: auto; max-width: 100%; display: block; }
.lo-stk-tile.on { border-style: solid; border-color: var(--lo-tile); background: #EEF0FF; }
.lo-stk-tile.lock { cursor: default; color: #C9AEE6; font: 700 15px var(--lo-font); }
.lo-stk-tile:focus-visible { outline: 2px solid var(--lo-tile); }
.lo-card-next { margin: -6px 0 0; text-align: center; }
.lo-card, .lo-tray { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }   /* (dragging stickers shouldn't select text) */
@media (max-width: 640px) {   /* the card on phones: everything a size down so nothing overlaps the barcode */
    .lo-card { padding: 13px 15px; border-radius: 12px; }
    .lo-card-top { font-size: 8.5px; }
    .lo-card-top .lh-emblem { width: 28px; height: 28px; }
    .lo-card h2 { font-size: 20px; margin: 2px 0 0; }
    .lo-card-sn { font-size: 13px; }
    .lo-card-meta { font-size: 10px; margin-top: 1px; }
    .lo-card-tier { font-size: 8px; margin-top: 3px; padding: 1px 5px; }
    .lo-card-bc { left: 15px; right: 15px; bottom: 15px; height: 10%; }
    .lo-card-bct { right: 15px; bottom: 3px; font-size: 7.5px; }
    .lo-sheet { grid-template-columns: repeat(5, 1fr); }
}
.lo-reward { background: #fff; border: 2px solid; border-color: var(--lo-line) #fff #fff var(--lo-line); padding: 9px 11px; font-size: 12.5px; line-height: 1.5; color: var(--lo-navy); }
.lo-reward h2 { margin: 0 0 4px; font: 700 13px var(--lo-font); letter-spacing: 0; color: var(--lo-pink); }
.lo-reward p { margin: 0 0 6px; }
.lo-reward p:last-child { margin-bottom: 0; }
.lo-reward .lo-bt { margin-top: 4px; }

/* ---------- The Member Hour box (Welcome screen, middle) ---------- */
.lo .lo-mh .lo-ph { min-height: 150px; }
.lo-mh-cd { display: flex; gap: 6px; justify-content: center; padding: 12px 10px 2px; }
.lo-mh-cd span { background: #000; padding: 8px 9px 6px; min-width: 46px; text-align: center; }
.lo-mh-cd b { display: block; font: 700 22px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--lo-lime); }
.lo-mh-cd small { display: block; font: 10px var(--lo-font); color: #F29DC0; margin-top: 4px; letter-spacing: .1em; }

/* ---------- My Settings > Email: the on/off switches ---------- */
.lo-switch { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px dashed #C9B8DD; cursor: pointer; }
.lo-switch:first-of-type { border-top: 0; }
.lo-switch b { display: block; font-size: 14px; }
.lo-switch small { display: block; font-size: 12.5px; color: #6A5F86; line-height: 1.45; margin-top: 2px; }
.lo-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lo-tg { flex: none; width: 44px; height: 24px; border: 2px solid; border-color: #7B6A9B #fff #fff #7B6A9B; background: #E9E3F1; position: relative; margin-top: 0; }
.lo-tg i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: #C9C1D6; border: 2px solid; border-color: #fff #5E3F7A #5E3F7A #fff; transition: left .15s; }
.lo-switch input:checked + .lo-tg { background: var(--lo-lime); }
.lo-switch input:checked + .lo-tg i { left: 22px; background: #F29DC0; }
.lo-switch input:focus-visible + .lo-tg { outline: 2px solid var(--lo-pink); outline-offset: 2px; }
.lo-switch input:disabled + .lo-tg { opacity: .55; }
.lo-switch.is-loading small::after { content: " Checking…"; font-style: italic; }
@media (prefers-reduced-motion: reduce) { .lo-tg i { transition: none; } }

/* =====================================================================
   SKINS (each tap on 🎨 at the right end of the menu bar = the next one; saved as
   lh_lo_skin, follows their account). Same names as the Hotbox colors.
   Each one just swaps the colors at the top of this file.
   ===================================================================== */
.lo-skin-btn { flex: none; align-self: center; margin-left: auto; width: 30px; height: 24px; padding: 0; border: 2px solid; border-color: #fff var(--lo-line) var(--lo-line) #fff; background: #E3D0F4; font: 15px/1 var(--lo-font); cursor: pointer; }
.lo-skin-btn:active { border-color: var(--lo-line) #fff #fff var(--lo-line); }
.lo[data-lo-skin="lunar"] { --lo-navy: #3A2650; --lo-blue: #5E3F7A; --lo-tile: #8E6BB8; --lo-hi: #C9AEE6; --lo-line: #7A6496; --lo-gray: #EDE3F7; --lo-desk: #CDB8E3;
    --lo-pink: #D65B8C; --lo-lime: #E1F66B; --lo-bar0: #3A2650; --lo-tool1: #7A5AA0; --lo-light: #F1E6FA; --lo-wb: #F7F0FB; }
.lo[data-lo-skin="bubblegum"] { --lo-navy: #8A2350; --lo-blue: #C2407E; --lo-tile: #E86FA6; --lo-hi: #FFB6D5; --lo-line: #A0567A; --lo-gray: #FFE3F0; --lo-desk: #F7C3DA;
    --lo-pink: #B0245E; --lo-lime: #FFF3A8; --lo-bar0: #8A2350; --lo-tool1: #D9578F; --lo-light: #FFE9F3; --lo-wb: #FFF3F8; }
.lo[data-lo-skin="slime"] { --lo-navy: #1E4A1B; --lo-blue: #2E6B2A; --lo-tile: #4F9A3A; --lo-hi: #8FD16A; --lo-line: #5C7A4E; --lo-gray: #E3F2D0; --lo-desk: #BFD9A6;
    --lo-pink: #B3243B; --lo-lime: #E1F66B; --lo-bar0: #1E4A1B; --lo-tool1: #3F8A33; --lo-light: #EEF9DD; --lo-wb: #F7FCEC; }
.lo[data-lo-skin="sunset"] { --lo-navy: #7A2A1E; --lo-blue: #C24A33; --lo-tile: #E8774F; --lo-hi: #FFB38A; --lo-line: #A0604A; --lo-gray: #FFE6D6; --lo-desk: #F5C2A0;
    --lo-pink: #C2407E; --lo-lime: #FFD166; --lo-bar0: #7A2A1E; --lo-tool1: #DA6040; --lo-light: #FFF0E4; --lo-wb: #FFF8F0; }
/* Emo Phase: the dark one (also flips the light boxes to dark) */
.lo[data-lo-skin="emo"] { --lo-navy: #0E0E0E; --lo-blue: #262626; --lo-tile: #3A3A3A; --lo-hi: #6A6A6A; --lo-line: #555555; --lo-gray: #232323; --lo-desk: #141414;
    --lo-paper: #1E1E1E; --lo-ink: #E8E8E8; --lo-pink: #FF4F9A; --lo-lime: #9BE34A; --lo-bar0: #000000; --lo-tool1: #333333; --lo-light: #2A2A2A; --lo-wb: #181818; color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-menu, .lo[data-lo-skin="emo"] .lo-menu summary, .lo[data-lo-skin="emo"] .lo-kw, .lo[data-lo-skin="emo"] .lo-status, .lo[data-lo-skin="emo"] .lo-hint,
.lo[data-lo-skin="emo"] .lo-mail small, .lo[data-lo-skin="emo"] .lo-empty, .lo[data-lo-skin="emo"] .lo-switch small, .lo[data-lo-skin="emo"] .lo-tray h2 small { color: #CFCFCF; }
.lo[data-lo-skin="emo"] .lo-menu details > div { background: #222; color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-news, .lo[data-lo-skin="emo"] .lo-prog, .lo[data-lo-skin="emo"] .lo-item, .lo[data-lo-skin="emo"] .lo-body, .lo[data-lo-skin="emo"] .lo-in,
.lo[data-lo-skin="emo"] .lo-msg, .lo[data-lo-skin="emo"] .lo-tray { background: #1E1E1E; color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-news h2, .lo[data-lo-skin="emo"] .lo-prog h2 { color: #FF4F9A; }
.lo[data-lo-skin="emo"] .lo-mail, .lo[data-lo-skin="emo"] .lo-reward { background: #262626; color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-tag { background: #333; color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-btn2.lime { color: #111 !important; }
.lo[data-lo-skin] .lo-kwb { background: var(--lo-tile); border-color: var(--lo-hi) var(--lo-navy) var(--lo-navy) var(--lo-hi); }
.lo[data-lo-skin="emo"] .lo-find, .lo[data-lo-skin="emo"] .lo-skin-btn, .lo[data-lo-skin="emo"] .lo-x i, .lo[data-lo-skin="emo"] .lo-x a { background: #3A3A3A; color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-kw-msg { background: #2A2A2A; color: #9BE34A; }
button.lo-btn2 { width: 100%; cursor: pointer; text-align: left; }   /* (The Lounge "soon" button on the Welcome screen) */

/* ---------- 📬 Mail (account/mail.php, includes/member-inbox.php) ----------
   Computers: folders | letters | the open letter. Phones: folder tabs + the list,
   and an open letter gets the whole window (◀ back). */
.mc { display: grid; grid-template-columns: 170px minmax(0, 320px) minmax(0, 1fr); min-height: 780px; height: max(780px, calc(100vh - 140px)); height: max(780px, calc(100dvh - 140px)); background: #fff; font: 14px/1.45 "Courier Prime", "Courier New", monospace; color: #2B2A5E; }
.mc-fold { background: #EEEAFB; border-right: 2px solid #C9C2EA; padding: 10px 6px; display: grid; align-content: start; gap: 2px; }
.mc-fold a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; color: #2B2A5E !important; text-decoration: none; font-weight: 700; font-size: 13.5px; }
.mc-fold a:hover { background: #E1DAF7; }
.mc-fold a.on { background: #5254B8; color: #fff !important; }
.mc-fold a b { margin-left: auto; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 9px; background: #D65B8C; color: #fff; font-size: 11px; display: grid; place-items: center; }
.mc-fold em, .mc-it .ic { font-style: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.mc-fold .sep { height: 1px; background: #C9C2EA; margin: 6px 4px; }
.mc-list { position: relative; border-right: 2px solid #C9C2EA; min-width: 0; overflow-y: auto; overscroll-behavior: contain; }   /* (the letters scroll inside the window, not the whole page) */
.mc-list .mc-hd { position: sticky; top: 0; z-index: 1; }
.mc-fold { overflow-y: auto; }
.mc-hd { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; background: #F6F1FC; border-bottom: 2px solid #E3D0F4; font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #45489E; }
.mc-it { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 2px 8px; padding: 9px 10px; border-bottom: 1px dashed #E3D0F4; color: #2B2A5E !important; text-decoration: none; }
.mc-it:hover { background: #FBF8FF; }
.mc-it .ic { grid-row: span 2; font-size: 20px; line-height: 1.2; position: relative; }
.mc-it .fr { font-size: 12.5px; color: #6F6496; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mc-it .dt { font-size: 11.5px; color: #8A89A6; }
.mc-it .sub { grid-column: 2 / -1; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mc-it.unread .sub, .mc-it.unread .fr { font-weight: 700; color: #22246B; }
.mc-it.unread .ic::after { content: ""; position: absolute; top: 0; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: #D65B8C; }
.mc-it.on { background: #FFF6D6; box-shadow: inset 4px 0 0 #E1F66B; }
.mc-empty, .mc-small { color: #8A89A6; font-size: 13px; } .mc-empty { padding: 16px 12px; margin: 0; }
.mc-older { display: block; width: calc(100% - 20px); margin: 12px 10px 14px; }   /* 📜 Show older letters, under the list */
.mc-older small { font-size: 12px; opacity: .75; }
.mc-it[hidden] { display: none; }
.mc-allread { display: contents; }   /* "✓ Read all": sits next to Write to Puffy at the top of the list */
.mc-read { padding: 16px 20px; display: grid; align-content: start; gap: 12px; min-width: 0; overflow-y: auto; overscroll-behavior: contain; }
.mc-read p { margin: 0; }
.mc-body { display: grid; gap: 10px; }
.mc-pick { text-align: center; padding: 60px 10px; color: #6F6496; display: grid; gap: 6px; }
.mc-back { display: none; }
.mc-meta { border-bottom: 2px solid #E3D0F4; padding-bottom: 10px; font-size: 13px; color: #6F6496; }
.mc-meta h2 { margin: 0 0 6px; font: 700 19px/1.3 "Courier Prime", monospace; color: #22246B; }
.mc-line { font-size: 20px; font-weight: 700; color: #22246B; }
.mc-code { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border: 2px dashed #5254B8; background: #F3EEFB; }
.mc-code b { font-size: 22px; letter-spacing: .12em; color: #22246B; word-break: break-all; }
.mc-bt { display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; height: 40px; padding: 0 14px; line-height: 1; border: 2px solid #2B2A5E; background: #E1F66B; color: #2B2A5E !important; font: 700 13px "Courier Prime", monospace; box-shadow: 2px 2px 0 #2B2A5E; text-decoration: none; cursor: pointer; }
.mc-bt.ghost { background: #fff; box-shadow: none; }
.mc-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mc-keep { margin-top: 6px; padding-top: 12px; border-top: 1px dashed #E3D0F4; }
.mc-req.done { color: #6F6496; font-weight: 700; }
.mc-items { margin: 0; padding-left: 20px; }
.mc .lo-msg { max-width: 92%; }
@media (max-width: 760px) {
  .mc { grid-template-columns: minmax(0, 1fr); min-height: 0; height: auto; }   /* (phones: the page scrolls like normal) */
  .mc-list, .mc-read, .mc-fold { overflow-y: visible; }
  /* Phones: folders as a grid of tiles (no sideways scrolling, every folder in view) */
  .mc-fold { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; border-right: 0; border-bottom: 2px solid #C9C2EA; padding: 6px; }
  .mc-fold .sep { display: none; }
  .mc-fold a { position: relative; flex-direction: column; justify-content: center; gap: 2px; min-height: 48px; padding: 5px 2px; font-size: 12px; text-align: center; border: 1px solid #DCD5F3; background: #F7F4FE; overflow-wrap: anywhere; }
  .mc-fold a em { font-size: 19px; line-height: 1; }
  .mc-fold a b { position: absolute; top: 3px; right: 3px; margin: 0; height: 16px; min-width: 16px; font-size: 10px; }
  .mc-list { border-right: 0; }
  .mc:not(.is-open) .mc-read { display: none; }
  .mc.is-open .mc-fold, .mc.is-open .mc-list { display: none; }
  .mc-read { padding: 12px 14px 16px; }
  .mc-back { display: inline-block; font: 700 13px "Courier Prime", monospace; color: #5254B8; text-decoration: none; }
  .mc-back-end { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; border: 2px solid #C9C2EA; background: #F7F4FE; }   /* (the one at the bottom of a letter) */
  .mc-meta h2 { font-size: 17px; }
}
.mc-sig { color: #6F6496; }

.mc-bt[disabled] { opacity: .6; cursor: default; box-shadow: none; }
/* Order letters in Mail (same words as the order emails) */
.mc-kick { font-size: 11.5px !important; letter-spacing: .14em; text-transform: uppercase; color: #8A89A6; }
.mc-box { display: grid; gap: 6px; padding: 12px 14px; border: 2px solid #E3D0F4; background: #FBF8FF; }
.mc-box > b { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: #45489E; }
.mc-box .mc-items { list-style: none; padding: 0; display: grid; gap: 6px; }
.mc-box .mc-items li { display: flex; justify-content: space-between; gap: 10px; }
.mc-box .mc-items small { display: block; color: #8A89A6; font-size: 12px; }
.mc-tot { border-top: 2px dotted #C9AEE6; padding-top: 6px; display: grid; gap: 2px; font-size: 13.5px; }
.mc-tot p { display: flex; justify-content: space-between; gap: 10px; } .mc-tot .all { font-weight: 700; font-size: 15px; padding-top: 4px; }
.mc-term { padding: 12px 14px; background: #15132B; border: 2px solid #5E5A8A; color: #E1F66B; font-size: 13px; line-height: 1.8 !important; }
.mc-term .w { color: #fff; } .mc-term .p { color: #F29DC0; }
.mc-gift { padding: 10px 12px; border: 2px dashed #D65B8C; background: #FDF1F6; font-size: 13px; }
.mc-sign { padding-top: 12px; border-top: 2px dotted #C9AEE6; text-align: center; font-style: italic; color: #5E3F7A; }

/* Long Hotbox chats in Mail: scroll inside the box, buttons stay visible underneath */
.mc-chat { max-height: min(56vh, 520px); overflow-y: auto; padding: 10px 12px; border: 2px solid #E3D0F4; background: #FBF8FF; overscroll-behavior: contain; }
@media (max-width: 760px) { .mc-chat { max-height: 58vh; padding: 8px; } }

/* Puffy's signature in his letters (account/mail.php): glitter executive */
.pf-sig { margin-top: 4px; padding-top: 12px; border-top: 1px dashed #C9C2EA; display: grid; gap: 2px; }
.pf-sig-nm { justify-self: start; font: 700 22px/1.2 "Comic Sans MS", "Chalkboard SE", "Comic Neue", cursive; background: linear-gradient(90deg, #FF8FD0, #9FF3FF, #D9C2FF, #FFE79A, #FF8FD0); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pf-sig-sh 3s linear infinite; }
@keyframes pf-sig-sh { to { background-position: 300% 0; } }
.pf-sig-ttl { color: #B48CFF; font-weight: 700; font-size: 13px; }
.pf-sig-cp, .pf-sig-eco, .pf-sig-leg { font-family: Arial, Helvetica, sans-serif; }
.pf-sig-cp { font-size: 12.5px; color: #555; }
.pf-sig-dv { color: #F29DC0; letter-spacing: 1px; font-size: 13px; margin-top: 4px; }
.pf-sig-q { color: #B48CFF; font-style: italic; font-size: 13px; }
.pf-sig-eco { color: #4F9A3A; font-size: 11px; margin-top: 6px; }
.pf-sig-leg { color: #999; font-size: 9.5px; line-height: 1.4; }
@media (prefers-reduced-motion: reduce) { .pf-sig-nm { animation: none; } }

/* ✏️ Write to Puffy (account/mail.php, includes/member-puffy-write.php) */
.mc-pwbar { padding: 10px; border-bottom: 1px dashed #E3D0F4; }
.mc-pwok, .mc-typing { margin: 0; padding: 8px 12px; font-size: 12.5px; border-bottom: 1px dashed #E3D0F4; }
.mc-pwok { background: #F1FBF6; color: #1E6B4E; font-weight: 700; } .mc-typing { color: #8A89A6; font-style: italic; }
.mc-pw { display: grid; gap: 12px; }
.mc-pw label { display: grid; gap: 4px; font-weight: 700; font-size: 13px; }
.mc-pw input, .mc-pw textarea { font: 14px/1.5 "Courier Prime", "Courier New", monospace; padding: 8px 10px; border: 2px solid; border-color: #9C9FE8 #fff #fff #9C9FE8; background: #fff; color: #2B2A5E; box-sizing: border-box; width: 100%; }
.mc-pw input { font-size: 16px; } .mc-pw textarea { min-height: 200px; resize: vertical; font-size: 16px; }   /* (16px: iPhones don't zoom in) */
.mc-pwerr { padding: 8px 12px; background: #FDECEC; color: #9B2C2C; font-weight: 700; }
.mc-pwme { padding: 10px 12px; background: #EEF0FC; border: 2px solid #C9C2EA; white-space: normal; overflow-wrap: anywhere; }
.mc-pwme b { display: block; font-size: 11.5px; color: #5254B8; margin-bottom: 4px; }
.mc-pwhelp { padding: 12px 14px; border: 2px solid #9FD8C4; background: #F1FBF6; }
.mc-pwhelp a { color: #1E6B4E; font-weight: 700; }

.mc-it.mc-arrive { animation: mc-arrive 1.6s ease-out; } @keyframes mc-arrive { 0%, 30% { background: #FFF1A8; } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .mc-it.mc-arrive { animation: none; background: #FFF6D6; } }

/* Puffy's P.S. under his signature (account/mail.php) */
.mc-ps { margin: 14px 0 0 !important; font-style: italic; color: #5E3F7A; }
/* Photos they sent on Hotbox (Mail > Hotbox) */
.mc-photo { display: block; max-width: min(240px, 100%); max-height: 280px; margin: 4px 0; border: 2px solid #fff; box-shadow: 0 0 0 1px #C9C2EA; object-fit: cover; }

.mc-beta { margin-bottom: 6px; padding: 8px 10px; background: #F6F1FC; border: 1px dashed #C9AEE6; color: #5E3F7A; }
.mc-beta b { color: #45489E; }

/* ---------- 📦 Time capsule (account/mail.php + includes/time-capsule.php) ---------- */
.mc-pwbar { display: flex; gap: 8px; flex-wrap: wrap; }
.tc-write h2, .tc-sealed h2 { margin: 0 0 4px; font: 700 20px Georgia, serif; color: #22246B; }
.tc-sub { margin: 0 0 12px; color: #6F6496; font-size: 13px; }
.tc-paper { display: block; box-sizing: border-box; width: 100%; min-height: 190px; margin: 0; padding: 0 16px; border: 1px solid #C9B8F0; background: #FFFDF4 repeating-linear-gradient(transparent 0 25px, #E6E0F5 25px 26px); background-attachment: local; box-shadow: 3px 3px 0 rgba(43,42,94,.15);
            color: #2B2A5E; font: 14px/26px "Courier Prime", monospace; resize: vertical; }
textarea.tc-paper { padding-top: 0; }
.tc-paper:focus { outline: 2px solid #C9B8F0; outline-offset: 2px; }
.tc-read { min-height: 0; padding: 0 16px 26px; white-space: normal; }
.tc-when { display: grid; gap: 8px; margin: 16px 0 14px; font-size: 13px; color: #2B2A5E; }
.tc-when input[type=date] { max-width: 220px; height: 40px; padding: 0 10px; border: 2px solid #2B2A5E; background: #fff; font: 14px "Courier Prime", monospace; color: #2B2A5E; }
.tc-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.tc-quick .mc-bt { height: 32px; padding: 0 10px; font-size: 12px; }
.tc-moon { display: flex; align-items: center; gap: 8px; }
.tc-moon input { accent-color: #5B3FA8; width: 16px; height: 16px; }
.tc-tag { display: inline-block; margin: 12px 0 6px; padding: 2px 8px; background: #E1F66B; border: 1px solid #2B2A5E; color: #2B2A5E; font: 700 12px "Courier Prime", monospace; letter-spacing: .04em; }
.tc-ps { margin-top: 10px; }
/* The sealed envelope: one flap, a wax seal pressed with the Lunar Haze emblem */
.tc-sealed { padding: 6px 0 4px; text-align: center; color: #2B2A5E; }
.tc-env { position: relative; width: min(310px, 92%); height: 190px; margin: 14px auto 34px; background: #FBF4E4 radial-gradient(rgba(91,63,168,.05) 1px, transparent 1.4px) 0 0 / 6px 6px; border: 2px solid #2B2A5E; border-radius: 4px; transform: rotate(-2deg); box-shadow: 4px 5px 0 rgba(43,42,94,.2); overflow: hidden; }
.tc-flap { position: absolute; left: 0; right: 0; top: 0; height: 62%; background: linear-gradient(#FDF8EC, #F6ECD6); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.tc-fl { position: absolute; inset: 0; width: 100%; height: 62%; }
.tc-dno { position: absolute; left: 50%; top: 12px; padding: 3px 7px; border: 2px solid #D2508F; color: #D2508F; font: 700 10px/1.2 "Courier Prime", monospace; letter-spacing: .06em; text-align: left; transform: translateX(-50%) rotate(-3deg); white-space: nowrap; }
.tc-wax { position: absolute; left: 50%; top: 62%; width: 62px; height: 62px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50% 46% 52% 48% / 48% 52% 46% 50%;
          background: radial-gradient(circle at 34% 30%, #F48BBE, #D2508F 55%, #A8336E); box-shadow: 0 2px 0 #7E2353, inset 0 0 0 4px rgba(126,35,83,.35), inset 0 0 0 7px rgba(255,190,220,.25); }
.tc-wax .lh-emblem { width: 38px; height: 38px; color: #7E2353; opacity: .85; filter: drop-shadow(0 1px 0 rgba(255,210,230,.6)); }
.tc-zp { margin: 0; font-size: 13px; line-height: 1.5; color: #6F6496; }
.tc-opens { display: inline-block; margin: 14px 0 6px; padding: 6px 12px; background: #2B2A5E; color: #E1F66B; font: 700 14px "Courier Prime", monospace; letter-spacing: .08em; }
.tc-again { justify-content: center; margin-top: 18px !important; }
/* 📦 Time capsule link under the folders: lighter than a folder (it's a little extra) */
.mc-fold a.mc-tclink { font-weight: 400; font-size: 12.5px; color: #6F6496 !important; }
.mc-fold a.mc-tclink.on { color: #fff !important; }
@media (max-width: 760px) { .mc-fold a.mc-tclink { grid-column: 1 / -1; flex-direction: row; min-height: 34px; background: transparent; border-style: dashed; } }

/* Mail: room between the buttons and the small print under them (Seal it, Send to Puffy) */
.mc-read .mc-acts + .mc-small, .mc-read .mc-acts + .mc-beta { margin-top: 16px; }
/* Mail opens letters in place: a soft fade while the next one loads */
.mc.mc-loading .mc-read, .mc.mc-loading .mc-list { opacity: .55; transition: opacity .15s; }

/* ===== Emo Phase, all Lunar Haze Online pages (Nov 4 2026 check of every page in every skin) ===== */
.lo[data-lo-skin="emo"] .lo-menu-who { color: #A8A8A8; border-bottom-color: #3A3A3A; }
.lo[data-lo-skin="emo"] .lo-body :is(label, h2, h3, h4, summary, legend):not(.lo-card *), .lo[data-lo-skin="emo"] .lo-tray h2 { color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-body label small:not(.lo-card *), .lo[data-lo-skin="emo"] .lo-body .lo-f small { color: #B5B5B5; }
.lo[data-lo-skin="emo"] .lo-link, .lo[data-lo-skin="emo"] .lo-body a:not([class]) { color: #FF6FAE; }
.lo[data-lo-skin="emo"] .lo-bt.pink, .lo[data-lo-skin="emo"] .lo-btn2.pink { background: #D42A73; }   /* (a deeper pink: white text reads on it) */

/* Bubblegum, Sunset + Slime: the bright tile color was a little light behind white and yellow text (buttons, "Member since", "new!").
   One shade deeper, same look. */
.lo[data-lo-skin="bubblegum"] { --lo-tile: #D44E8C; }
.lo[data-lo-skin="sunset"] { --lo-tile: #C24E28; }
.lo[data-lo-skin="slime"] { --lo-tile: #3E8530; }
/* Emo: form labels everywhere (Sign On, Setup, Forgot, Settings...) were black on dark */
.lo[data-lo-skin="emo"] :is(.lo-f label, .lo-lab) { color: #E8E8E8; }
.lo[data-lo-skin="emo"] .lo-f label small { color: #B5B5B5; }
