.start-menu{max-height:calc(100vh - var(--taskbar-h) - 8px);overflow-y:auto;overflow-x:visible}
.start-menu{min-height:min(390px,calc(100vh - var(--taskbar-h) - 8px))}
.start-items{display:flex;flex-direction:column;min-height:0}
.start-items>#auth-menu-item{margin-top:auto}
.submenu{position:fixed;left:0;top:0;bottom:auto;width:min(250px,calc(100vw - 8px));max-height:calc(100vh - var(--taskbar-h) - 8px);overflow:auto;overscroll-behavior:contain}
.context-menu{min-width:min(190px,calc(100vw - 8px));max-width:calc(100vw - 8px);max-height:calc(100vh - var(--taskbar-h) - 8px);overflow:auto;overscroll-behavior:contain}
body[data-theme-style=y2k] .start-menu{overflow-y:auto;overflow-x:visible;backdrop-filter:none}
@media(max-width:720px){.start-menu{left:4px;right:4px;width:auto;overflow:auto}.submenu{position:static;left:auto;top:auto;bottom:auto;width:100%;max-height:none;overflow:visible}}
.app-window{container-name:app-window;container-type:inline-size}
@container app-window (max-width:760px){
  .hero,.desk,.markdown-split,.appearance-previews,.diff-columns,.map-grid{grid-template-columns:minmax(0,1fr)}
  .desk{height:auto;min-height:100%}
  .desk-list{max-height:180px}
  .form-grid{grid-template-columns:minmax(0,1fr)}
  .form-grid label{padding:0}
  .wide{grid-column:auto}
  .markdown-split .editor-area,.markdown-split .preview-pane{min-height:220px;max-height:none}
  .mobile-frame{max-width:none}
  .theme-review-row{grid-template-columns:minmax(0,1fr)}
  .theme-mini{width:100%}
  .panelgrid,.article-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container app-window (max-width:520px){
  .panelgrid,.article-list{grid-template-columns:minmax(0,1fr)}
  .file-properties dl,.floor-data-panel dl{grid-template-columns:minmax(0,1fr)}
  .floor-data-panel dt{margin-top:5px}
  .revision-row{flex-wrap:wrap}
}
#shortcuts{position:absolute;inset:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));grid-template-rows:none;grid-auto-columns:auto;grid-auto-rows:88px;grid-auto-flow:row;align-content:start;gap:4px;width:auto;height:auto;padding:12px;overflow:auto;overscroll-behavior:contain}
#shortcuts .desktop-icon{width:100%;max-width:94px;min-width:0;justify-self:center}
@media(max-width:720px){#shortcuts{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));padding:8px}}
body.compact-icons #shortcuts{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));grid-template-rows:none;grid-auto-columns:auto;grid-auto-rows:70px;gap:3px;padding:8px}
body.compact-icons #shortcuts .desktop-icon{width:100%;max-width:78px;height:67px}
#shortcuts.icons-column-arranged{grid-template-columns:none;grid-template-rows:repeat(auto-fill,88px);grid-auto-flow:column;grid-auto-columns:100px;align-content:start;width:max-content;height:100%;overflow-x:auto;overflow-y:hidden}
body.compact-icons #shortcuts.icons-column-arranged{grid-template-rows:repeat(auto-fill,70px);grid-auto-columns:82px}
@media(max-width:720px){#shortcuts.icons-column-arranged,body.compact-icons #shortcuts.icons-column-arranged{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));grid-template-rows:none;grid-auto-flow:row;grid-auto-columns:auto;grid-auto-rows:88px;width:auto;height:auto;overflow-x:hidden;overflow-y:auto}}
@media(max-width:720px){body.compact-icons #shortcuts.icons-column-arranged{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));grid-auto-rows:70px}}
@media(max-width:720px) and (pointer:coarse){#shortcuts .desktop-icon{touch-action:manipulation;-webkit-tap-highlight-color:transparent}}

.app-switcher-button,.app-switcher{display:none}
.task-main{display:flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.15}
.task-main .task-icon{flex:0 0 auto}
.task-main .task-label{display:block;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.task-items.compact{gap:3px}
.task-items.compact .task-entry{flex:0 0 62px;min-width:62px;max-width:62px;height:32px;align-self:center;overflow:hidden}
.task-items.compact .task-main{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;padding:2px 3px;white-space:nowrap}
.task-items.compact .task-main .task-label{display:none}
.task-items.compact .task-main .task-icon{font-size:16px;line-height:1}
@media(max-width:720px){
  :root{--taskbar-h:56px}
  .taskbar{height:var(--taskbar-h);gap:4px;padding:4px}
  .start-button,.app-switcher-button{height:44px;min-height:44px;flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:4px}
  .start-button{min-width:58px;padding:4px}
  .app-switcher-button{min-width:68px;padding:4px 8px}
  #task-items{display:none}
  .tray{min-height:44px;padding:4px 7px;margin-left:auto}
  .app-window .titlebar{min-height:56px;padding:4px 6px}
  .window-controls{gap:3px;align-self:stretch}
  .app-window .winbtn{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;font-size:18px;line-height:1}
  body[data-theme-style=y2k] .app-window .winbtn{font-size:0}
  body[data-theme-style=y2k] .app-window .winbtn::after{transform:none}
  body[data-theme-style=y2k] .app-window .winbtn:hover::after,
  body[data-theme-style=y2k] .app-window .winbtn:focus-visible::after{transform:scale(1.08)}
  .app-switcher{position:fixed;z-index:9600;left:6px;bottom:calc(var(--taskbar-h) + 6px);width:min(380px,calc(100vw - 12px));max-height:calc(100vh - var(--taskbar-h) - 12px);max-height:calc(100dvh - var(--taskbar-h) - 12px);overflow:auto;overscroll-behavior:contain;padding:5px;background:var(--silver);color:#111;border:3px outset #eee;box-shadow:5px 5px #0008}
  .app-switcher [role=menuitem]{display:grid;width:100%;min-height:48px;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 9px;text-align:left;border:0;border-bottom:1px solid #777;white-space:normal}
  .app-switcher [role=menuitem]:last-child{border-bottom:0}
  .app-switcher [role=menuitem][aria-current=true]{background:#000080;color:#fff}
  .app-switcher [role=menuitem]:focus-visible{outline:3px dotted currentColor;outline-offset:-4px}
  .app-switcher-icon{font-size:22px;text-align:center}
  .app-switcher-name{min-width:0;overflow-wrap:anywhere;font-weight:bold}
  .app-switcher small{font-size:11px;white-space:nowrap;opacity:.85}
  .app-switcher-empty{margin:0;padding:10px}
  body[data-theme-style=chrome] .app-switcher{background:linear-gradient(140deg,#dce8ef,#8794a4 45%,#303a49);border:2px solid #dffbff;color:#101923}
  body[data-theme-style=chrome] .app-switcher [role=menuitem]{border-bottom-color:#5b6878;background:#e9f3f5;color:#17202a}
  body[data-theme-style=chrome] .app-switcher [role=menuitem][aria-current=true]{background:#26384a;color:#fff;box-shadow:inset 3px 0 #60efff}
  body[data-theme-style=y2k] .app-switcher{background:#ffd9efee;border:1px solid #fff;border-radius:15px;box-shadow:0 8px 22px #7652c766;backdrop-filter:blur(12px)}
  body[data-theme-style=y2k] .app-switcher [role=menuitem]{border-radius:9px;border-bottom-color:#d49abd;color:#573762}
  body[data-theme-style=y2k] .app-switcher [role=menuitem][aria-current=true]{background:linear-gradient(90deg,#7652c7,#ff52ae);color:#fff}
}

.auralith-window .window-content{padding:0;background:#030706}.auralith-terminal{height:100%;display:grid;grid-template-rows:auto 1fr auto auto auto;background:#030706;color:#9dff9d;font:13px/1.25 "Courier New",monospace}.auralith-terminal>header,.auralith-terminal>footer{padding:6px 9px;background:#09110d;border-bottom:1px solid #3d8051;color:#d2ffd1}.auralith-terminal>footer{border-top:1px solid #3d8051;border-bottom:0;font-size:10px}.auralith-screen{display:grid;grid-template-columns:minmax(0,1fr) 220px;min-height:0}.auralith-screen pre{margin:0;padding:8px;overflow:auto;color:#b6d9ad}.auralith-screen aside{display:grid;align-content:start;gap:5px;border-left:1px solid #3d8051;padding:9px}.auralith-log{min-height:68px;border-top:1px solid #3d8051;padding:7px;white-space:pre-wrap;color:#ffd38b}.auralith-terminal form{display:flex;border-top:1px solid #3d8051}.auralith-terminal form label{display:flex;align-items:center;flex:1;padding-left:8px}.auralith-terminal input{flex:1;border:0;background:#030706;color:#fff;padding:8px;font:inherit;outline:none}.auralith-terminal button{background:#13251b;color:#b7ffbb;border-color:#39734a}
.solitaire{height:100%;overflow:auto;background:radial-gradient(circle at 50% 20%,#225f46,#0d3022 70%);color:#fff;padding:12px}.sol-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #8ec8a8;padding-bottom:8px}.sol-head h2{margin:0;font:700 22px Georgia}.sol-head small{color:#b8e8c9;letter-spacing:2px}.sol-stats{padding:5px 8px;background:#08291d;border:2px inset #83ad96;font-weight:bold}.sol-toolbar{align-items:center;margin:9px 0}.sol-message{min-height:28px;padding:5px 8px;background:#fff4bd;color:#261b12;border:2px inset #eee;font-weight:bold}.klondike-top{display:grid;grid-template-columns:96px 96px 1fr minmax(400px,430px);gap:12px;margin-top:12px;touch-action:none}.sol-foundations{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.sol-slot{position:relative;width:96px;height:128px;padding:0;background:#0a2a1d88;border:2px inset #7db798;color:#fff}.sol-stock{background:repeating-linear-gradient(45deg,#320f3b,#320f3b 5px,#e54a9a 6px,#e54a9a 8px);border:5px double #f3cf72;box-shadow:3px 4px #0008}.sol-stock span,.sol-stock b{display:block}.sol-stock span{font-size:38px}.sol-stock.empty{background:#0a2a1d88;border:2px inset #7db798}.sol-tableau{display:grid;grid-template-columns:repeat(7,minmax(78px,1fr));gap:9px;margin-top:15px;min-height:390px;touch-action:none}.tableau-pile{position:relative;min-width:0;height:385px;padding:0;background:#0a2a1d66;border:2px inset #7db798}.legal-target{box-shadow:inset 0 0 0 2px #d6b85f}.drop-target{outline:4px dashed #a5ffbd!important;background:#3e805988!important}.playing-card{position:absolute;left:4%;top:var(--offset,0);display:flex;justify-content:space-between;width:92%;height:112px;background:linear-gradient(135deg,#fff,#eee9dd);color:#111;border:1px solid #222;padding:7px;text-align:left;font:700 18px Georgia;border-radius:6px;box-shadow:1px 2px 3px #0009;cursor:grab}.playing-card.selected{outline:4px solid #ffcf67;box-shadow:0 0 15px #ffcf67}.playing-card.card-back{background:repeating-linear-gradient(45deg,#320f3b,#320f3b 5px,#e54a9a 6px,#e54a9a 8px);color:#f3cf72;border:4px double #f3cf72;cursor:default}.playing-card i{align-self:center;font-size:35px;font-style:normal;opacity:.16}.playing-card.red{color:#b90039}.empty-card{display:grid;place-items:center;height:100%;color:#ffffff66;font-size:12px}.sol-drag-stack{position:fixed;z-index:10000;pointer-events:none;opacity:.9;transform:rotate(2deg)}.sol-drag-stack .playing-card{left:0;width:100%;top:var(--offset,0)}.sol-help{margin-top:8px;background:#0a2a1dcc;border:1px solid #7db798;padding:5px;touch-action:auto}.sol-help p{margin:6px}.sol-help kbd{background:#ddd;color:#111;border:2px outset #fff;padding:1px 4px}
.mines{display:grid;justify-content:center;gap:9px}.mine-grid{display:grid;grid-template-columns:repeat(9,34px);border:3px inset #ddd}.mine-grid button{width:34px;height:34px;padding:0}.mine-grid button.revealed{border:1px solid #999;background:#ddd}
.widget-option{display:block;border:2px inset #eee;padding:10px;margin:8px 0}.widget-dock{position:absolute;inset:0;width:auto;display:contents;z-index:1;pointer-events:none}.desktop-widget{border:2px outset #eee;background:#fff8cfdd;padding:8px;pointer-events:auto}.desktop-widget b,.desktop-widget time{display:block}.note-widget textarea{width:100%;height:92px;border:0;background:transparent;resize:vertical;font:12px "Comic Sans MS",cursive}.moon-widget{background:#171128dd;color:#f5dbff}.save-disk pre{min-height:110px;border:2px inset #eee;background:#fff;padding:8px;white-space:pre-wrap}
@media(max-width:720px){.widget-dock{display:none}.auralith-screen{grid-template-columns:1fr}.auralith-screen aside{display:none}.sol-head{align-items:flex-start;gap:5px}.sol-stats{font-size:10px}.klondike-top{grid-template-columns:58px 58px 1fr minmax(226px,1fr);gap:5px}.sol-slot{width:58px;height:82px}.sol-foundations{gap:3px}.sol-tableau{grid-template-columns:repeat(7,minmax(43px,1fr));gap:3px;min-height:370px}.tableau-pile{height:360px}.playing-card{font-size:11px;left:2%;width:96%;height:74px;padding:3px}.playing-card i{display:none}.sol-drag-stack .playing-card{height:74px}.mine-grid{grid-template-columns:repeat(9,minmax(25px,34px))}.mine-grid button{width:100%;height:30px}}

/* Circuit Princess sprite icons: the same original pack works with every OS skin. */
.os-icon-image{display:inline-block;width:1.4em;height:1.4em;object-fit:contain;image-rendering:pixelated;vertical-align:middle;flex:0 0 auto}
.desktop-icon{display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
.desktop-icon .glyph{display:grid;place-items:center;flex:0 0 54px;line-height:54px;width:100%}
.desktop-icon .glyph .os-icon-image{width:52px;height:52px}
.task-icon .os-icon-image{width:20px;height:20px}
.window-app-icon .os-icon-image{width:18px;height:18px}
.start-items .os-icon-image{width:22px;height:22px;margin-right:5px}
.app-switcher-icon .os-icon-image{width:28px;height:28px}
.window-title{display:flex;align-items:center;gap:5px;min-width:0}
.window-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.window-app-icon{display:inline-flex;align-items:center;flex:0 0 auto}
.task-items .task-icon{display:inline-flex;align-items:center;justify-content:center}
.app-switcher-icon{display:flex;align-items:center;justify-content:center}
body[data-theme-style=classic] .desktop-icon .glyph .os-icon-image{filter:drop-shadow(1px 2px 1px #0008)}
body[data-theme-style=chrome] .desktop-icon .glyph .os-icon-image{filter:drop-shadow(1px 2px 1px #60efff99)}
body[data-theme-style=y2k] .desktop-icon .glyph .os-icon-image{filter:drop-shadow(1px 2px 1px #7652c799)}
body[data-theme-style=pink98] .desktop-icon .glyph .os-icon-image{filter:drop-shadow(1px 2px 1px #85264f99)}
body[data-theme-style=pinkxp] .desktop-icon .glyph .os-icon-image{filter:drop-shadow(1px 2px 1px #8b657588)}
body.compact-icons .desktop-icon .glyph{flex-basis:41px;line-height:41px}
body.compact-icons .desktop-icon .glyph .os-icon-image{width:39px;height:39px}

.notepad-app{height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;color:var(--user-accent2)}
.notepad-toolbar{display:grid;gap:7px;min-width:0}
.notepad-actions{display:flex;flex-wrap:wrap;gap:5px}
.notepad-tabs{display:flex;gap:4px;min-width:0;overflow-x:auto;padding:2px 2px 6px;border-bottom:1px solid #999}
.notepad-tabs button{flex:0 0 auto;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notepad-tabs button[aria-pressed=true]{font-weight:bold;border-style:inset;background:#fff8cf}
.notepad-tab{display:flex;flex:0 0 auto;max-width:230px;align-items:stretch}
.notepad-tab>button:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis}
.notepad-tab .notepad-tab-close{flex:0 0 auto;min-width:28px;padding-inline:5px;color:#8c2453;font-weight:bold}
.notepad-name-label{display:flex;align-items:center;gap:8px;font-weight:bold}
.notepad-name-label input{min-width:0;flex:1;padding:6px}
.notepad-editor{display:block;width:100%;height:100%;min-height:180px;resize:none;padding:12px;border:2px inset #aaa;background:#fffdf7;color:#241d21;font:14px/1.55 "Courier New",monospace;white-space:pre-wrap}
.notepad-status{font-size:11px;color:#5e4651}
.profile-manager{display:grid;gap:10px;color:var(--user-accent2)}
.profile-manager>p{margin:0 0 4px;line-height:1.45}
.profile-list{display:grid;gap:6px}
.profile-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:8px;border:2px outset #ddd;background:#eee;padding:7px}
.profile-card>div{display:grid;gap:3px;min-width:0}
.profile-card small{font-size:11px}
.profile-avatar{font-size:28px;text-align:center}
.profile-current{font-weight:bold;color:#176b38;padding:6px}
.profile-manager form{border:1px solid #999;padding:8px}
.messenger-app{position:relative;height:100%;min-height:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto auto;gap:8px;color:var(--user-accent2)}
.messenger-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px;border:2px outset #ddd;background:#eee}
.messenger-self{display:flex;align-items:center;gap:9px;min-width:0}
.messenger-self>span{font-size:30px}
.messenger-self>div{display:grid;gap:3px;min-width:0}
.messenger-self small,.chat-moderation small{font-size:11px}
.messenger-heading output{font-weight:bold;white-space:nowrap}
.messenger-heading output[data-state=online]{color:#176b38}
.messenger-heading output[data-state=offline]{color:#a12643}
.chat-public-notice{padding:8px 10px;border:1px solid #b76b32;background:#fff4dc;color:#563716;font-size:12px;line-height:1.45}
.chat-session-note{display:block;margin-top:4px;font-size:10px;line-height:1.35}
.messenger-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:8px;min-height:0}
.chat-conversation{position:relative;min-height:0;overflow:auto;border:2px inset #aaa;background:#fffdf7;padding:8px}
.chat-messages{display:grid;align-content:start;gap:8px;margin:0;padding:0;list-style:none}
.chat-message{max-width:95%;padding:7px 9px;border:1px solid #c9bac4;background:#fff;color:#30212a;overflow-wrap:anywhere}
.chat-message.mine{margin-left:auto;background:#fceaf3;border-color:#d992b3}
.chat-message>header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.chat-message-author{font-weight:bold}
.chat-message time,.chat-report time{font-size:10px;color:#655b61;white-space:nowrap}
.chat-message>p{white-space:pre-wrap;margin:5px 0 0;line-height:1.4}
.chat-message-controls{display:flex;justify-content:flex-end;gap:5px;margin-top:4px}
.chat-message-controls button{font-size:10px;padding:2px 6px}
.chat-conversation>[data-chat-empty]{position:absolute;inset:40% 10px auto;text-align:center;color:#655b61}
.chat-roster{min-height:0;overflow:auto;border:2px inset #aaa;background:#f3edf2;padding:7px}
.chat-roster h3{display:flex;justify-content:space-between;margin:0 0 7px;font-size:13px}
.chat-roster ul{display:grid;gap:4px;list-style:none;margin:0;padding:0}
.chat-visitor{padding:5px;border-bottom:1px solid #c9bac4;overflow-wrap:anywhere}
.chat-visitor.self{font-weight:bold}
.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:stretch}
.chat-compose-label{grid-column:1/-1;font-weight:bold;font-size:11px}
.chat-compose textarea{min-width:0;resize:vertical;max-height:100px;padding:8px;border:2px inset #aaa;background:#fff;color:#241d21;font:inherit}
.chat-compose button{min-width:84px}
.chat-emoji-picker{display:grid;gap:5px}
.chat-emoji-tabs{display:flex;gap:4px;overflow-x:auto}
.chat-emoji-tabs [aria-selected=true]{font-weight:bold;border-style:inset;background:#fff8cf}
.chat-emoji-options{display:flex;gap:4px;overflow-x:auto;padding:2px}
.chat-emoji{min-width:34px;min-height:34px;font-size:19px}
.profile-forge-banner,.profile-edit-heading,.profile-switcher>header{display:flex;align-items:center;gap:12px}
.profile-forge-banner{padding:12px;border:2px solid color-mix(in srgb,var(--user-accent2) 35%,#fff);background:linear-gradient(135deg,#fff8df,#f9e5f2 58%,#e8efff);border-radius:12px}
.profile-forge-banner>div,.profile-edit-heading>div:last-child,.profile-switcher>header>div{min-width:0}
.profile-forge-banner small,.profile-edit-heading small,.profile-switcher header small{font-size:10px;letter-spacing:.12em;text-transform:uppercase;opacity:.75}
.profile-forge-banner h2,.profile-edit-heading h3,.profile-switcher h3{margin:2px 0;font-family:Georgia,serif}
.profile-forge-banner p,.profile-edit-heading p{margin:3px 0 0;line-height:1.4}
.profile-forge-seal{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:50%;background:#fff;border:2px solid #d9a5bc;font-size:30px;box-shadow:0 3px 0 #c98da8}
.profile-manager .profile-edit-form,.profile-manager .profile-create-form{display:grid;gap:12px;padding:12px;border:1px solid color-mix(in srgb,var(--user-accent2) 30%,#fff);border-radius:10px;background:color-mix(in srgb,var(--user-accent2) 5%,#fff)}
.profile-edit-heading{padding-bottom:10px;border-bottom:1px dashed color-mix(in srgb,var(--user-accent2) 35%,#fff)}
.profile-avatar-preview{display:grid;place-items:center;flex:0 0 72px;width:72px;height:72px;overflow:hidden;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#fff1bd,#ffd9ed);box-shadow:0 0 0 2px #c991ad}
.profile-avatar-preview .profile-avatar-image{width:100%;height:100%;object-fit:cover}
.profile-avatar-preview .profile-avatar{font-size:38px}
.profile-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.profile-edit-grid>label{display:grid;align-content:start;gap:5px;min-width:0;font-weight:bold}
.profile-edit-grid input,.profile-edit-grid select,.profile-edit-grid textarea{box-sizing:border-box;width:100%;min-width:0;padding:7px;border:2px inset #c8b8c1;background:#fff;color:#30212a;font:inherit}
.profile-edit-grid textarea{resize:vertical;min-height:70px}
.profile-edit-grid label>span{font-size:11px;font-weight:normal;line-height:1.4;opacity:.8}
.profile-edit-grid .profile-bio-field,.profile-edit-grid .profile-picture-upload{grid-column:1/-1}
.profile-style-preview{display:block;min-height:28px;padding:5px 7px;border:1px dashed #c991ad;border-radius:5px;background:#fffaf0;overflow-wrap:anywhere;font-size:18px;font-weight:bold;line-height:1.35}
.profile-edit-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.profile-edit-actions output{flex:1 1 100%;min-height:1.2em;font-size:12px}
.profile-switcher{display:grid;gap:8px}
.profile-switcher>header{justify-content:space-between}
.profile-switcher>header>span{font-size:11px;opacity:.75}
.profile-list{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.profile-card{grid-template-columns:42px minmax(0,1fr) auto auto;min-width:0;border-radius:8px}
.profile-card-copy{overflow-wrap:anywhere}
.profile-card-copy p{margin:2px 0;font-size:11px;line-height:1.25;opacity:.8}
.profile-card-copy small{font-size:10px}
.profile-avatar-image{display:block;width:38px;height:38px;object-fit:cover;border-radius:50%}
.messenger-self>[data-chat-self-avatar]{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;overflow:hidden;border:2px solid #fff;border-radius:50%;background:#fff1bd;font-size:26px}
.messenger-self>[data-chat-self-avatar] img{width:100%;height:100%;object-fit:cover}
.messenger-self [data-chat-self-name]{overflow-wrap:anywhere}
.chat-message-author{display:inline-flex;align-items:center;gap:5px;min-width:0;overflow-wrap:anywhere}
.chat-message-author img{width:22px;height:22px;object-fit:cover;border-radius:50%;vertical-align:middle}
.chat-name-visual,.chat-visitor-copy b>span[aria-hidden=true],.chat-visitor-copy small>span[aria-hidden=true]{overflow-wrap:anywhere}
.chat-visitor{display:flex;align-items:center;gap:6px;min-width:0}
.chat-visitor>img{flex:0 0 30px;width:30px;height:30px;object-fit:cover;border-radius:50%}
.chat-visitor-button{display:flex;align-items:center;gap:7px;width:100%;min-width:0;padding:4px;border:1px solid transparent;background:transparent;color:inherit;text-align:left;cursor:pointer}
.chat-visitor-button:hover,.chat-visitor-button:focus-visible{border-color:currentColor;background:#ffffff80;text-decoration:underline}
.chat-visitor-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;overflow:hidden;border-radius:50%;background:#fff;font-size:22px}
.chat-visitor-avatar img{width:100%;height:100%;object-fit:cover}
.chat-visitor-copy b{display:block;font-size:12px}
.chat-friend-tag{width:max-content;padding:1px 5px;border-radius:7px;background:#e4f4df;color:#286332;font-size:9px!important;font-weight:bold}
.chat-message-author{padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.chat-message-author:hover,.chat-message-author:focus-visible{text-decoration:underline}
.chat-requests{display:grid;gap:6px;padding:7px;border:1px solid #c28ca6;border-radius:7px;background:#fff3d7;color:#422a37}
.chat-incoming-request{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px}
.chat-incoming-request>span{display:flex;gap:5px}
.chat-profile-window .window-content{padding:12px;overflow:auto;background:#fff8fb;color:#392735}
.chat-profile-window-content{position:relative;display:grid;align-content:start;gap:8px;min-height:100%;padding:8px;color:inherit}
.chat-profile-mini{position:absolute;z-index:5;inset:12% 7% auto;max-height:76%;overflow:auto;padding:16px 12px 12px;border:3px outset #ead7e1;border-radius:10px;background:#fff8fb;color:#392735;box-shadow:0 8px 24px #1b0b1940}
.chat-profile-mini[hidden]{display:none}
.chat-card-close{position:absolute;right:7px;top:7px;width:34px;height:34px;padding:0;font-size:20px}
.chat-profile-card-heading{display:flex;align-items:center;gap:12px;padding-right:28px}
.chat-profile-card-heading>div{min-width:0}
.chat-profile-card-heading h2{margin:0 0 4px;overflow-wrap:anywhere;font-family:Georgia,serif;font-size:22px}
.chat-profile-card-heading small{opacity:.75}
.chat-profile-card-avatar{display:grid;place-items:center;flex:0 0 68px;width:68px;height:68px;overflow:hidden;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#fff1bd,#ffd9ed);box-shadow:0 0 0 2px #c991ad;font-size:40px}
.chat-profile-card-avatar img{width:100%;height:100%;object-fit:cover}
.chat-profile-bio{min-height:42px;margin:16px 0;padding:10px;border-left:3px solid #c991ad;background:#fff;color:#463442;line-height:1.45;overflow-wrap:anywhere}
.chat-profile-actions{display:grid;gap:7px}
.chat-profile-actions button{min-height:40px}
.chat-profile-actions button:disabled{opacity:.72}
.chat-profile-status{display:block;min-height:18px;margin-top:8px;font-size:12px}
.chat-profile-window-content #chat-profile-visit-note,.chat-profile-mini #chat-profile-visit-note{display:block;margin-top:4px;font-size:10px;opacity:.75}
.chat-private-panel{position:absolute;z-index:3;inset:0;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;padding:12px;border:3px outset #ead7e1;border-radius:9px;background:#fff8fb;color:#392735;box-shadow:0 7px 24px #1b0b195c}
.chat-private-panel>header{display:flex;justify-content:space-between;align-items:center;gap:8px}
.chat-private-panel>header h3{margin:2px 0;font-family:Georgia,serif}
.chat-private-panel>header small{font-size:10px;letter-spacing:.12em}
.chat-private-panel>header button{width:38px;height:38px}
.chat-private-panel nav{display:flex;gap:5px;overflow-x:auto}
.chat-private-panel nav button[aria-pressed=true]{font-weight:bold;border-style:inset}
.chat-private-panel ol{display:grid;align-content:start;gap:8px;min-height:0;overflow:auto;margin:0;padding:9px;list-style:none;border:2px inset #c8b8c1;background:#fff}
.chat-private-panel ol li{padding:7px;border-radius:7px;background:#f7eaf1;overflow-wrap:anywhere}
.chat-private-panel ol li b{font-size:11px}
.chat-private-panel ol li p{margin:3px 0 0;white-space:pre-wrap}
.chat-private-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.chat-private-panel textarea{min-width:0;resize:vertical;max-height:100px;padding:8px;border:2px inset #aaa;background:#fff;color:#241d21;font:inherit}
.chat-private-panel form button{min-width:72px}
.chat-visitor-copy{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.chat-visitor-copy small{font-size:10px;font-weight:normal;line-height:1.25;opacity:.78}
@container app-window (max-width:520px){.profile-edit-grid{grid-template-columns:minmax(0,1fr)}.profile-edit-grid .profile-bio-field,.profile-edit-grid .profile-picture-upload{grid-column:auto}.profile-forge-banner{align-items:flex-start}.profile-forge-seal{flex-basis:42px;width:42px;height:42px;font-size:24px}.profile-list{grid-template-columns:minmax(0,1fr)}}
.chat-feedback{min-height:16px;font-size:11px}
.chat-announce{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.chat-moderation{display:grid;gap:9px;color:var(--user-accent2)}
.chat-report{display:grid;gap:7px;border:2px outset #ddd;background:#f4edf2;padding:8px;margin:8px 0}
.chat-report>header{display:flex;justify-content:space-between;gap:10px}
.chat-report p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
body[data-theme-style=chrome] .messenger-heading,body[data-theme-style=chrome] .chat-report{background:#dbe5ef;color:#203343;border-color:#879bad}
body[data-theme-style=chrome] .chat-conversation{background:#101722;border-color:#788697}
body[data-theme-style=chrome] .chat-message{background:#202c3c;color:#eafcff;border-color:#52657a}
body[data-theme-style=chrome] .chat-message.mine{background:#183b42;border-color:#54b8c2}
body[data-theme-style=chrome] .chat-roster{background:#18212d;border-color:#788697}
body[data-theme-style=y2k] .messenger-heading,body[data-theme-style=y2k] .chat-report{background:#fff0fa;color:#573762;border-color:#d7a9cb}
body[data-theme-style=y2k] .chat-conversation{background:#fff9fd;border-color:#d7a9cb}
body[data-theme-style=y2k] .chat-message{background:#fff;color:#573762;border-color:#d7a9cb}
body[data-theme-style=y2k] .chat-message.mine{background:#ffe4f4;border-color:#d980b5}
body[data-theme-style=y2k] .chat-roster{background:#fce9f7;border-color:#d7a9cb}
body[data-theme-style=pink98] .messenger-heading,body[data-theme-style=pink98] .chat-report{background:#fff2f6;color:#54243a;border-color:#d691ab}
body[data-theme-style=pink98] .chat-conversation{background:#fff7fa;border-color:#bd7890}
body[data-theme-style=pink98] .chat-message{background:#fff;color:#351521;border-color:#d691ab}
body[data-theme-style=pink98] .chat-message.mine{background:#ffe7f0;border-color:#d27b9d}
body[data-theme-style=pink98] .chat-roster{background:#fce8ef;border-color:#bd7890}
body[data-theme-style=pinkxp] .messenger-heading,body[data-theme-style=pinkxp] .chat-report{background:#fff3f8;color:#63394d;border-color:#dd9db5}
body[data-theme-style=pinkxp] .chat-conversation{background:#fff8fb;border-color:#d98aa7}
body[data-theme-style=pinkxp] .chat-message{background:#fff;color:#54243a;border-color:#dd9db5}
body[data-theme-style=pinkxp] .chat-message.mine{background:#ffe4ef;border-color:#dd83a5}
body[data-theme-style=pinkxp] .chat-roster{background:#fdebf2;border-color:#d98aa7}
body[data-theme-style=dreamy] .messenger-heading,body[data-theme-style=dreamy] .chat-report{background:#fff8f2;color:#633b50;border-color:#e7b7bd}
body[data-theme-style=dreamy] .chat-conversation{background:#fff9f4;border-color:#e7b7bd}
body[data-theme-style=dreamy] .chat-message{background:#fff;color:#633b50;border-color:#e7b7bd}
body[data-theme-style=dreamy] .chat-message.mine{background:#ffebe5;border-color:#e59aa6}
body[data-theme-style=dreamy] .chat-roster{background:#fff2ed;border-color:#e7b7bd}
body[data-theme-style=chrome] .notepad-editor{background:#101722;color:#eafcff;border-color:#788697}
body[data-theme-style=y2k] .notepad-editor{background:#fff9fd;color:#573762;border-color:#d7a9cb}
body[data-theme-style=pink98] .notepad-editor{background:#fff7fa;color:#351521;border-color:#bd7890}
body[data-theme-style=pinkxp] .notepad-editor{background:#fff8fb;color:#54243a;border-color:#d98aa7}
body[data-theme-style=dreamy] .notepad-editor{background:#fff9f4;color:#633b50;border-color:#e7b7bd}
body[data-theme-style=chrome] .profile-card{background:#d8e3ed;color:#203343;border-color:#879bad}
body[data-theme-style=chrome] .chat-profile-window .window-content,body[data-theme-style=chrome] .chat-profile-mini,body[data-theme-style=chrome] .chat-private-panel{background:#e8eef2;color:#203343;border-color:#879bad;border-radius:3px}
body[data-theme-style=chrome] .chat-profile-bio,body[data-theme-style=chrome] .chat-private-panel ol{background:#fff;border-color:#879bad;color:#203343}
body[data-theme-style=chrome] .chat-requests{background:#fff4d9;color:#3d3024;border-color:#9c805b}
body[data-theme-style=chrome] .profile-forge-banner{background:linear-gradient(135deg,#e9f1f5,#b9c8d4);border-color:#879bad;color:#203343}
body[data-theme-style=chrome] .profile-edit-form,body[data-theme-style=chrome] .profile-create-form{background:#e4ebef;border-color:#879bad}
body[data-theme-style=chrome] .profile-avatar-preview{background:linear-gradient(145deg,#eafaff,#a8c4d4);border-color:#fff;box-shadow:0 0 0 2px #879bad}
body[data-theme-style=y2k] .profile-card{background:#fff0fa;color:#573762;border-color:#d7a9cb}
body[data-theme-style=y2k] .chat-profile-window .window-content,body[data-theme-style=y2k] .chat-profile-mini,body[data-theme-style=y2k] .chat-private-panel{background:linear-gradient(145deg,#fff1fb,#eee6ff);color:#573762;border-color:#d7a9cb;border-radius:14px}
body[data-theme-style=y2k] .chat-profile-bio,body[data-theme-style=y2k] .chat-private-panel ol{background:#fff9fd;border-color:#d7a9cb;color:#573762}
body[data-theme-style=y2k] .chat-requests{background:#fff1d7;color:#573762;border-color:#d7a9cb}
body[data-theme-style=y2k] .profile-forge-banner{background:linear-gradient(135deg,#fff0fa,#e7dcff);border-color:#d7a9cb;color:#573762}
body[data-theme-style=y2k] .profile-edit-form,body[data-theme-style=y2k] .profile-create-form{background:#fff8fd;border-color:#d7a9cb}
body[data-theme-style=y2k] .profile-avatar-preview{background:linear-gradient(145deg,#fff1bd,#ffd9ed);box-shadow:0 0 0 2px #c991ad}
body[data-theme-style=pink98] .profile-card{background:#fff2f6;color:#54243a;border-color:#d691ab}
body[data-theme-style=pink98] .chat-profile-window .window-content,body[data-theme-style=pink98] .chat-profile-mini,body[data-theme-style=pink98] .chat-private-panel{background:#fff2f6;color:#54243a;border-color:#d691ab;border-radius:3px}
body[data-theme-style=pink98] .chat-profile-bio,body[data-theme-style=pink98] .chat-private-panel ol{background:#fff;color:#54243a;border-color:#bd7890}
body[data-theme-style=pink98] .chat-requests{background:#fff2d8;color:#54243a;border-color:#d691ab}
body[data-theme-style=pink98] .profile-forge-banner{background:linear-gradient(135deg,#fff2f6,#f3d3df);border-color:#d691ab;color:#54243a}
body[data-theme-style=pink98] .profile-edit-form,body[data-theme-style=pink98] .profile-create-form{background:#fff8fa;border-color:#d691ab}
body[data-theme-style=pink98] .profile-avatar-preview{background:linear-gradient(145deg,#fff3dc,#f5c8d8);box-shadow:0 0 0 2px #d691ab}
body[data-theme-style=pinkxp] .profile-card{background:#fff3f8;color:#63394d;border-color:#dd9db5}
body[data-theme-style=pinkxp] .chat-profile-window .window-content,body[data-theme-style=pinkxp] .chat-profile-mini,body[data-theme-style=pinkxp] .chat-private-panel{background:linear-gradient(145deg,#fff3f8,#f5d8ed);color:#63394d;border-color:#dd9db5;border-radius:12px}
body[data-theme-style=pinkxp] .chat-profile-bio,body[data-theme-style=pinkxp] .chat-private-panel ol{background:#fff8fb;border-color:#dd9db5;color:#63394d}
body[data-theme-style=pinkxp] .chat-requests{background:#fff1dc;color:#63394d;border-color:#dd9db5}
body[data-theme-style=pinkxp] .profile-forge-banner{background:linear-gradient(135deg,#fff3f8,#f5d8ed);border-color:#dd9db5;color:#63394d}
body[data-theme-style=pinkxp] .profile-edit-form,body[data-theme-style=pinkxp] .profile-create-form{background:#fff9fc;border-color:#dd9db5}
body[data-theme-style=pinkxp] .profile-avatar-preview{background:linear-gradient(145deg,#fff1c9,#ffc5e6);box-shadow:0 0 0 2px #dd9db5}
body[data-theme-style=dreamy] .profile-card{background:#fff8f2;color:#633b50;border-color:#e7b7bd}
body[data-theme-style=dreamy] .chat-profile-window .window-content,body[data-theme-style=dreamy] .chat-profile-mini,body[data-theme-style=dreamy] .chat-private-panel{background:linear-gradient(145deg,#fff8f2,#f7e5df);color:#633b50;border-color:#e7b7bd;border-radius:12px}
body[data-theme-style=dreamy] .chat-profile-bio,body[data-theme-style=dreamy] .chat-private-panel ol{background:#fff9f4;border-color:#e7b7bd;color:#633b50}
body[data-theme-style=dreamy] .chat-requests{background:#fff3da;color:#633b50;border-color:#e7b7bd}
body[data-theme-style=dreamy] .profile-forge-banner{background:linear-gradient(135deg,#fff8f2,#f7e5df);border-color:#e7b7bd;color:#633b50}
body[data-theme-style=dreamy] .profile-edit-form,body[data-theme-style=dreamy] .profile-create-form{background:#fffaf7;border-color:#e7b7bd}
body[data-theme-style=dreamy] .profile-avatar-preview{background:linear-gradient(145deg,#fff2cf,#ffd6cc);box-shadow:0 0 0 2px #e7b7bd}
body[data-theme-style=classic] .chat-profile-window .window-content,body[data-theme-style=classic] .chat-profile-mini,body[data-theme-style=classic] .chat-private-panel{background:#c0c0c0;color:#111;border-color:#eee;border-radius:0}
body[data-theme-style=classic] .chat-profile-bio,body[data-theme-style=classic] .chat-private-panel ol{background:#fff;color:#111;border-color:#808080}
body[data-theme-style=classic] .chat-requests{background:#fff8cf;color:#111;border-color:#808080}
@container app-window (max-width:520px){.notepad-actions button{flex:1 1 auto}.notepad-name-label{align-items:flex-start;flex-direction:column}.notepad-name-label input{width:100%;flex:auto}}
@container app-window (max-width:620px){.messenger-layout{grid-template-columns:minmax(0,1fr)}.chat-roster{max-height:100px}.chat-roster ul{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.chat-visitor{padding:3px}.messenger-heading{align-items:flex-start;flex-direction:column}.chat-compose button{min-width:66px}}

.quick-launch{display:flex;align-items:center;gap:2px;flex:0 0 auto}
.tray-launch{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:2px;border:1px solid transparent;background:transparent;color:inherit;font-size:18px;line-height:1;cursor:pointer}
.tray-launch:hover,.tray-launch:focus-visible{border-color:currentColor;filter:brightness(1.12);outline-offset:1px}
.tray-launch:disabled{opacity:.68;cursor:default}
.tray-launch-icon{display:grid;place-items:center;width:100%;height:100%}
.tray-launch-icon .os-icon-image{width:22px;height:22px;image-rendering:pixelated}
.tray-divider{padding:0 3px;font-weight:700;opacity:.8;user-select:none}
@media(max-width:720px){.tray{gap:3px;padding:3px 5px}.tray-launch{flex-basis:30px;width:30px;height:32px;min-height:32px;padding:1px;font-size:17px}.tray-launch-icon .os-icon-image{width:21px;height:21px}.tray-divider{padding:0 1px}}
@media(max-width:360px){.start-button{min-width:50px}.app-switcher-button{min-width:50px;padding:4px}.quick-launch{gap:0}.tray-launch{flex-basis:26px;width:26px}.tray{gap:2px;padding:2px 3px}.tray-divider{font-size:15px}.tray time{font-size:13px}}

/* Desktop Almanac + Field Notes widgets */
.widget-dock{position:absolute;inset:0;display:contents;max-height:none;overflow:visible;padding:0;pointer-events:none}
.desktop-widget{position:relative;overflow:hidden;border:1px solid #8e805d;border-radius:10px;background:#fff7d9;color:#2c2331;padding:12px;pointer-events:auto}
.moon-widget{background:radial-gradient(circle at 87% 9%,#8b6bac 0 2px,transparent 3px),radial-gradient(circle at 77% 16%,#fff7ce 0 1px,transparent 2px),linear-gradient(145deg,#272039,#443155 60%,#312848);background-size:29px 29px,19px 19px,auto;color:#fff3da;border-color:#c6a9d5}
.calendar-heading,.calendar-heading nav,.calendar-footer,.note-heading,.note-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}
.calendar-heading h2{margin:2px 0 0;font:700 19px Georgia,serif;color:inherit}
.widget-kicker{display:block;font:700 9px/1.2 system-ui,sans-serif;letter-spacing:.14em;opacity:.78}
.calendar-heading nav{gap:4px}
.calendar-heading nav button{min-width:30px;min-height:30px;padding:2px 7px;border:1px solid currentColor;border-radius:6px;background:#fff2;color:inherit;font-weight:700}
.calendar-heading nav button[data-calendar-today]{font-size:10px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:10px;text-align:center}
.calendar-weekday{display:grid;place-items:center;min-height:20px;font-size:10px;font-weight:800;opacity:.72}
.calendar-day{position:relative;display:grid;grid-template-rows:1fr 5px;place-items:center;aspect-ratio:1;min-width:0;padding:2px 0;border:1px solid transparent;border-radius:50%;background:transparent;color:inherit;font-size:11px;line-height:1;cursor:pointer}
.calendar-day-markers{display:flex;align-items:center;gap:1px;height:5px;font-size:8px;line-height:5px;font-style:normal}.calendar-day-markers b{font-weight:900}.calendar-day.has-publications .calendar-day-markers b:first-child{color:#ffd878}.calendar-day.has-events .calendar-day-markers b:last-child{color:#ff9fcb}
.calendar-day:hover,.calendar-day:focus-visible{background:#ffffff24;border-color:currentColor}
.calendar-day.is-today{border-color:#ffd878;font-weight:900;box-shadow:0 0 0 1px #ffd87866}
.calendar-day.is-selected{background:#ffd878;color:#30243a;border-color:#fff0bd;font-weight:900}
.calendar-footer{flex-wrap:wrap;margin-top:9px;padding-top:8px;border-top:1px solid #ffffff38;font-size:10px}.calendar-published-summary,.calendar-milestone{flex:1 0 100%;padding:3px 5px;border-radius:5px;background:#ffffff18}.calendar-milestone{color:#ffe3a1}
.calendar-footer span{font-weight:700}
.note-widget{background:#fff1ad;border-color:#b59142;transform:rotate(-.5deg);padding:12px 13px 10px}
.note-heading{margin-bottom:8px}
.note-heading>div>b{display:block;margin-top:2px;font:700 15px Georgia,serif}
.note-color-label{display:grid;gap:2px;font-size:9px;font-weight:700}
.note-color-label select{max-width:94px;min-height:28px;padding:2px 4px;border:1px solid #8d7844;border-radius:5px;background:#fff9dc;color:#2c2331;font:inherit}
.note-widget textarea{display:block;box-sizing:border-box;width:100%;height:94px;min-height:70px;resize:vertical;padding:0 8px;border:1px dashed #9b7b3e;border-radius:4px;background:repeating-linear-gradient(to bottom,#fff8d8 0,#fff8d8 23px,#e7d59a 23px,#e7d59a 24px);background-origin:content-box;background-size:100% 24px;color:#382b23;font:14px/24px "Comic Sans MS",cursive;outline-offset:2px}
.note-widget textarea::placeholder{color:#786643;opacity:.8}
.note-footer{margin-top:6px;color:#59482a;font-size:9px}
.note-footer [data-note-count]{font-variant-numeric:tabular-nums}
.note-widget[data-note-color=rose]{background:#ffe0e6;border-color:#bd7890}.note-widget[data-note-color=rose] textarea{background:repeating-linear-gradient(to bottom,#fff1f3 0,#fff1f3 23px,#edb8c4 23px,#edb8c4 24px);border-color:#c07791}
.note-widget[data-note-color=mint]{background:#dff5df;border-color:#68966d}.note-widget[data-note-color=mint] textarea{background:repeating-linear-gradient(to bottom,#effbef 0,#effbef 23px,#b9dcb9 23px,#b9dcb9 24px);border-color:#78a47a}
.note-widget[data-note-color=lavender]{background:#ece4ff;border-color:#8572b6}.note-widget[data-note-color=lavender] textarea{background:repeating-linear-gradient(to bottom,#f7f2ff 0,#f7f2ff 23px,#d6c9ef 23px,#d6c9ef 24px);border-color:#9582c2}
.widget-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body[data-theme-style=chrome] .desktop-widget{border-radius:13px}
body[data-theme-style=chrome] .moon-widget{background:radial-gradient(circle at 86% 12%,#b6ffff 0 2px,transparent 3px),linear-gradient(145deg,#112f49,#215474 60%,#182d4c);border-color:#9beaff;color:#e9fbff}
body[data-theme-style=y2k] .desktop-widget{border-radius:18px;border-color:#e99fc5}
body[data-theme-style=y2k] .moon-widget{background:radial-gradient(circle at 85% 12%,#fff 0 2px,transparent 3px),linear-gradient(145deg,#7652c7,#b45dc6 55%,#7652c7);color:#fff}
body[data-theme-style=pink98] .desktop-widget{border-radius:2px;border:2px outset #fff0f5}
body[data-theme-style=pink98] .moon-widget{background:radial-gradient(circle at 85% 12%,#fff1a8 0 2px,transparent 3px),linear-gradient(145deg,#352130,#57374d);color:#ffe2ec}
body[data-theme-style=pinkxp] .desktop-widget{border-radius:12px;border-color:#e5aec6}
body[data-theme-style=pinkxp] .moon-widget{background:radial-gradient(circle at 85% 12%,#fff 0 2px,transparent 3px),linear-gradient(145deg,#63446d,#a16188 58%,#533d76);color:#fff1fa}
body[data-theme-style=dreamy] .desktop-widget{border-radius:15px;border-color:#e6a0af}
body[data-theme-style=dreamy] .moon-widget{background:radial-gradient(circle at 86% 12%,#fff0c9 0 2px,transparent 3px),linear-gradient(145deg,#78629b,#b77da9 56%,#75679a);color:#fffaf8}
@media(max-width:720px){.widget-dock{display:none!important}}

/* A restrained journal skin. Paper variables stay local to the selected page,
   so the surrounding desktop theme cannot wash out the visitor's paper choice. */
.notepad-app{--page-paper:#fbf4e8;--page-ink:#493b42;--page-rule:#d9c8b9;--page-margin:#ce8c9a;--page-tab:#edd9e0;grid-template-rows:auto auto minmax(0,1fr) auto;gap:8px;color:#594553}
.notepad-title{display:flex;align-items:center;justify-content:center;gap:10px;padding:3px 8px 4px;color:#8b526d;text-align:center}
.notepad-title>span{font-size:13px;color:#c78da2}
.notepad-title h2{margin:0;font:700 19px/1.1 Georgia,serif;letter-spacing:.01em}
.notepad-title p{margin:3px 0 0;font:italic 10px Georgia,serif;opacity:.78}
.notepad-toolbar{gap:6px}
.notepad-actions{justify-content:center;gap:4px}
.window-content .notepad-app .notepad-actions button{flex:0 1 auto;min-height:28px;padding:3px 8px;border:1px solid #d4bdc5;border-radius:5px;background:#fff9f5;color:#60485a;font-size:11px;line-height:1.2;box-shadow:none}
.window-content .notepad-app .notepad-actions button:hover{background:#f6e8ee;border-color:#bc8da3}
.window-content .notepad-app .notepad-actions button:disabled{opacity:.55}
.notepad-tabs{padding:2px 3px 5px;border-bottom:1px solid #d8c3ca}
.notepad-tab{max-width:210px;padding-top:0}
.notepad-tab>button:first-child{min-height:27px;padding:3px 8px;border-radius:5px 5px 0 0;background:#f8f0e9;color:#684e5e;font-size:11px}
.notepad-tab [aria-pressed=true]{border-color:#cbaab8!important;background:#f0dfe6!important;color:#573649!important}
.notepad-tab .notepad-tab-close{min-width:25px;min-height:27px;padding:2px 5px;border-radius:0 5px 0 0;font-size:12px}
.notepad-page-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-inline:4px}
.notepad-name-label,.notepad-theme-label{display:flex;align-items:center;gap:6px;color:#745d6d;font:600 10px Georgia,serif}
.notepad-name-label{flex:1;min-width:0}
.notepad-name-label input{min-width:0;flex:1;padding:5px 7px;border:1px solid #ddcbd0;border-radius:4px;background:#fffaf5;color:#493a44;font:13px Georgia,serif}
.notepad-theme-label{flex:0 0 auto}
.notepad-theme-label select{max-width:160px;min-height:28px;padding:3px 7px;border:1px solid #d8c2ca;border-radius:4px;background:#fffaf5;color:#594554;font:11px Georgia,serif}
.notepad-page{position:relative;min-height:0;overflow:hidden;padding:13px 18px 13px 39px;border:1px solid #d8c5b5;border-radius:3px 8px 5px 3px;background:var(--page-paper);isolation:isolate}
.notepad-page::before{position:absolute;z-index:0;inset:0 auto 0 25px;width:1px;background:var(--page-margin);content:"";opacity:.65;pointer-events:none}
.notepad-page::after{position:absolute;z-index:0;inset:13px 0 13px;background:repeating-linear-gradient(to bottom,transparent 0 27px,var(--page-rule) 27px 28px);content:"";opacity:.72;pointer-events:none}
.notepad-editor{position:relative;z-index:1;box-sizing:border-box;width:100%;height:100%;min-height:140px;padding:0 4px;border:0!important;outline:0;background:transparent!important;color:var(--page-ink)!important;font:14px/28px Georgia,"Times New Roman",serif!important;white-space:pre-wrap;caret-color:#b64f79}
.notepad-editor::placeholder{color:var(--page-ink);opacity:.48}
.page-bookmark{position:absolute;top:0;right:23px;z-index:2;display:grid;width:18px;height:30px;place-items:start center;padding-top:3px;border-radius:0 0 2px 2px;background:#d79bad;color:#fffaf5;font-size:10px;pointer-events:none}
.page-corner{display:none}
.notepad-status{padding-inline:4px;color:#796b75;font-size:10px}
.notepad-app[data-page-theme=rose]{--page-paper:#fff0f2;--page-ink:#603b4a;--page-rule:#e5b8c2;--page-margin:#d38ba0}
.notepad-app[data-page-theme=rose] .notepad-page{border-color:#d7a5b2}
.notepad-app[data-page-theme=rose] .page-bookmark{background:#cf8198}
.notepad-app[data-page-theme=lavender]{--page-paper:#f3effa;--page-ink:#4d435b;--page-rule:#cbbdde;--page-margin:#a794c6}
.notepad-app[data-page-theme=lavender] .notepad-page{border-color:#c3b5d4}
.notepad-app[data-page-theme=lavender] .page-bookmark{background:#9580b8}
.notepad-app[data-page-theme=mint]{--page-paper:#eff6ed;--page-ink:#3d5141;--page-rule:#b8ceb9;--page-margin:#83a68a}
.notepad-app[data-page-theme=mint] .notepad-page{border-color:#aec7b0}
.notepad-app[data-page-theme=mint] .page-bookmark{background:#779c7d}
.notepad-app[data-page-theme=midnight]{--page-paper:#29263b;--page-ink:#f0e9f8;--page-rule:#625676;--page-margin:#ad80c1;color:#e9ddf1}
.notepad-app[data-page-theme=midnight] .notepad-page{border-color:#5c506e}
.notepad-app[data-page-theme=midnight] .notepad-title,.notepad-app[data-page-theme=midnight] .notepad-page-tools,.notepad-app[data-page-theme=midnight] .notepad-status{color:#e9ddf1}
.notepad-app[data-page-theme=midnight] .notepad-name-label input,.notepad-app[data-page-theme=midnight] .notepad-theme-label select{border-color:#645772;background:#363047;color:#f0e9f8}
.notepad-app[data-page-theme=midnight] .page-bookmark{background:#916cab}
.note-widget{position:relative;isolation:isolate;border-radius:2px 3px 4px 2px;transform:rotate(-1deg)}
.note-widget::before{position:absolute;z-index:2;top:-6px;left:50%;width:46px;height:13px;border:1px solid #ffffff6b;border-radius:1px;background:#eab3bdc9;content:"";transform:translateX(-50%) rotate(-3deg);pointer-events:none}
.note-widget::after{position:absolute;top:7px;right:9px;color:#b77980;font:14px Georgia,serif;content:"✦";opacity:.68;pointer-events:none}
.note-widget[data-note-color=sunshine]::before{background:#e8c96dc9}
.note-widget[data-note-color=rose]::before{background:#dc91a9c9}
.note-widget[data-note-color=mint]::before{background:#8dbb91c9}
.note-widget[data-note-color=lavender]::before{background:#a898d0c9}
.note-heading>div{min-width:0}.note-heading>div>b{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-widget[data-note-color=midnight]{background:#29243f;border-color:#8e83b5;color:#f5edff}.note-widget[data-note-color=midnight] textarea{background:repeating-linear-gradient(to bottom,#322c49 0,#322c49 23px,#57506f 23px,#57506f 24px);color:#f5edff;border-color:#8e83b5}.note-widget[data-note-color=midnight] textarea::placeholder{color:#c8badc}.note-widget .note-footer{display:flex;justify-content:space-between;gap:6px;margin-top:6px}.note-widget .note-footer button{font-size:11px;padding:4px 7px}
@container app-window (max-width:560px){.notepad-title h2{font-size:17px}.notepad-page-tools{align-items:stretch;flex-direction:column;gap:6px}.notepad-name-label{align-items:center;flex-direction:row}.notepad-theme-label{justify-content:space-between}.notepad-theme-label select{max-width:58%}.notepad-page{padding-left:31px}.notepad-page::before{left:19px}.notepad-editor{font-size:13px!important}}

.pixel-studio{display:grid;gap:10px;min-height:100%;align-content:start;padding:4px}
.pixel-studio-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.pixel-studio-heading h2{margin:0 0 3px}.pixel-studio-heading p{margin:0;color:#706777;font-size:12px}
.pixel-studio-heading label,.pixel-tools>label{display:grid;gap:4px;font-weight:bold}
.pixel-studio-heading select{min-width:190px;max-width:100%}
.pixel-studio-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(210px,250px);align-items:start;gap:15px}
.pixel-canvas-wrap{display:grid;justify-items:center;gap:5px;min-width:0}
.pixel-studio canvas{display:block;width:min(100%,512px);aspect-ratio:1;background-color:#fff;border:3px inset #888;image-rendering:pixelated;touch-action:none;background-image:linear-gradient(45deg,#d9d5df 25%,transparent 25%),linear-gradient(-45deg,#d9d5df 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#d9d5df 75%),linear-gradient(-45deg,transparent 75%,#d9d5df 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0}
.pixel-canvas-wrap small{font-size:11px;color:#686071}
.pixel-tools{display:grid;gap:7px;min-width:0;padding:10px;border:2px groove #eee;background:#ffffff85}
.pixel-tools>label input:not([type=color]),.pixel-tools>label select{width:100%;min-width:0;padding:6px}
.pixel-tools>label input[type=color]{width:100%;height:34px}
.pixel-tools>button{width:100%;min-height:36px}
.pixel-tool-row{display:grid;grid-template-columns:1fr 1fr;gap:5px}.pixel-tool-row button{min-width:0}
.pixel-tools output{min-height:36px;padding:6px;background:#fff8cf;border:1px inset #ddd;font-size:11px}
.pixel-studio-note{margin:0;font-size:11px;color:#686071}
body[data-theme-style=chrome] .pixel-tools{background:#dfe9ee;border-color:#708393;color:#14202a}
body[data-theme-style=y2k] .pixel-tools{background:#fff0fadd;border-color:#d7a9cb;border-radius:12px;color:#573762}
body[data-theme-style=pink98] .pixel-tools{background:#fff2f6;border-color:#bd7890;color:#351521}
body[data-theme-style=pinkxp] .pixel-tools{background:#fff2f7;border-color:#d98aa7;color:#54243a}
body[data-theme-style=dreamy] .pixel-tools{background:#fff9f4;border-color:#e7b7bd;border-radius:10px;color:#633b50}
.pixel-sticker-layer{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.window-layer{z-index:2}
.pixel-sticker{position:absolute;display:grid;justify-items:center;width:104px;margin:0;padding:5px 5px 3px;pointer-events:auto;touch-action:none;cursor:grab;user-select:none;color:#fff;text-shadow:0 1px 3px #000,1px 1px #000}
.pixel-sticker:active{cursor:grabbing}.pixel-sticker:focus-visible{outline:2px dotted #fff;outline-offset:1px}
.pixel-sticker img{display:block;width:88px;height:88px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(1px 2px 2px #0008)}
.pixel-sticker figcaption{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:bold;text-align:center}
.pixel-sticker button{position:absolute;top:0;right:0;display:grid;place-items:center;width:25px;height:25px;min-height:25px;padding:0;border:1px solid #fff;background:#501338;color:#fff;border-radius:50%;font-size:16px;line-height:1;opacity:.15}
.pixel-sticker:hover button,.pixel-sticker:focus-within button,.pixel-sticker:focus-visible button{opacity:1}
body[data-cursor=pixel],body[data-cursor=pixel] *{cursor:var(--pixel-cursor,auto)!important}
body[data-cursor=pixel] input,body[data-cursor=pixel] textarea{cursor:text!important}
@container app-window (max-width:700px){.pixel-studio-layout{grid-template-columns:minmax(0,1fr)}.pixel-studio canvas{width:min(100%,460px)}.pixel-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.pixel-tools>label,.pixel-tools output,.pixel-tools hr{grid-column:1/-1}.pixel-tools>button{min-width:0}}
@media(max-width:720px){.pixel-studio{padding:0}.pixel-studio-layout{grid-template-columns:minmax(0,1fr)}.pixel-studio canvas{width:min(100%,min(72vw,420px))}.pixel-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.pixel-tools>label,.pixel-tools output,.pixel-tools hr{grid-column:1/-1}.pixel-studio-note{font-size:10px}}

.quick-settings{position:fixed;z-index:9700;right:8px;bottom:calc(var(--taskbar-h) + 8px);width:min(288px,calc(100vw - 16px));max-height:calc(100dvh - var(--taskbar-h) - 16px);overflow:auto;overscroll-behavior:contain;padding:7px;background:var(--silver);color:#111;border:3px outset #eee;box-shadow:5px 5px #0008}
.quick-settings>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:3px 4px 7px;border-bottom:1px solid #888;margin-bottom:5px}
.quick-settings>header button{width:30px;height:30px;padding:0;font-size:18px;font-weight:bold}
.quick-settings>button{display:block;width:100%;min-height:42px;padding:7px 9px;text-align:left;border:0;border-bottom:1px solid #888;background:transparent;color:inherit;white-space:normal}
.quick-settings>a{display:block;width:100%;min-height:42px;padding:11px 9px 7px;text-align:left;border-bottom:1px solid #888;background:transparent;color:inherit;text-decoration:none;white-space:normal}
.quick-settings>button:last-child,.quick-settings>a:last-child{border-bottom:0}
.quick-settings>button:hover,.quick-settings>button:focus-visible{background:#0001;outline:2px dotted currentColor;outline-offset:-3px}
.quick-settings>a:hover,.quick-settings>a:focus-visible{background:#0001;outline:2px dotted currentColor;outline-offset:-3px}
.quick-settings [aria-pressed=true]{font-weight:bold}
.finder-type-tools{display:flex;align-items:end;gap:6px;flex:1 1 250px}
.finder-type-tools label{flex:1;min-width:135px}
.finder-type-tools button{min-height:40px;white-space:nowrap}
.finder-sections{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px;padding:6px;border:2px inset #eee;background:var(--surface,#ddd)}
.finder-sections button{min-height:38px}
.finder-sections [aria-pressed=true]{border-style:inset;background:color-mix(in srgb,var(--user-accent) 16%,var(--silver));font-weight:bold}
.finder-archive,.finder-placeholder{padding:12px;border:1px solid color-mix(in srgb,currentColor 28%,transparent);background:color-mix(in srgb,var(--surface,#ddd) 84%,transparent)}
.finder-archive h3,.finder-placeholder h3{margin-top:0}
.finder-feeds{padding-top:8px;border-top:1px solid color-mix(in srgb,currentColor 28%,transparent)}
.finder-feeds a{margin-right:8px}
.finder-placeholder small{display:inline-block;padding:4px 8px;border:1px dashed currentColor;border-radius:999px;font-weight:bold}
body[data-theme-style=chrome] .quick-settings{background:linear-gradient(145deg,#e9f3f5,#8794a4);border:2px solid #dffbff;color:#101923}
body[data-theme-style=chrome] .quick-settings>button,body[data-theme-style=chrome] .quick-settings>a{border-bottom-color:#647486}
body[data-theme-style=y2k] .quick-settings{background:#ffd9efee;border:1px solid #fff;border-radius:15px;box-shadow:0 8px 22px #7652c766;backdrop-filter:blur(12px);color:#573762}
body[data-theme-style=y2k] .quick-settings>button,body[data-theme-style=y2k] .quick-settings>a{border-radius:8px;border-bottom-color:#d49abd}
body[data-theme-style=pink98] .quick-settings{background:#f7e9ee;border:3px outset #fff0f5;color:#351521;box-shadow:5px 5px #16071166}
body[data-theme-style=pinkxp] .quick-settings{background:#fff1f7;border-color:#f8b7cf;border-radius:11px;color:#54243a}
body[data-theme-style=dreamy] .quick-settings{background:#fff4ef;border:1px solid #e6a0af;border-radius:11px;box-shadow:0 8px 22px #7b405533;color:#633b50}
@media(max-width:720px){.tray-launch{flex-basis:27px;width:27px}}
@media(max-width:360px){.start-button{min-width:46px}.app-switcher-button{min-width:46px;padding:4px}.tray-launch{flex-basis:23px;width:23px}}
@media(max-width:720px){.forge-asset-grid,.forge-share-options{grid-template-columns:1fr}.theme-forge-intro{display:grid}.theme-forge-intro output{max-width:none}.theme-forge-footer{align-items:stretch;flex-direction:column;gap:6px}.theme-forge-panels{min-height:0}.forge-color-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
body.has-theme-colors #windows .app-window .window-content button:not(.desktop-icon):not(.winbtn){background:linear-gradient(#fff,var(--forge-surface));border-color:var(--forge-border);color:var(--forge-text)}body.has-theme-colors #windows .app-window .window-content input,body.has-theme-colors #windows .app-window .window-content textarea,body.has-theme-colors #windows .app-window .window-content select{background-color:var(--forge-surface);color:var(--forge-text)}

/* Desktop Forge layout polish */
.theme-forge{gap:14px;max-width:1120px;padding:2px 2px 0}
.theme-forge-intro{align-items:center;gap:18px;padding:2px 2px 4px}
.theme-forge-intro>div{min-width:0}
.theme-forge-intro p{max-width:68ch;margin:6px 0 0}
.theme-forge-intro output{box-sizing:border-box;flex:0 1 34%;max-width:420px;min-width:210px;min-height:38px;padding:7px 9px;border:1px solid #9b8994;background:#ffffff85;line-height:1.4}
.theme-forge-tabs{flex-wrap:wrap;gap:6px;padding:0 0 8px}
.theme-forge-tabs [role=tab]{min-height:34px;padding:6px 12px}
.theme-forge-tabs [aria-selected=true]{box-shadow:inset 1px 1px 0 #fff}
.theme-forge-panels{min-height:250px}
.theme-forge-panels>section{padding:6px 4px 12px}
.theme-forge-panels h3{margin:0 0 6px;line-height:1.25}
.theme-forge-panels p{max-width:76ch;margin:0 0 14px}
.forge-color-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:10px}
.forge-color{grid-template-columns:minmax(0,1fr) 48px;gap:6px 10px;min-width:0;padding:9px 10px}
.forge-color>span{align-self:center;line-height:1.25}
.forge-color input{box-sizing:border-box;width:48px;height:34px;justify-self:end}
.forge-color code{padding-top:2px;color:#5e515a;font-size:11px;line-height:1.2}
.forge-floor-select{display:grid;grid-template-columns:auto minmax(180px,320px);justify-content:start;gap:8px 12px;margin:14px 0}
.forge-floor-select select{width:100%;min-width:0}
.forge-asset-grid,.forge-share-options{align-items:stretch;gap:12px}
.forge-asset-grid article,.forge-share-options article{gap:9px;padding:12px}
.forge-asset-grid h4,.forge-share-options h4{padding-bottom:2px;border-bottom:1px solid #887b844d;line-height:1.25}
.forge-asset-grid article>label,.forge-share-options form>label{line-height:1.35}
.forge-asset-grid article>input[type=file],.forge-asset-grid article>select,.forge-asset-grid article>label>select{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
.forge-asset-grid img{justify-self:start;border-radius:2px}
.forge-cursor-preview,.forge-icon-preview{margin-top:2px}
.forge-icon-preview img{display:block}
.forge-sticker-list{align-items:start;gap:8px}
.forge-sticker-list figure{box-sizing:border-box;display:grid;justify-items:center;gap:5px;width:96px;min-height:132px;padding:7px}
.forge-sticker-list figure button{width:100%;min-height:28px;padding:4px}
.forge-share-options article>p{margin:0}
.forge-share-options form{gap:7px}
.forge-share-options form input:not([type=checkbox]),.forge-share-options form textarea{box-sizing:border-box;width:100%;min-width:0}
.forge-check{gap:9px;line-height:1.4}
.forge-check input{flex:0 0 auto;margin:2px 0 0}
.theme-forge-footer{bottom:-10px;gap:16px;padding:10px 12px}
.theme-forge-footer span{max-width:72ch;line-height:1.4}
.theme-forge-footer [data-forge-save]{flex:0 0 auto;min-height:36px;padding-inline:14px}
@container app-window (max-width:650px){.theme-forge-intro{align-items:stretch;flex-direction:column;gap:9px}.theme-forge-intro output{flex-basis:auto;min-width:0;max-width:none}.theme-forge-tabs{flex-wrap:nowrap;overflow-x:auto}.theme-forge-panels{min-height:0}.forge-asset-grid,.forge-share-options{grid-template-columns:1fr}.theme-forge-footer{align-items:stretch;flex-direction:column;gap:8px}.theme-forge-footer [data-forge-save]{width:100%}}
@media(max-width:720px){.theme-forge{gap:11px;padding:0}.theme-forge-intro{align-items:stretch;flex-direction:column;gap:9px}.theme-forge-intro output{flex-basis:auto;min-width:0;max-width:none}.theme-forge-tabs{flex-wrap:nowrap;overflow-x:auto}.theme-forge-panels{min-height:0}.theme-forge-panels>section{padding-inline:2px}.forge-color-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.forge-asset-grid,.forge-share-options{grid-template-columns:1fr}.theme-forge-footer{align-items:stretch;flex-direction:column;gap:8px}.theme-forge-footer [data-forge-save]{width:100%}}
@media(max-width:380px){.forge-color-grid{grid-template-columns:1fr}.forge-floor-select{grid-template-columns:1fr;gap:6px}}

/* A dedicated phone-sized launcher; desktop shortcuts remain the desktop surface. */
.mobile-home{display:none}
@media(max-width:720px){
  #shortcuts{display:none}
  .mobile-home{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;gap:14px;overflow:auto;overscroll-behavior:contain;padding:12px 12px calc(var(--taskbar-h) + 16px);color:#241824}
  .mobile-home[hidden]{display:none}
  .mobile-home-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:13px;background:linear-gradient(135deg,var(--user-accent2),var(--user-accent));color:#fff;border:2px solid #ffffffa8;border-radius:12px;box-shadow:0 4px 12px #24112742}
  .mobile-home-brand{display:flex;align-items:center;gap:11px;min-width:0}
  .mobile-home-avatar{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;background:#ffffffdf;color:#342038;border:2px solid #fff;border-radius:50%;font-size:27px}
  .mobile-home-brand>div{min-width:0}
  .mobile-home-eyebrow{margin:0 0 3px;font-size:9px;font-weight:900;letter-spacing:1.4px;opacity:.82}
  .mobile-home-banner h1{margin:0;font-size:clamp(17px,5vw,23px);line-height:1.1;overflow-wrap:anywhere}
  .mobile-home-theme{margin:4px 0 0;font-size:11px;line-height:1.25;opacity:.9}
  .mobile-home-actions{display:flex;align-items:center;gap:5px;flex:0 0 auto}
  .mobile-home-action,.mobile-home-profile{display:grid;place-items:center;flex:0 0 auto;min-width:40px;min-height:42px;padding:5px;border:1px solid #ffffffb0;border-radius:8px;background:#ffffff26;color:inherit;font-size:16px;font-weight:bold}
  .mobile-home-profile{flex:0 0 auto;min-height:42px;padding:6px 9px;border:1px solid #ffffffb0;border-radius:8px;background:#ffffff26;color:inherit;font-size:11px;font-weight:bold}
  .mobile-home-section{display:grid;gap:8px}
  .mobile-floor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mobile-floor-card{display:flex;align-items:center;gap:8px;min-width:0;min-height:64px;padding:8px;text-align:left;background:#fffF;border:1px solid color-mix(in srgb,var(--user-accent2) 28%,white);border-radius:9px;box-shadow:0 2px 5px #2411271a;color:#241824}
  .mobile-floor-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:8px;background:color-mix(in srgb,var(--user-accent) 12%,white);font-size:23px}
  .mobile-floor-icon .os-icon-image{width:25px;height:25px}
  .mobile-floor-copy{display:grid;gap:3px;min-width:0}
  .mobile-floor-copy strong{font-size:13px;line-height:1.1}
  .mobile-floor-copy small{font-size:9px;line-height:1.2;opacity:.7;overflow-wrap:anywhere}
  .mobile-floor-arrow{margin-left:auto;font-size:21px;color:var(--user-accent2)}
  .mobile-home button:focus-visible{outline:3px solid var(--user-accent);outline-offset:2px;z-index:1}
  body[data-theme-style=classic] .mobile-home-banner,body[data-theme-style=pink98] .mobile-home-banner{border-radius:0;box-shadow:4px 4px #0005}
  body[data-theme-style=classic] .mobile-floor-card,body[data-theme-style=pink98] .mobile-floor-card{border-radius:0;box-shadow:none}
  body[data-theme-style=chrome] .mobile-home-banner{border-radius:18px;background:linear-gradient(135deg,#27394c,var(--user-accent2),var(--user-accent));box-shadow:inset 0 1px #ffffffa8,0 6px 15px #04101c75}
  body[data-theme-style=chrome] .mobile-floor-card{border:1px solid #ffffffc9;border-radius:15px;box-shadow:0 5px 13px #172b3c35}
  body[data-theme-style=y2k] .mobile-home-banner,body[data-theme-style=pinkxp] .mobile-home-banner,body[data-theme-style=dreamy] .mobile-home-banner{border-radius:19px;box-shadow:0 6px 18px color-mix(in srgb,var(--user-accent2) 35%,transparent)}
  body[data-theme-style=y2k] .mobile-floor-card,body[data-theme-style=pinkxp] .mobile-floor-card,body[data-theme-style=dreamy] .mobile-floor-card{border-radius:13px;box-shadow:0 4px 10px color-mix(in srgb,var(--user-accent2) 17%,transparent)}
}
@media(max-width:380px){.mobile-home{padding-inline:8px}.mobile-home-banner{padding:10px;gap:7px}.mobile-home-avatar{flex-basis:40px;width:40px;height:40px;font-size:23px}.mobile-home-profile{font-size:10px;padding-inline:7px}.mobile-floor-grid{gap:6px}.mobile-floor-card{gap:6px;padding:6px}.mobile-floor-copy strong{font-size:12px}.mobile-floor-copy small{font-size:8px}}

/* Pocket desktop: preserve the wallpaper, desktop icons, and taskbar metaphor. */
@media(max-width:720px){
  #shortcuts{display:grid;position:absolute;inset:61px 0 0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;grid-auto-columns:auto;grid-auto-rows:82px;align-content:start;justify-items:center;gap:3px;width:auto;height:auto;padding:7px 8px 8px;overflow:auto;overscroll-behavior:contain}
  #shortcuts.icons-column-arranged,body.compact-icons #shortcuts.icons-column-arranged{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;grid-auto-flow:row;grid-auto-columns:auto;grid-auto-rows:82px;width:auto;height:auto;overflow-x:hidden;overflow-y:auto}
  #shortcuts .desktop-icon{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:min(100%,108px);max-width:108px;min-width:0;height:79px;padding:2px 3px;color:#fff;text-shadow:1px 1px 2px #000,0 0 4px #000;border:1px solid transparent;border-radius:4px;background:transparent;text-align:center}
  #shortcuts .desktop-icon:active,#shortcuts .desktop-icon.selected{border:1px solid #ffffff8c;background:#ffffff26}
  #shortcuts .desktop-icon .glyph{display:grid;place-items:center;flex:0 0 48px;width:100%;line-height:46px;font-size:37px}
  #shortcuts .desktop-icon .glyph .os-icon-image{width:43px;height:43px}
  #shortcuts .desktop-icon .icon-label{max-width:100%;padding:1px 4px;font-size:11px;line-height:1.15;overflow-wrap:anywhere;background:#130c1c38;border-radius:3px}
  body.compact-icons #shortcuts .desktop-icon{width:min(100%,108px);height:79px;font-size:inherit}
  body.compact-icons #shortcuts .desktop-icon .glyph{flex-basis:48px;line-height:46px}
  body.compact-icons #shortcuts .desktop-icon .glyph .os-icon-image{width:43px;height:43px}
  .mobile-home{position:absolute;inset:5px 7px auto;z-index:2;display:block;overflow:visible;padding:0;pointer-events:none}
  .mobile-home[hidden]{display:none}
  .mobile-home-banner{display:flex;align-items:center;justify-content:space-between;min-height:49px;gap:8px;padding:5px 8px;border:2px outset var(--silver);border-radius:5px;background:color-mix(in srgb,var(--silver) 88%,white);color:#211521;box-shadow:2px 2px #0006;pointer-events:auto}
  .mobile-home-brand{display:flex;align-items:center;gap:7px;min-width:0}
  .mobile-home-avatar{flex:0 0 35px;width:35px;height:35px;font-size:21px;border:1px solid #ffffffb8}
  .mobile-home-brand>div{min-width:0}
  .mobile-home-eyebrow{display:none}
  .mobile-home-banner h1{margin:0;font-size:13px;line-height:1.2;color:var(--user-accent2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-home-theme{margin:2px 0 0;font-size:10px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.8}
  .mobile-home-actions{gap:3px}
  .mobile-home-action,.mobile-home-profile{min-width:36px;min-height:36px;padding:3px;border:2px outset #fff;border-radius:3px;background:var(--silver);color:#211521;font-size:16px}
  .mobile-home-action:active,.mobile-home-profile:active{border-style:inset}
  .mobile-home-action-icon{display:grid;place-items:center;line-height:1}
  .mobile-home-action-icon .os-icon-image{width:23px;height:23px}
  .mobile-home-profile{font-size:0}
  .mobile-home-profile:before{content:'👤';font-size:17px}
  .mobile-home button:focus-visible,#shortcuts .desktop-icon:focus-visible{outline:3px dotted var(--user-accent);outline-offset:1px;z-index:1}
  body[data-theme-style=classic] .mobile-home-banner,body[data-theme-style=pink98] .mobile-home-banner{border-radius:0;box-shadow:2px 2px #0007}
  body[data-theme-style=chrome] .mobile-home-banner{background:linear-gradient(135deg,#dce8ef,#8794a4 48%,#303a49);border:2px solid #dffbff;color:#101923}
  body[data-theme-style=chrome] .mobile-home-banner h1,body[data-theme-style=chrome] .mobile-home-theme{color:#101923}
  body[data-theme-style=y2k] .mobile-home-banner,body[data-theme-style=pinkxp] .mobile-home-banner,body[data-theme-style=dreamy] .mobile-home-banner{border-radius:12px;background:linear-gradient(110deg,#fff0f8,#f1c8df);border:1px solid #fff;box-shadow:0 3px 10px #7652c766}
  body[data-theme-style=y2k] .mobile-home-banner h1,body[data-theme-style=pinkxp] .mobile-home-banner h1,body[data-theme-style=dreamy] .mobile-home-banner h1{color:#573762}
  body[data-theme-style=y2k] .mobile-home-profile,body[data-theme-style=pinkxp] .mobile-home-profile,body[data-theme-style=dreamy] .mobile-home-profile,body[data-theme-style=y2k] .mobile-home-action,body[data-theme-style=pinkxp] .mobile-home-action,body[data-theme-style=dreamy] .mobile-home-action{border-radius:9px;background:linear-gradient(#fff8fd,#eab4dc);color:#5b376d}
}
@media(max-width:380px){#shortcuts{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;padding-inline:5px}#shortcuts .desktop-icon{font-size:10px}.mobile-home-banner{gap:5px;padding-inline:6px}.mobile-home-avatar{flex-basis:31px;width:31px;height:31px;font-size:19px}.mobile-home-actions{gap:2px}.mobile-home-action,.mobile-home-profile{min-width:34px;min-height:36px;padding:2px}.mobile-home-profile{font-size:0}}

@media(max-width:720px){#app-switcher-button{display:none!important}}

/* Themes tab: separate the theme cards, action, and save hint visually. */
#windows .app-window .window-content .theme-forge [data-forge-panel="themes"] .theme-choices{margin-bottom:18px}
#windows .app-window .window-content .theme-forge [data-forge-panel="themes"] [data-forge-base-apply]{margin-top:0;min-height:38px;padding-inline:14px}
#windows .app-window .window-content .theme-forge .theme-forge-footer span{position:relative;top:4px}

.local-recovery{border:2px solid #a04c78;background:#fff0f8;color:#421b32;padding:10px;margin-bottom:10px}
.local-recovery p{margin:6px 0 9px}
.local-recovery button{margin:3px 6px 2px 0}
.recovery-badge{display:block;margin-top:4px;color:#7a2452;font-weight:700}
.desk-editor form[inert]{opacity:.72}
