#wyan-launcher {
  --wl-ink:#181719;
  --wl-orange:#ff7047;
  --wl-lemon:#ffec66;
  --wl-lavender:#e1d6ff;
  --wl-blue:#cef2ff;
  --wl-line:#dbd8db;
  width:min(1220px,100% - 2rem);
  margin-inline:auto;
  padding-block:clamp(1.25rem,3vw,2.5rem) 0;
  background:#fff;
  color:var(--wl-ink);
  font:16px/1.45 "PingFang SC","Microsoft YaHei",system-ui,sans-serif;
}
#wyan-launcher *,#wyan-launcher *::before,#wyan-launcher *::after {box-sizing:border-box}
#wyan-launcher ::selection {background:var(--wl-lemon);color:var(--wl-ink)}
#wyan-launcher a {color:inherit;text-decoration:none}
#wyan-launcher button {font:inherit;color:inherit;cursor:pointer}
#wyan-launcher :is(a,button,summary):focus-visible {outline:3px solid #6a3ccf;outline-offset:4px}
#wyan-launcher h1,#wyan-launcher h2,#wyan-launcher h3,#wyan-launcher dl,#wyan-launcher dd {margin:0}
#wyan-launcher .wl-sr {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#wyan-launcher .wl-launch {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.8rem}
#wyan-launcher .wl-panel {position:relative;isolation:isolate;overflow:hidden;min-width:0;border:2px solid var(--wl-ink);border-radius:12px}
#wyan-launcher .wl-panel:has(.wl-cover-link:focus-visible) {outline:3px solid #6a3ccf;outline-offset:4px}
#wyan-launcher .wl-tool {background:var(--wl-lavender);--wl-orbit-ink:#5c37aa;--wl-orbit-light:#f9f2ff}
#wyan-launcher .wl-game {background:var(--wl-lemon);--wl-orbit-ink:#936909;--wl-orbit-light:#fff9c3}
#wyan-launcher .wl-desk {background:#caf2e1;--wl-orbit-ink:#0c765b;--wl-orbit-light:#f0fff8}
#wyan-launcher .wl-panel h2 {font-size:clamp(1.25rem,2.7vw,1.82rem);font-weight:850;line-height:1.2}
#wyan-launcher .wl-cover-link {display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.05rem .35rem}
#wyan-launcher .wl-cover-link::after {content:"";position:absolute;inset:0;z-index:2}
#wyan-launcher .wl-cover-link span {font:650 1.25rem/1 system-ui,sans-serif;transition:transform .2s ease}
#wyan-launcher .wl-panel:hover .wl-cover-link span {transform:translate(2px,-2px)}
#wyan-launcher .wl-panel-demo {position:relative;display:grid;min-height:226px;place-items:center;padding:.7rem .9rem 1.25rem}
#wyan-launcher .wl-desk-preview {position:relative;width:min(100%,330px);border:2px solid var(--wl-ink);border-radius:8px;background:#fff;box-shadow:0 7px 20px #14563d20;overflow:hidden}
#wyan-launcher .wl-desk-preview img {display:block;width:100%;height:auto}
#wyan-launcher .wl-desk-features {display:flex;flex-wrap:wrap;gap:.26rem;list-style:none;margin:0;padding:.34rem .4rem;border-top:1px solid var(--wl-line);font-size:.73rem;font-weight:700}
#wyan-launcher .wl-desk-features li {padding:.14rem .38rem;border-radius:4px}
#wyan-launcher .wl-desk-features [data-active] {background:#cff7e5;color:#13553c}
#wyan-launcher .wl-orbit {
  position:absolute;width:min(94%,490px);aspect-ratio:2.08;border:1px solid color-mix(in srgb,var(--wl-orbit-ink) 31%,transparent);
  border-radius:50%;transform:rotate(-13deg);pointer-events:none;
}
#wyan-launcher .wl-orbit::before,#wyan-launcher .wl-orbit::after {content:"";position:absolute;border-radius:50%}
#wyan-launcher .wl-orbit::before {inset:9px 24px;border:1px dashed color-mix(in srgb,var(--wl-orbit-ink) 30%,transparent)}
#wyan-launcher .wl-orbit::after {
  inset:-2px;opacity:0;
  background:conic-gradient(from 30deg,transparent 32%,var(--wl-orbit-ink) 52%,var(--wl-orbit-light) 62%,transparent 67%);
  mask:radial-gradient(ellipse closest-side,transparent calc(100% - 3px),#000 calc(100% - 2px),#000 99%,transparent 100%);
}
#wyan-launcher .wl-panel[data-sweep] .wl-orbit::after {animation:wl-orbit-sweep 1.8s cubic-bezier(.16,.7,.24,1) both}
@keyframes wl-orbit-sweep {
  0% {opacity:0;rotate:-105deg}
  23% {opacity:.9}
  74% {opacity:.78}
  100% {opacity:0;rotate:275deg}
}
#wyan-launcher h2 {font-size:1.23rem;font-weight:800;letter-spacing:-.015em}
#wyan-launcher .wl-button {display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;padding:.3rem .7rem;border:2px solid var(--wl-ink);border-radius:7px;font-size:.88rem;font-weight:750;white-space:nowrap}
#wyan-launcher .wl-button-ink {background:var(--wl-ink);color:#fff}
#wyan-launcher .wl-button-ink:hover {background:var(--wl-orange);color:var(--wl-ink)}
#wyan-launcher .wl-swatch-demo {position:relative;width:min(100%,365px);background:#fff;border:2px solid var(--wl-ink);border-radius:9px;box-shadow:0 8px 22px #44327828;overflow:hidden}
#wyan-launcher .wl-demo-bar {display:flex;align-items:center;justify-content:space-between;padding:.52rem .72rem;border-bottom:2px solid var(--wl-ink);font-size:.89rem}
#wyan-launcher .wl-demo-body {display:grid;grid-template-columns:1fr 1.08fr;align-items:center;gap:.65rem;padding:.7rem}
#wyan-launcher .wl-palette {display:grid;gap:.35rem;min-width:0}
#wyan-launcher .wl-selected-color {height:92px;border-radius:6px;background:var(--wl-color,#ff7047)}
#wyan-launcher .wl-color-strip {display:grid;grid-template-columns:repeat(4,1fr);gap:3px}
#wyan-launcher .wl-color-strip i {height:18px;border-radius:3px;background:color-mix(in srgb,var(--wl-color,#ff7047) 25%,white)}
#wyan-launcher .wl-color-strip i:nth-child(2) {background:color-mix(in srgb,var(--wl-color,#ff7047) 54%,white)}
#wyan-launcher .wl-color-strip i:nth-child(3) {background:var(--wl-color,#ff7047)}
#wyan-launcher .wl-color-strip i:nth-child(4) {background:color-mix(in srgb,var(--wl-color,#ff7047) 66%,#181719)}
#wyan-launcher .wl-color-values {min-width:0}
#wyan-launcher .wl-color-values div {padding:.35rem .4rem .36rem;border-bottom:1px solid var(--wl-line)}
#wyan-launcher .wl-color-values dt {font-size:.68rem;font-weight:800;letter-spacing:.06em}
#wyan-launcher .wl-color-values dd {font-family:ui-monospace,monospace;font-size:clamp(.68rem,1.48vw,.9rem);font-weight:650;white-space:nowrap}
#wyan-launcher .wl-board {
  position:relative;width:min(190px,62%);aspect-ratio:1;border:2px solid var(--wl-ink);
  background:var(--wl-ink);border-radius:8px;box-shadow:0 8px 22px #66500622;
  transform:rotate(-4deg);transition:transform .2s ease;
}
#wyan-launcher .wl-game:hover .wl-board {transform:rotate(-2deg)}
#wyan-launcher .wl-board-grid {position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr)}
#wyan-launcher .wl-board-grid > span,#wyan-launcher .wl-tile {margin:2px;border-radius:4px;background:#fff3a7}
#wyan-launcher .wl-tile {
  display:grid;place-items:center;position:absolute;
  top:calc(var(--row)*25%);left:calc(var(--col)*25%);width:calc(25% - 4px);height:calc(25% - 4px);
  font:850 1.16rem/1 system-ui,sans-serif;transition:transform .4s cubic-bezier(.2,.75,.23,1),background .2s ease,opacity .2s ease;
}
#wyan-launcher .wl-tile[data-cell="0-0"] { --row: 0; --col: 0; }
#wyan-launcher .wl-tile[data-cell="0-1"] { --row: 0; --col: 1; }
#wyan-launcher .wl-tile[data-cell="1-1"] { --row: 1; --col: 1; }
#wyan-launcher .wl-tile[data-cell="1-2"] { --row: 1; --col: 2; }
#wyan-launcher .wl-tile[data-cell="2-0"] { --row: 2; --col: 0; }
#wyan-launcher .wl-tile[data-cell="3-0"] { --row: 3; --col: 0; }
#wyan-launcher .wl-tile-two {background:#fff}
#wyan-launcher .wl-tile-four {background:#ffb995}
#wyan-launcher .wl-tile-eight {background:#d9c7ff}
#wyan-launcher .wl-tile-sixteen {background:var(--wl-orange)}
#wyan-launcher .wl-board:not([data-phase="0"]) .wl-slide-one {transform:translateX(calc(-100% - 4px))}
#wyan-launcher .wl-board:not([data-phase="0"]) .wl-slide-two {transform:translateX(calc(-200% - 8px))}
#wyan-launcher .wl-board[data-phase="2"] .wl-tile:not([data-result]):is(.wl-slide-one,.wl-slide-two) {opacity:0}
#wyan-launcher .wl-board[data-phase="2"] [data-result] {background:var(--wl-orange);z-index:1}
#wyan-launcher .wl-board[data-phase="0"] .wl-tile {transition:none}
#wyan-launcher .wl-board-caption {
  position:absolute;z-index:3;bottom:.52rem;right:.58rem;display:inline-flex;align-items:center;gap:.35rem;min-height:44px;
  background:#fff;border:1px solid var(--wl-ink);border-radius:6px;padding:.3rem .56rem;font:750 .79rem/1.2 system-ui,sans-serif;
}
#wyan-launcher .wl-board-caption:hover {background:var(--wl-orange)}
#wyan-launcher :is(.wl-app-group,.wl-wechat) {margin-top:1.35rem}
#wyan-launcher .wl-section-head {display:flex;justify-content:space-between;align-items:center;gap:.15rem .75rem;flex-wrap:wrap}
#wyan-launcher .wl-small-games {display:flex;gap:.85rem;font-size:.82rem;font-weight:700}
#wyan-launcher .wl-small-games a {display:inline-flex;align-items:center;gap:.25em;min-height:44px}
#wyan-launcher .wl-small-games a:hover {text-decoration:underline;text-underline-offset:3px}
#wyan-launcher :is(.wl-site-grid,.wl-office-grid) {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9.65rem),1fr));gap:.65rem;margin-top:.55rem}
#wyan-launcher .wl-site-thumb {position:relative;overflow:hidden;border-radius:8px 8px 0 0;aspect-ratio:2.1;border-bottom:1px solid var(--wl-ink)}
#wyan-launcher .wl-site-thumb img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .26s ease}
#wyan-launcher .application-card:hover .wl-site-thumb img {transform:scale(1.045)}
#wyan-launcher .wl-thumb-dreams {background:#f6bba9}
#wyan-launcher .wl-thumb-dreams img {object-position:50% 50%}
#wyan-launcher .wl-thumb-fishing {background:#c9ebf2}
#wyan-launcher .wl-thumb-microcosm {background:#d4e4c3}
#wyan-launcher .wl-thumb-sudoku {background:var(--wl-blue)}
#wyan-launcher .wl-thumb-sudoku img {object-fit:contain;padding:.38rem}
#wyan-launcher .wl-thumb-idc {display:flex;align-items:center;justify-content:center;gap:.32rem;background:#e5dcff}
#wyan-launcher .wl-thumb-idc span {width:13%;height:63%;border:2px solid #25203c;border-radius:4px;background:repeating-linear-gradient(to bottom,#7562ad 0 4px,#2e264a 4px 10px);transform:skewY(-6deg)}
#wyan-launcher .wl-icon-lavender {background:var(--wl-lavender)}
#wyan-launcher .wl-icon-orange {background:#ffc1ab}
#wyan-launcher .wl-icon-yellow {background:var(--wl-lemon)}
#wyan-launcher .wl-icon-blue {background:var(--wl-blue)}
#wyan-launcher .wl-wechat {border-top:1px solid var(--wl-line);padding-top:1rem}
#wyan-launcher :is(.wl-open-source,.wl-follow) {margin-top:1.35rem;border-top:1px solid var(--wl-line);padding-top:1rem}
#wyan-launcher .wl-footer-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr));gap:.65rem;margin-top:.55rem}
#wyan-launcher .wl-footer-grid > :is(a,.wl-wechat-follow) {display:flex;align-items:center;gap:.75rem;min-height:55px;padding:.52rem .65rem;border:1px solid var(--wl-line);border-radius:8px}
#wyan-launcher .wl-footer-grid > a {justify-content:space-between}
#wyan-launcher .wl-footer-grid > a:hover {background:#f6f2ff;border-color:var(--wl-ink)}
#wyan-launcher .wl-footer-grid strong {display:block;font-size:.9rem}
#wyan-launcher .wl-footer-grid small {display:block;color:#4c4654;font-size:.77rem;margin-top:.1rem}
#wyan-launcher .wl-footer-grid a > span {flex:none;color:#4c4654;font-size:.8rem;font-weight:650}
#wyan-launcher .wl-codes {display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,10rem),1fr));gap:.5rem 1.1rem;list-style:none;margin:.65rem 0 0;padding:0}
#wyan-launcher .wl-codes li {display:flex;align-items:center;gap:.58rem;min-width:0;padding:.2rem 0;font-size:.88rem}
#wyan-launcher .wl-code {width:89px;flex:none;aspect-ratio:1;display:grid;place-items:center;border-radius:7px;padding:.15rem;border:1px solid var(--wl-line);background:#fff}
#wyan-launcher .wl-code:hover {background:var(--wl-lemon)}
#wyan-launcher .wl-code img {display:block;width:100%;height:100%;object-fit:contain;border-radius:4px}
#wyan-launcher .wl-dialog {color:var(--wl-ink);background:#fff;max-width:calc(100% - 1.5rem);padding:1.15rem;border:2px solid var(--wl-ink);border-radius:12px;text-align:center}
#wyan-launcher .wl-dialog::backdrop {background:#19151c99}
#wyan-launcher .wl-dialog img {display:block;width:min(410px,72vw);height:auto;margin:.75rem auto}
@media(max-width:55rem) {
  #wyan-launcher .wl-launch {grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}
  #wyan-launcher .wl-launch[data-count="3"] .wl-desk,
  #wyan-launcher .wl-launch[data-count="1"] .wl-panel {grid-column:1/-1}
}
@media(max-width:690px) {
  #wyan-launcher .wl-desk .wl-panel-demo {min-height:0}
  #wyan-launcher .wl-panel-demo {min-height:157px;padding:.44rem .6rem .7rem}
  #wyan-launcher .wl-cover-link {padding:.65rem .65rem .35rem}
  #wyan-launcher .wl-game .wl-panel-demo {padding-bottom:2.65rem}
  #wyan-launcher .wl-board {width:min(112px,83%)}
  #wyan-launcher .wl-board-caption {bottom:.25rem;right:.28rem;min-height:40px}
  #wyan-launcher .wl-tile {font-size:.9rem}
  #wyan-launcher .wl-demo-body {grid-template-columns:1fr;gap:.12rem;padding:.38rem}
  #wyan-launcher .wl-demo-bar {padding:.25rem .4rem;font-size:.75rem}
  #wyan-launcher .wl-color-strip {display:none}
  #wyan-launcher .wl-selected-color {height:30px}
  #wyan-launcher .wl-color-values div {display:flex;align-items:baseline;justify-content:space-between;gap:.18rem;padding:.12rem 0}
  #wyan-launcher .wl-color-values div:last-child {border:0}
  #wyan-launcher .wl-color-values :is(dt,dd) {font-size:.62rem}
  #wyan-launcher :is(.wl-site-grid,.wl-office-grid) {grid-template-columns:repeat(auto-fit,minmax(min(100%,8.3rem),1fr))}
  #wyan-launcher .wl-code {width:68px}
}
@media(prefers-reduced-motion:reduce) {
  #wyan-launcher .wl-tile,#wyan-launcher .wl-board,#wyan-launcher .wl-cover-link span,#wyan-launcher .wl-site-thumb img {transition:none}
  #wyan-launcher .wl-orbit::after {animation:none!important}
}

.admin-page-active #wyan-launcher { display: none; }

.site-header { border-bottom: 2px solid #181719; }
.site-header .header-inner, .site-footer .footer-inner { width: min(1220px, 100% - 2rem); }
.site-header .brand-mark {
  border: 2px solid #181719;
  border-radius: 8px;
  color: #181719;
  background: #ff7047;
  box-shadow: none;
}
.site-header .top-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-footer .footer-inner a { color: var(--muted); text-decoration: none; }
.site-footer .footer-inner a:hover { text-decoration: underline; }
.site-footer .footer-inner > div { flex-wrap: wrap; }

#wyan-launcher .wl-directory-search { display: flex; justify-content: flex-end; margin-top: 1.15rem; }
#wyan-launcher .application-toolbar { margin-bottom: 0; }
#wyan-launcher .wl-directory-search:has(.application-search[hidden]) { display: none; }
#wyan-launcher .wl-launch:not([hidden]) + .wl-directory .wl-app-group:first-child { margin-top: 1.5rem; }

#wyan-launcher .application-card {
  min-height: 0;
  border: 1px solid var(--wl-line);
  border-radius: 8px;
  background: white;
}
#wyan-launcher .application-card:hover { border-color: var(--wl-ink); background: #fbf8ff; }
#wyan-launcher .application-card .application-main {
  min-height: 51px;
  align-items: center;
  gap: .45rem;
  padding: .32rem .55rem;
  border-radius: inherit;
}
#wyan-launcher .application-card:has(.favorite-button) .application-main { padding-right: 2.5rem; }
#wyan-launcher .application-card .app-icon { width: 32px; height: 32px; border-radius: 6px; font-weight: 800; }
#wyan-launcher .application-card .app-icon svg { width: 17px; height: 17px; }
#wyan-launcher .application-card strong {
  margin: 0;
  font-size: .9rem;
  overflow-wrap: anywhere;
  white-space: normal;
}
#wyan-launcher .application-card .app-title-row { flex-wrap: wrap; align-items: center; gap: .15rem .4rem; }
#wyan-launcher .application-card .open-icon { margin: 0; color: var(--wl-ink); }
#wyan-launcher .application-card .favorite-button { top: .6rem; right: .35rem; }
#wyan-launcher .wl-panel .favorite-button {
  z-index: 3;
  top: auto;
  right: .5rem;
  bottom: .45rem;
  color: var(--wl-ink);
  background: white;
  border: 1px solid var(--wl-line);
}
#wyan-launcher .wl-panel .favorite-button:hover { border-color: var(--wl-ink); }
#wyan-launcher .application-card .wl-sr { margin: 0; }

#wyan-launcher .wl-site-grid .application-card { border-color: var(--wl-ink); }
#wyan-launcher .wl-site-grid .application-main {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 0 .4rem;
  padding: 0;
}
#wyan-launcher .wl-site-grid .wl-site-thumb { grid-column: 1/-1; }
#wyan-launcher .wl-site-grid .app-copy { padding: .45rem 0 .45rem .55rem; }
#wyan-launcher .wl-site-grid .open-icon { margin-right: .55rem; }
#wyan-launcher .wl-site-grid .favorite-button { background: white; }
#wyan-launcher .wl-site-grid .wl-site-thumb > .app-icon {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
#wyan-launcher .wl-site-grid .wl-site-thumb > .app-icon svg { width: 30%; height: 52%; }

@media (max-width: 760px) {
  .site-header .header-inner { gap: .15rem .5rem; padding-block: .4rem; }
  .site-header .top-nav a { min-height: 36px; padding-inline: .45rem; }
}
@media (max-width: 620px) {
  .site-header .service-button:not([hidden]) { display: inline-flex; }
  .site-header .header-actions { gap: .4rem; }
}

#wyan-launcher .app-description {
  display: -webkit-box;
  margin-top: .15rem;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #575260;
  font-size: .75rem;
  line-height: 1.4;
}
#wyan-launcher .app-description:empty { display: none; }
#wyan-launcher .wl-office-grid .application-main { min-height: 66px; }
