/* Landscape activity shell. The outer canvas is 1560 x 720 with 140px empty
   side bars. Reference UI remains in a 1256 x 662 logical wrapper, uniformly
   fitted to the central 1280px. activity-theme.js owns input conversion. */
html.activity-theme {
  --jade: #655ce1;
  --jade-d: #47429c;
  --ink: #2b2b62;
  --muted: #71789c;
  --cream: #f6f5ff;
  --sat: 0px;
  --sab: 0px;
  --hud-b: 52px;
}
html.activity-theme, html.activity-theme body { width: 100%; height: 100%; overflow: hidden; }
html.activity-theme body { background: #090a10; }
html.activity-theme #root {
  position: fixed;
  left: 0;
  top: 0;
  width: 1560px;
  height: 720px;
  overflow: hidden;
  transform-origin: 0 0;
  background: #090a10;
  isolation: isolate;
}
html.activity-theme #activity-core-bg {
  position: absolute; left: 140px; top: 0; width: 1280px; height: 720px;
  z-index: 0; pointer-events: none;
  background: #5554db url('./assets/background.png') center center / cover no-repeat;
}
html.activity-theme #activity-content {
  position: absolute; left: 140px; top: 22.675159px;
  width: 1256px; height: 662px; overflow: hidden; z-index: 1;
  transform: scale(1.019108280254777); transform-origin: 0 0;
  background: transparent;
}
html.activity-theme #activity-header { position: absolute; inset: 0 0 auto; height: 74px; z-index: 40; pointer-events: none; }
html.activity-theme #activity-header h1 {
  position: absolute; left: 109px; top: 9px; margin: 0;
  color: #fff3ae; font: 900 32px/42px 'Kaiti SC', 'STKaiti', 'KaiTi', 'PingFang SC', serif;
  letter-spacing: 2px; white-space: nowrap;
  text-shadow: 0 2px 0 #a46d45, 0 3px 2px #7360a1;
}
html.activity-theme #activity-help {
  position: absolute; left: 290px; top: 11px; width: 26px; height: 26px;
  border: 0; padding: 0; background: url('./assets/help.png') center / contain no-repeat;
  color: transparent; pointer-events: auto;
}
html.activity-theme #activity-help img { display: block; width: 100%; height: 100%; object-fit: contain; }
html.activity-theme .activity-status { position: absolute; left: 332px; top: 14px; color: #fff; font-size: 21px; font-weight: 800; line-height: 30px; text-shadow: 0 2px 2px #41449f; white-space: nowrap; }
html.activity-theme #activity-hud-slot { position: absolute; inset: 0; }
html.activity-theme #hud {
  position: absolute; left: 0; top: 0; width: 1256px; height: 64px;
  display: block; padding: 0; pointer-events: none;
}
html.activity-theme #hud .hud-pill { visibility: visible; max-width: none; overflow: visible; pointer-events: auto; }
html.activity-theme #hud-money {
  position: absolute; left: 713px; top: 8px; width: 165px; height: 36px;
  padding: 0 10px 0 39px; border-radius: 0; color: #fff8e8;
  background: linear-gradient(90deg, transparent, #293e8b44 22%, #30418655 75%, transparent);
  font-size: 26px; line-height: 36px; text-shadow: 0 2px 2px #2b397a;
}
html.activity-theme #hud-money .coin-ic { position: absolute; left: 4px; top: 3px; width: 27px; height: 27px; margin: 0; box-shadow: inset 0 0 0 2px #b77d00, inset 0 0 0 4px #ffdd66, 0 2px 2px #26357588; }
html.activity-theme #hud-money-v { display: block; width: 117px; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 26px; }
html.activity-theme #hud .lv {
  position: absolute; left: 880px; top: 7px; width: 210px; height: 40px;
  padding: 0 7px 0 42px; border-radius: 0; margin: 0;
  color: #fff8e8; background: linear-gradient(90deg, transparent, #293e8b44 22%, #30418655 75%, transparent);
  font-size: 15px; text-shadow: 0 2px 2px #2b397a;
}
html.activity-theme #hud .lv::before { content: ''; position: absolute; left: 0; top: 5px; width: 34px; height: 28px; background: url('./assets/diamond.png') center / contain no-repeat; }
html.activity-theme #hud-lv { white-space: nowrap; font-size: 15px; line-height: 23px; }
html.activity-theme .lvbar { width: 130px; margin: 0; height: 4px; }
html.activity-theme #menu-btn {
  position: absolute; left: 1116px; top: 12px; width: 76px; height: 30px;
  padding: 0; border: 1px solid #c0d2ffcc; border-radius: 16px; margin: 0;
  background: linear-gradient(#83b2f7, #6276d2); color: #fff; box-shadow: 0 2px 0 #34347c;
  transform: none; justify-content: center; font-size: 13px; pointer-events: auto;
}
html.activity-theme #menu-btn:active { transform: translateY(2px); }
html.activity-theme #menu-btn .mb-ic { width: 13px; margin-right: 4px; }
html.activity-theme #menu-btn .mb-ic i { height: 2px; background: #fff; }
html.activity-theme #activity-nav { position: absolute; left: 43px; top: 0; width: 183px; height: 662px; z-index: 12; }
html.activity-theme #activity-nav::before { content: ''; position: absolute; left: 23px; top: 122px; height: 492px; width: 3px; border-left: 3px dotted #b8a7f0b3; pointer-events: none; }
html.activity-theme .activity-nav-item {
  position: absolute; left: 0; width: 183px; height: 64px; padding: 0 6px 0 57px;
  display: flex; align-items: center; justify-content: flex-start;
  border: 0; border-radius: 8px 4px 8px 4px; background: transparent; box-shadow: none;
  color: #f6efff; font-size: 20px; font-weight: 850; line-height: 1.3; letter-spacing: .5px;
  text-align: left; text-shadow: 0 2px 2px #3e347a, 0 0 4px #7d61c377;
}
html.activity-theme .activity-nav-item:nth-child(1) { top: 90px; }
html.activity-theme .activity-nav-item:nth-child(2) { top: 160px; }
html.activity-theme .activity-nav-item:nth-child(3) { top: 229px; }
html.activity-theme .activity-nav-item:nth-child(4) { top: 301px; }
html.activity-theme .activity-nav-item:nth-child(5) { top: 371px; }
html.activity-theme .activity-nav-item:nth-child(6) { top: 441px; }
html.activity-theme .activity-nav-item:nth-child(7) { top: 511px; }
html.activity-theme .activity-nav-item:nth-child(8) { top: 582px; }
html.activity-theme .activity-nav-item::before { content: ''; position: absolute; left: 18px; top: 25px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #d7cfff; background: #7168c2; box-shadow: 0 0 0 3px #ac9be677, inset 0 1px #e6d8ff88; }
html.activity-theme .activity-nav-item[aria-current='page'], html.activity-theme .activity-nav-item.on {
  background: linear-gradient(100deg, #7747c5aa, #bc39d2b0 57%, #7952db55);
  box-shadow: inset 0 0 0 1px #ef8bff, inset 0 0 11px #ffb7ff55, 0 0 13px #d841e84d;
  text-shadow: 0 0 6px #fa79ff, 0 2px #66368e;
}
html.activity-theme .activity-nav-item[aria-current='page']::after, html.activity-theme .activity-nav-item.on::after { content: ''; position: absolute; inset: 4px; border: 1px solid #e7b7ff99; border-radius: 5px 2px 5px 2px; pointer-events: none; }
html.activity-theme .activity-nav-item:disabled { cursor: default; opacity: .66; }
html.activity-theme .activity-nav-item:not(:disabled):hover { color: #fff8bf; }
html.activity-theme .activity-nav-item:focus-visible { outline: 2px solid #fff8bf; outline-offset: 1px; }
html.activity-theme #activity-frame { position: absolute; left: 243px; top: 104px; width: 940px; height: 473px; z-index: 1; background: url('./assets/frame.png') 0 0 / 100% 100% no-repeat; pointer-events: none; }
html.activity-theme #app {
  position: absolute; left: 243px; top: 104px; right: auto; bottom: auto;
  width: 940px; height: 473px !important; display: block; overflow: hidden;
  border: 0; border-radius: 18px; background: transparent !important; box-shadow: none;
  z-index: 3;
}
html.activity-theme #app > .safe-top, html.activity-theme #app > .top-gap, html.activity-theme #panel > .safe-bottom { display: none; }
html.activity-theme #activity-frame-title { position: absolute; left: 44px; top: 14px; margin: 0; color: #fff8bf; font-size: 22px; font-weight: 900; line-height: 30px; text-shadow: 0 2px 0 #6a49ac; white-space: nowrap; }
html.activity-theme .activity-frame-note { position: absolute; right: 58px; top: 19px; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-shadow: 0 1px 1px #5d438c; }
html.activity-theme #stage,
html.activity-theme #app:not(.on) #stage {
  position: absolute; left: 42px; top: 60px; right: auto; bottom: auto;
  width: 550px; height: 354px; min-height: 0; overflow: hidden;
  border: 0; border-radius: 10px;
  background: radial-gradient(ellipse at 50% 43%, #79b7ac 0%, #3c8b7e 50%, #1c5d58 100%);
  box-shadow: 0 2px 0 #8c79c859, inset 0 0 0 2px #d7f1ffcc, inset 0 0 28px #17386638;
}
html.activity-theme #app.fold #stage { width: 856px; }
html.activity-theme #stage canvas, html.activity-theme #stage #cutline { max-width: 100%; max-height: 100%; }
html.activity-theme #stage .hint { top: 22px; max-width: 92%; font-size: 13px; }
html.activity-theme #stage .ticker { top: 0; bottom: auto; height: auto; border-radius: 0 0 8px 8px; font-size: 11px; }
html.activity-theme #stage .gl-status { max-width: 92%; }
html.activity-theme #stage .fx { overflow: hidden; }
html.activity-theme #panel {
  position: absolute; left: 610px; top: 60px; right: auto; bottom: auto;
  width: 288px; height: 354px !important; display: flex; flex-direction: column;
  border: 1px solid #b2cfff; border-radius: 10px;
  background: linear-gradient(180deg, #e5f2ff 0%, #f7f2ff 56%, #e9d9ff 100%);
  box-shadow: 0 2px 0 #a589cf99, inset 0 0 0 1px #ffffff80;
}
html.activity-theme #app:not(.on) #panel, html.activity-theme #app.fold #panel { display: none; }
html.activity-theme #panel-inner { height: 100%; max-height: 100%; padding: 12px 10px 14px; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #a493e0 #e4e8ff; }
html.activity-theme #panel-inner::-webkit-scrollbar { width: 5px; }
html.activity-theme #panel-inner::-webkit-scrollbar-thumb { border-radius: 5px; background: #a493e0; }
html.activity-theme #panel-inner .card { margin-top: 10px; padding: 10px; border: 1px solid #d8ddf8; border-radius: 9px; background: #ffffffd9; box-shadow: 0 2px 5px #6563aa0d; }
html.activity-theme #panel-inner .tabs { background: #cccef1; border-radius: 8px; padding: 3px; }
html.activity-theme #panel-inner .tab.on { color: #4b439b; background: #fff6c7; }
html.activity-theme #panel-inner .sc-name { font-size: 16px; }
html.activity-theme #panel-inner .sc-w { font-size: 11px; }
html.activity-theme #panel-inner .price { color: #9c3e65; }
html.activity-theme #panel-inner .btn { min-height: 38px; padding: 6px 9px; border-radius: 9px; font-size: 14px; background: linear-gradient(#858cf2, #6368cf); box-shadow: 0 3px 0 #424b9b; }
html.activity-theme #panel-inner .btn.gold { color: #6a3500; background: linear-gradient(#fff1a4, #ffd94c); box-shadow: 0 3px 0 #c8a12f; }
html.activity-theme #panel-inner .btn.ghost { color: #4b4c8e; background: linear-gradient(#f4f5ff, #d9ddf5); box-shadow: 0 3px 0 #a7add3; }
html.activity-theme #panel-inner .btn.red { color: #fff; background: linear-gradient(#ed9bb6, #d4638e); box-shadow: 0 3px 0 #a64870; }
html.activity-theme #panel-inner .btn.sq { width: 32px; padding: 0; font-size: 25px; }
html.activity-theme #panel-inner .row > * + * { margin-left: 5px; }
html.activity-theme #panel-inner .tool.on { background: #e4ddff; border-color: #b0a4ed; color: #4c4098; }
html.activity-theme #panel-inner .tag { font-size: 11px; }
html.activity-theme #panel-inner .theme-proxied { display: none !important; }
html.activity-theme #panel-inner .quick-row { margin-top: 8px; }
html.activity-theme #panel-inner .quick-row .qk { color: #58548e; background: #ffffffb3; }
html.activity-theme #activity-footer { position: absolute; left: 0; top: 0; width: 1256px; height: 662px; z-index: 31; pointer-events: none; }
html.activity-theme #activity-primary, html.activity-theme #activity-secondary {
  position: absolute; top: 540px; width: 244px; height: 72px; min-height: 72px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 10px; padding: 0 12px; background: transparent; box-shadow: none;
  color: #8e2404; font-size: 31px; font-weight: 900; line-height: 1.15; letter-spacing: 1px;
  text-shadow: 0 1px 0 #ffea80; pointer-events: auto; isolation: isolate;
}
html.activity-theme #activity-primary { left: 414px; }
html.activity-theme #activity-secondary { left: 705px; color: #29243b; text-shadow: 0 1px 0 #e8ff8b; }
html.activity-theme #activity-primary::before, html.activity-theme #activity-secondary::before { content: ''; position: absolute; left: -15px; top: -15px; width: 275px; height: 103px; z-index: -1; background: url('./assets/button-yellow.png') center / 100% 100% no-repeat; pointer-events: none; }
html.activity-theme #activity-secondary::before { background-image: url('./assets/button-gradient.png'); }
html.activity-theme #activity-primary img, html.activity-theme #activity-secondary img { display: none; }
html.activity-theme #activity-primary span, html.activity-theme #activity-secondary span { max-width: 100%; }
html.activity-theme #activity-primary small, html.activity-theme #activity-secondary small { display: block; font-size: 12px; font-weight: 800; line-height: 1.3; margin-top: 3px; letter-spacing: 0; }
html.activity-theme #activity-primary:disabled, html.activity-theme #activity-secondary:disabled { color: #77738e; cursor: default; }
html.activity-theme #activity-primary:disabled::before, html.activity-theme #activity-secondary:disabled::before { filter: grayscale(.6); opacity: .68; }
html.activity-theme #activity-primary:not(:disabled):active, html.activity-theme #activity-secondary:not(:disabled):active { transform: translateY(3px); }
html.activity-theme #activity-primary:not(:disabled):hover::before, html.activity-theme #activity-secondary:not(:disabled):hover::before { filter: brightness(1.04); }
html.activity-theme #activity-primary:focus-visible, html.activity-theme #activity-secondary:focus-visible { outline: 2px solid #fff8bf; outline-offset: 3px; }
html.activity-theme #activity-more { z-index: 32; position: absolute; left: 1015px; top: 588px; width: 110px; height: 24px; padding: 0; border: 1px solid #d7ddff; border-radius: 15px; background: #f6f8ff; color: #6378d3; font-size: 15px; font-weight: 850; line-height: 22px; box-shadow: 0 2px 2px #45499777; pointer-events: auto; }
html.activity-theme .activity-footnote { position: absolute; left: 285px; top: 628px; width: 856px; color: #e0dcff; font-size: 11px; font-weight: 650; line-height: 18px; text-align: center; text-shadow: 0 1px 1px #403b9c; }
html.activity-theme #activity-close { position: absolute; left: 1140px; top: 108px; width: 40px; height: 44px; z-index: 41; padding: 0; border: 1px solid #ffe1ff; border-radius: 10px; background: linear-gradient(#ff9be2 0%, #f681cf 43%, #e065bb 75%, #c85bab 100%); box-shadow: inset 0 2px 0 #ffffffaa, inset 0 -4px 0 #af4e9e66, 0 3px 0 #a94a9c, 0 4px 4px #5d398c66; color: transparent; font-size: 0; }
html.activity-theme #activity-close::before, html.activity-theme #activity-close::after { content: ''; position: absolute; left: 17px; top: 9px; width: 6px; height: 23px; border-radius: 4px; background: #fff; transform: rotate(45deg); }
html.activity-theme #activity-close::after { transform: rotate(-45deg); }
html.activity-theme #activity-close:active { transform: translateY(2px); }
html.activity-theme #title { position: absolute; left: 243px; top: 104px; right: auto; bottom: auto; width: 940px; height: 473px; z-index: 30; overflow: hidden; border-radius: 18px; }
html.activity-theme #title .title-top { display: none; }
html.activity-theme #title .title-bottom { position: absolute; left: 610px; top: 111px; width: 288px; height: 304px; padding: 28px 15px 15px; justify-content: center; border: 1px solid #ceddff; border-radius: 10px; background: linear-gradient(180deg, #e4f2fff2, #f8e8fff5); box-shadow: 0 3px 0 #a88bdc; }
html.activity-theme #title .title-bottom::before { content: '翡翠鉴宝'; display: block; margin-bottom: 10px; font-size: 27px; font-weight: 900; color: #51479f; letter-spacing: 2px; text-shadow: 0 1px 0 #fff; }
html.activity-theme #title .title-bottom::after { content: '选原石 · 打灯 · 切石\A雕琢玉料 · 拍卖珍品'; display: block; order: -1; margin-bottom: 18px; color: #706da1; font-size: 13px; line-height: 1.8; text-align: center; white-space: pre-line; }
html.activity-theme #title-start.theme-proxied { display: none !important; }
html.activity-theme #title-start { font-size: 18px; }
html.activity-theme #title #title-land { display: none; }
html.activity-theme #title .title-links { flex-wrap: wrap; margin-top: 4px; }
html.activity-theme #title .title-links .link, html.activity-theme #title-restart { font-size: 12px; color: #6562a1; }
html.activity-theme #title .title-tip { color: #7c75a1; font-size: 11px; white-space: nowrap; }
html.activity-theme #title .boot-status { color: #686197; font-size: 13px; }
html.activity-theme #title .boot-status.err { color: #a62f52; }
html.activity-theme #menu-scrim, html.activity-theme .modal-mask { position: absolute; left: 0; top: 0; width: 1256px; height: 662px; right: auto; bottom: auto; background: #20204f88; }
html.activity-theme #menu { width: 320px; max-height: 510px; border-color: #7b70c4; border-radius: 14px; background: #f5f2ff; box-shadow: 0 4px 0 #57539b, 0 12px 30px #28266055; }
html.activity-theme #menu .mi { background: #e5e2f5; color: #535080; }
html.activity-theme #menu .close-pill { background: #6a61b2; }
html.activity-theme .modal-mask { padding: 30px 70px; }
html.activity-theme .modal-card { max-height: 590px; border: 2px solid #c9c3f1; background: #faf8ff; border-radius: 18px; box-shadow: 0 5px 0 #6861a4, 0 16px 44px #29264d66; }
html.activity-theme .modal-title { color: #4c458a; }
html.activity-theme .modal-body { color: #595777; }
html.activity-theme #toast-root { position: absolute; left: 285px; top: 176px; right: auto; width: 856px; z-index: 60; }
html.activity-theme .toast { background: #302956ed; border: 1px solid #aaa0dc; color: #fff7d4; }
html.activity-theme #coin-layer { position: absolute; left: 0; top: 0; right: auto; bottom: auto; width: 1256px; height: 662px; }
@media (prefers-reduced-motion: reduce) {
  html.activity-theme .activity-nav-item, html.activity-theme #activity-primary, html.activity-theme #activity-secondary { transition: none; }
}

/* Simple two-column UI v2: the stage is solely for the object and animation.
   All reading and actions live in the right-hand panel, including the footer. */
html.activity-theme.simple-ui #stage,
html.activity-theme.simple-ui #app:not(.on) #stage,
html.activity-theme.simple-ui #app.fold #stage {
  left: 32px; top: 64px; width: 500px; height: 376px;
}
html.activity-theme.simple-ui #panel {
  left: 552px; top: 64px; width: 350px; height: 376px !important;
  overflow: hidden; border-radius: 12px;
  background: linear-gradient(180deg, #f5f7ff, #f8f4ff 70%, #eee9ff);
}
html.activity-theme.simple-ui #activity-guide {
  position: relative; flex: 0 0 74px; height: 74px; min-height: 74px;
  padding: 12px 14px 8px; border-bottom: 1px solid #d8dcf3;
  background: #ffffff7d;
}
html.activity-theme.simple-ui #activity-guide .guide-badge {
  position: absolute; left: 14px; top: 12px; min-width: 38px; height: 23px;
  padding: 0 7px; border: 1px solid #cdc6ed; border-radius: 7px;
  background: #eee9ff; color: #7562ac; font-size: 12px; font-weight: 850;
  line-height: 21px; text-align: center; font-variant-numeric: tabular-nums;
}
html.activity-theme.simple-ui #activity-guide h3 {
  margin: 0; padding-left: 113px; min-height: 24px; color: #413a77;
  font-size: 17px; font-weight: 850; line-height: 24px;
}
html.activity-theme.simple-ui #activity-guide p {
  margin: 4px 0 0; padding: 0; color: #72728f;
  font-size: 12px; font-weight: 500; line-height: 17px;
}
html.activity-theme.simple-ui #panel-inner {
  flex: 1 1 auto; width: 100%; height: auto; min-height: 0; max-height: none;
  padding: 9px 14px 7px; overflow-x: hidden; overflow-y: auto;
}
html.activity-theme.simple-ui #panel-inner > .card:first-child { margin-top: 0; }
html.activity-theme.simple-ui #panel-inner .stone-card {
  margin-top: 0; padding: 9px 10px; background: #fff;
  border-color: #e2e3f2; box-shadow: none;
}
html.activity-theme.simple-ui #panel-inner .stone-card .sc-name { font-size: 17px; line-height: 24px; }
html.activity-theme.simple-ui #panel-inner .stone-card .sc-w { font-size: 12px; }
html.activity-theme.simple-ui #panel-inner .stone-card .tags { margin-top: 5px; }
html.activity-theme.simple-ui #panel-inner .stone-card .tag { margin-bottom: 2px; padding: 2px 7px; font-size: 11px; }
html.activity-theme.simple-ui #panel-inner .stone-card .sc-bottom { margin-top: 7px; }
html.activity-theme.simple-ui #panel-inner .stone-card .price { font-size: 24px; line-height: 26px; }
html.activity-theme.simple-ui #panel-inner > .row { margin-top: 8px; }
html.activity-theme.simple-ui #panel-inner .row .btn { min-height: 34px; font-size: 13px; }
html.activity-theme.simple-ui #panel-inner .row .btn.sq { width: 38px; font-size: 25px; }
html.activity-theme.simple-ui #panel-inner .row .flash-btn { flex: 1 1 auto; }
html.activity-theme.simple-ui #panel-inner .row > * + * { margin-left: 7px; }
html.activity-theme.simple-ui .theme-market-more {
  margin-top: 8px; padding: 0; border-top: 1px solid #e0dff0;
  color: #76728e; font-size: 12px; line-height: 1.5;
}
html.activity-theme.simple-ui .theme-market-more > summary {
  padding: 6px 2px 0; cursor: pointer; color: #7b719c;
  font-size: 12px; font-weight: 650; line-height: 19px;
}
html.activity-theme.simple-ui .theme-market-more[open] > summary { padding-bottom: 5px; }
html.activity-theme.simple-ui .theme-market-more .tabs { margin-top: 5px; }
html.activity-theme.simple-ui .theme-market-more .sc-note { margin-top: 8px; font-size: 12px; line-height: 1.6; }
html.activity-theme.simple-ui .theme-market-more .quick-row { margin-top: 7px; }
html.activity-theme.simple-ui .theme-market-more #ticker,
html.activity-theme.simple-ui .theme-market-more .ticker {
  position: static; left: auto; top: auto; right: auto; bottom: auto;
  width: auto; height: auto; max-width: none; margin-top: 8px; padding: 7px;
  border-radius: 6px; color: #e7e4ff; background: #625a89; font-size: 11px;
  text-align: left;
}
html.activity-theme.simple-ui #stage #ticker,
html.activity-theme.simple-ui #stage #hint { display: none !important; }
html.activity-theme.simple-ui #activity-more,
html.activity-theme.simple-ui .activity-footnote { display: none !important; }
html.activity-theme.simple-ui #panel #activity-footer,
html.activity-theme.simple-ui #title #activity-footer {
  position: relative; left: auto; top: auto; right: auto; bottom: auto;
  flex: 0 0 98px; order: 999; display: flex; flex-direction: column;
  align-items: stretch; justify-content: flex-start;
  width: 100%; height: 98px; min-height: 98px; max-height: 98px;
  margin: 0; padding: 8px 16px 12px; z-index: 4; pointer-events: auto;
  border-top: 1px solid #dddcf0; background: #f5f2ff;
}
html.activity-theme.simple-ui #activity-footer #activity-primary,
html.activity-theme.simple-ui #activity-footer #activity-secondary {
  position: relative; left: auto; top: auto; right: auto; bottom: auto;
  flex: 0 0 auto; display: flex; flex-direction: column;
  width: 100%; min-width: 0; max-width: none;
  margin: 0; padding: 0 10px; border: 0; border-radius: 8px;
  transform: none; letter-spacing: .5px;
}
html.activity-theme.simple-ui #activity-footer #activity-primary {
  height: 46px; min-height: 46px; font-size: 20px; font-weight: 850;
  color: #7b3506; line-height: 23px;
}
html.activity-theme.simple-ui #activity-footer #activity-secondary {
  height: 26px; min-height: 26px; margin-top: 6px;
  color: #636384; font-size: 13px; font-weight: 650; line-height: 22px;
  text-shadow: none;
}
html.activity-theme.simple-ui #activity-footer #activity-primary::before,
html.activity-theme.simple-ui #activity-footer #activity-secondary::before {
  left: -6.101695%; top: -20.689655%; width: 112.542373%; height: 142.528736%;
}
html.activity-theme.simple-ui #activity-footer #activity-secondary::before { opacity: .25; filter: saturate(.5); }
html.activity-theme.simple-ui #activity-footer #activity-primary small,
html.activity-theme.simple-ui #activity-footer #activity-secondary small {
  display: inline; margin: 0 0 0 5px; font-size: 11px; font-weight: 650; line-height: 15px;
}
html.activity-theme.simple-ui #activity-footer #activity-primary:not(:disabled):active,
html.activity-theme.simple-ui #activity-footer #activity-secondary:not(:disabled):active { transform: translateY(2px); }
html.activity-theme.simple-ui #title .title-bottom {
  left: 552px; top: 64px; width: 350px; height: 376px;
  display: flex; align-items: stretch; justify-content: flex-start;
  padding: 24px 0 0; overflow: hidden; border-radius: 12px;
}
html.activity-theme.simple-ui #title .title-bottom::before {
  flex: 0 0 auto; order: 0; margin: 0 18px 14px; color: #51479f;
  font-size: 27px; font-weight: 850; line-height: 36px; text-align: center;
}
html.activity-theme.simple-ui #title .title-bottom::after {
  order: 0; margin: 0 18px 16px; color: #7a7698;
  font-size: 14px; line-height: 1.9; letter-spacing: 1px; text-align: center;
}
html.activity-theme.simple-ui #title #activity-footer {
  flex-shrink: 0; margin-top: auto; padding-left: 16px; padding-right: 16px;
}
html.activity-theme.simple-ui #title .title-tip,
html.activity-theme.simple-ui #title .boot-status,
html.activity-theme.simple-ui #title-restart,
html.activity-theme.simple-ui #title .title-links { align-self: center; order: 1; }
html.activity-theme.simple-ui #title .title-tip { margin: 6px 12px 10px; }
html.activity-theme.simple-ui #title #title-start:not(.theme-proxied) { align-self: center; width: 300px; }

/* The right guide already carries this work-stage instruction. */
html.activity-theme.simple-ui #root[data-screen="work"] #panel-inner > .tool-tip { display: none; }
