/* Desktop site refinement. Phone layouts and native WebViews use their existing UI. */
/* Same site on PC and requested desktop-mode phone browsers. */
@scope (html.ryadom-desktop-ui) {
@media (min-width:900px) {
  body.rl-theme:not([data-theme="night"]) #app {
    --site-canvas:#f2edf9;
    --site-wallpaper:
      radial-gradient(circle at 94% 18%,transparent 0 165px,#8564b314 166px 168px,transparent 169px 245px,#8564b30c 246px 248px,transparent 249px),
      radial-gradient(ellipse 55% 70% at 97% 12%,#c8b1e538,transparent 72%),
      radial-gradient(ellipse 50% 65% at 5% 96%,#c5d2ec4d,transparent 74%),
      radial-gradient(circle,#7659a719 .7px,transparent 1.3px),
      linear-gradient(140deg,#faf8fd,#f0e9f8 58%,#f7eff9);
    --site-wallpaper-size:100% 100%,100% 100%,100% 100%,26px 26px,100% 100%;
  }
  body.rl-theme #gate {
    gap:clamp(24px,4vw,72px);
    padding-block:24px;
  }
  body.rl-theme #gate .desktop-gate-intro {
    align-self:center;
    min-height:min(680px,calc(100dvh - 48px));
    padding-block:36px;
    box-shadow:0 20px 52px #4d398026;
  }
  body.rl-theme #gate #accountGate.account-card,
  body.rl-theme #gate #join {
    box-shadow:0 18px 48px #3828601c;
  }
  body.rl-theme #gate :is(#join,#accountGate) :is(input,button):focus-visible {
    outline:3px solid #8d68c6;
    outline-offset:3px;
  }
  body.rl-theme #pane-home .wrap {
    padding-top:20px;
    row-gap:14px;
  }
  body.rl-theme #pane-home .desktop-home-intro {
    /* #homeGreeting shares this grid row. The .wrap uses align-items:start;
       stretch the banner so it always paints the entire calculated row. */
    align-self:stretch;
    box-sizing:border-box;
    min-height:328px!important;
    padding:27px clamp(29px,3vw,43px)!important;
    border-radius:25px;
    box-shadow:0 13px 34px #59418d26;
  }
  body.rl-theme #pane-home .desktop-home-intro > :is(.desktop-home-kicker,h1,p,.desktop-home-actions) {
    max-width:calc(100% - 310px);
  }
  body.rl-theme #pane-home .desktop-home-intro h1 {
    font-size:clamp(30px,2.7vw,40px);
  }
  body.rl-theme #pane-home .desktop-home-intro p {
    margin-block:10px 16px;
  }
  body.rl-theme #pane-home .desktop-home-actions button[data-desktop-open="shop"] {
    display:none;
  }
  body.rl-theme #pane-home #homeGreeting {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-self:stretch;
    box-sizing:border-box;
    height:auto;
    min-height:0;
    width:277px;
    /* Matching top/bottom gutters keep the dark card inside the banner. */
    margin:14px 15px 14px 0;
    padding:12px 14px 10px;
    border-radius:19px;
  }
  body.rl-theme #pane-home #homeGreeting .desktop-greeting-eyebrow {margin-bottom:7px}
  body.rl-theme #pane-home #homeGreeting .hero-summary-heading {row-gap:5px}
  body.rl-theme #pane-home #homeGreeting .hero-summary-location {
    margin-top:7px;
    padding-block:7px 9px;
  }
  body.rl-theme #pane-home #homeGreeting .home-support-actions {gap:6px}
  body.rl-theme #pane-home #homeGreeting #openSupport {min-height:39px;padding-block:6px}
  body.rl-theme #pane-home #homeGreeting #supportQuick100:not([hidden]) {min-height:35px;padding-block:4px}
  body.rl-theme #pane-home #homeGreeting .hero-summary-connection {margin-top:3px}
  body.rl-theme #pane-home .desktop-workspace-strip {gap:7px;padding:1px 0 4px}
  body.rl-theme #pane-home .desktop-shortcut-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
  }
  body.rl-theme #pane-home .desktop-workspace-strip button.desktop-shortcut {
    min-height:78px;
    gap:8px;
    padding:9px 10px;
    border-radius:16px;
    box-shadow:0 4px 14px #51357312;
  }
  body.rl-theme #pane-home .desktop-workspace-strip .desktop-shortcut-icon {
    flex-basis:38px;
    width:38px;
    height:38px;
    border-radius:12px;
  }
  body.rl-theme #pane-home .desktop-shortcut-icon svg {width:22px;height:22px}
  body.rl-theme #pane-home .desktop-workspace-strip .desktop-shortcut-copy {gap:3px}
  body.rl-theme #pane-home .desktop-shortcut-copy strong {font-size:13px}
  body.rl-theme #pane-home .desktop-shortcut-copy small {font-size:11px}
  body.rl-theme #pane-home .desktop-workspace-strip .desktop-shortcut-arrow {
    width:13px;height:13px;flex-basis:13px;
  }
  body.rl-theme #pane-home .desktop-feature-showcase {gap:16px;padding-top:16px}
  body.rl-theme #pane-home .desktop-showcase-grid {gap:14px}
  body.rl-theme #pane-home .desktop-showcase-card {min-height:225px;border-radius:19px}
  body.rl-theme #pane-home .desktop-showcase-card-category {margin-bottom:16px}
  body.rl-theme #pane-more .more-app-card {min-height:156px;border-radius:19px}
  body.rl-theme :is(.desktop-home-actions button>span,.desktop-feature-top-action>span,.desktop-showcase-card-link>span,.desktop-nav-shortcuts button>span:last-child) {
    position:relative;
    display:inline-block;
    flex:none;
    width:13px;
    height:13px;
    font-size:0!important;
    line-height:0!important;
  }
  body.rl-theme :is(.desktop-home-actions button>span,.desktop-feature-top-action>span,.desktop-showcase-card-link>span,.desktop-nav-shortcuts button>span:last-child)::before {
    content:'';
    position:absolute;
    top:1px;
    right:1px;
    width:6px;
    height:6px;
    border-top:1.5px solid currentColor;
    border-right:1.5px solid currentColor;
  }
  body.rl-theme :is(.desktop-home-actions button>span,.desktop-feature-top-action>span,.desktop-showcase-card-link>span,.desktop-nav-shortcuts button>span:last-child)::after {
    content:'';
    position:absolute;
    left:1px;
    bottom:2px;
    width:11px;
    height:1.5px;
    background:currentColor;
    transform:rotate(-45deg);
    transform-origin:left center;
  }
}
@media (min-width:900px) and (max-width:1299px) {
  body.rl-theme #app {padding-left:246px}
  body.rl-theme #app > nav.rl-tabbar {width:246px;padding-inline:14px}
  body.rl-theme #app > header {min-height:80px;padding-inline:22px;gap:9px}
  body.rl-theme #app > header .desktop-header-copy strong {
    font-size:18px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body.rl-theme #app > header #title {flex-basis:190px;max-width:190px}
  body.rl-theme #pane-home .desktop-home-intro > :is(.desktop-home-kicker,h1,p,.desktop-home-actions) {
    max-width:calc(100% - 295px);
  }
  body.rl-theme #pane-home #homeGreeting {width:265px}
  body.rl-theme #pane-home .desktop-workspace-strip .desktop-shortcut-arrow {display:none}
}
@media (min-width:900px) and (max-width:1099px) {
  /* Desktop-requested phone browsers have roughly 980 layout pixels. */
  body.rl-theme #app > header .desktop-header-copy{display:none}
  body.rl-theme #app > header .desktop-command{flex:1 1 160px;min-width:120px;max-width:none}
  body.rl-theme #pane-home .desktop-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.rl-theme #pane-home .desktop-home-intro{padding-inline:22px!important}
  body.rl-theme #pane-home .desktop-home-intro > :is(.desktop-home-kicker,h1,p,.desktop-home-actions){
    max-width:calc(100% - 275px);
  }
  body.rl-theme #pane-home #homeGreeting{width:247px;margin:12px 12px 12px 0}
}
@media (min-width:900px) and (prefers-reduced-motion:reduce) {
  body.rl-theme #pane-home .desktop-workspace-strip button.desktop-shortcut,
  body.rl-theme #pane-home .desktop-showcase-card {transition:none!important}
}
}


/* v3 premium website polish; explicitly gated to PC mode, not the normal phone UI. */
@media (min-width:900px){
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-footer{
    position:relative;padding:18px 14px 15px;gap:9px;border-radius:23px;
    border:1px solid #e2d4f0;
    background:radial-gradient(circle at 92% 0%,#dfd0f477,transparent 55%),linear-gradient(145deg,#f6f0ff,#fcfaff 67%,#f1eafd);
    box-shadow:0 12px 26px #4b327b12,inset 0 1px #fff;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-footer > strong{
    font:800 14px/1.25 system-ui,sans-serif;color:#332848;letter-spacing:-.02em;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-footer > p{
    font:520 11px/1.5 system-ui,sans-serif;color:#81718f;margin-bottom:4px;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-footer-symbol{
    background:#fff;color:#7852bd;width:38px;height:38px;border-radius:14px;
    box-shadow:0 5px 15px #6c459323;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcuts{display:grid;gap:9px}
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcuts button.desktop-nav-shortcut{
    display:flex;align-items:center;justify-content:flex-start;gap:10px;
    min-width:0;width:100%;min-height:68px;padding:10px;
    background:#ffffffed;color:#3a2d52;border:1px solid #e9dff4;border-radius:16px;
    box-shadow:0 4px 13px #3c26680d;transition:transform .17s ease,box-shadow .17s ease,border-color .17s ease;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcuts button.desktop-nav-shortcut:hover{
    background:#fff;color:#3a2d52;border-color:#bfa5df;
    transform:translateY(-2px);box-shadow:0 11px 23px #5c3c7b20;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut-icon{
    display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:14px;
    background:#eee5ff;color:#7450b7;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut--shop .desktop-nav-shortcut-icon{background:#ffebf5;color:#ab5b91}
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut-icon svg{display:block;width:22px;height:22px}
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut-copy{
    display:flex;flex:1 1 auto;flex-direction:column;gap:4px;min-width:0;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut-copy strong{
    font:790 12px/1.25 system-ui,sans-serif;color:#352947;overflow-wrap:anywhere;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut-copy small{
    font:510 10px/1.25 system-ui,sans-serif;color:#81718d;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut-arrow{
    display:block;flex:0 0 14px;width:14px;height:14px;color:#9977b9;transition:transform .17s ease;
  }
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcut:hover .desktop-nav-shortcut-arrow{transform:translateX(2px)}
  html.ryadom-desktop-ui body.rl-theme #app > header{
    background:#ffffffed;border-bottom:1px solid #e6daef;box-shadow:0 4px 18px #48346d0a;
  }
  html.ryadom-desktop-ui body.rl-theme #app > header .desktop-room-status{
    display:inline-flex;flex:0 1 225px;align-items:center;gap:10px;box-sizing:border-box;
    min-height:44px;min-width:0;padding:0 12px;border:1px solid #e1d2ee;border-radius:15px;
    background:linear-gradient(135deg,#f6effc,#ece5f8);
    box-shadow:inset 0 1px #fff,0 4px 14px #5131730c;
  }
  html.ryadom-desktop-ui body.rl-theme #app > header .desktop-room-status #net{
    flex:0 0 9px;width:9px;height:9px;margin:0;box-shadow:0 0 0 4px #4caa741c;
  }
  html.ryadom-desktop-ui body.rl-theme #app > header .desktop-room-status #title{
    flex:1 1 auto;min-width:0;max-width:none;margin:0;padding:0;
    border:0;background:transparent;box-shadow:none;
    font:770 12px/1.35 system-ui,sans-serif;color:#433357;
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  }
  html.ryadom-desktop-ui body.rl-theme #app > header :is(#accountHeaderLogout,#leave){
    height:44px;min-height:44px;border:1px solid #e2d5ee;border-radius:14px;
    background:linear-gradient(180deg,#fff,#faf7fe);color:#5f487b;
    box-shadow:0 4px 11px #55337d0c;
    transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  }
  html.ryadom-desktop-ui body.rl-theme #app > header #accountHeaderLogout{
    flex:none;width:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;padding:0;
  }
  html.ryadom-desktop-ui body.rl-theme #app > header #accountHeaderLogout svg{width:19px;height:19px}
  html.ryadom-desktop-ui body.rl-theme #app > header #leave{
    padding:0 16px;gap:8px;font:730 12px/1.2 system-ui,sans-serif;
  }
  html.ryadom-desktop-ui body.rl-theme #app > header :is(#accountHeaderLogout,#leave):hover{
    transform:translateY(-1px);border-color:#c8b0e3;box-shadow:0 9px 20px #52317321;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickTitle{
    margin:15px 0 2px;padding-left:3px;color:#342847;
    font:830 22px/1.3 system-ui,sans-serif;letter-spacing:-.035em;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions{
    gap:15px;grid-template-columns:repeat(3,minmax(0,1fr));
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions button.home-action-tile{
    --action-tint:#f0eafa;--action-ink:#7957b6;
    position:relative;display:flex;align-items:center;justify-content:flex-start;
    box-sizing:border-box;min-width:0;min-height:110px;gap:14px;padding:16px;
    color:#342943;border:1px solid #e5d8f0;border-radius:22px;
    background:linear-gradient(145deg,#fff,#fcfaff);
    box-shadow:0 6px 15px #48316b0e,0 15px 30px #48316b10;
    text-align:left;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions #share{--action-tint:#eee5ff;--action-ink:#7752b5}
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions #ok{--action-tint:#e8f6e9;--action-ink:#529468}
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions #openMe{--action-tint:#e7f2fc;--action-ink:#4c819f}
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions #copy{--action-tint:#faeaf3;--action-ink:#ae6590}
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions #shareInvite{--action-tint:#eee9fa;--action-ink:#8464bf}
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions #pause{--action-tint:#f5eee7;--action-ink:#977e6b}
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions .home-action-tile > :is(svg,.home-tile-emoji){
    display:grid;place-items:center;box-sizing:border-box;
    flex:0 0 52px;width:52px;height:52px;padding:12px;
    color:var(--action-ink);background:var(--action-tint);
    border-radius:17px;box-shadow:inset 0 0 0 1px #ffffffca;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions .home-tile-emoji{font-size:24px;padding:10px}
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions .home-action-copy{
    display:flex;flex:1 1 auto;flex-direction:column;gap:5px;min-width:0;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions .home-action-copy strong{
    display:block;color:#342943;font:780 13px/1.3 system-ui,sans-serif;overflow-wrap:anywhere;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions .home-action-copy small{
    display:block;color:#80718c;font:520 11px/1.4 system-ui,sans-serif;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions .home-action-chevron{
    display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:50%;
    background:var(--action-tint);color:var(--action-ink);font:500 21px/1 system-ui,sans-serif;
    transition:transform .18s ease;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions button.home-action-tile:hover{
    transform:translateY(-3px);border-color:#c2aedc;
    box-shadow:0 9px 20px #51306e16,0 19px 35px #51306e16;
  }
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions button.home-action-tile:hover .home-action-chevron{transform:translateX(3px)}
  html.ryadom-desktop-ui body.rl-theme #app > header :is(#accountHeaderLogout,#leave):focus-visible,
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcuts button:focus-visible,
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions button:focus-visible{
    outline:3px solid #9a71d3;outline-offset:3px;
  }
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > nav .desktop-nav-footer,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #pane-home #homeQuickActions button.home-action-tile{
    background:linear-gradient(145deg,#322d44,#282234);border-color:#5d506d;box-shadow:0 9px 24px #0002;
  }
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > header{background:#282335;border-bottom-color:#504365}
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > header .desktop-room-status,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > header :is(#accountHeaderLogout,#leave),
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > nav .desktop-nav-shortcuts button.desktop-nav-shortcut{
    background:#38314a;color:#eee8f8;border-color:#635477;
  }
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > header #title,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > nav .desktop-nav-shortcut-copy strong,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > nav .desktop-nav-footer strong,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #pane-home #homeQuickTitle,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #pane-home #homeQuickActions .home-action-copy strong{color:#fbf7ff}
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > nav .desktop-nav-shortcut-copy small,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #app > nav .desktop-nav-footer p,
  html.ryadom-desktop-ui body.rl-theme[data-theme="night"] #pane-home #homeQuickActions .home-action-copy small{color:#c8badd}
}
@media (min-width:900px) and (max-width:1399px){
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:900px) and (max-width:1099px){
  html.ryadom-desktop-ui body.rl-theme #app > header .desktop-room-status{flex:0 1 190px;padding-inline:9px}
}
@media (min-width:900px) and (prefers-reduced-motion:reduce){
  html.ryadom-desktop-ui body.rl-theme #pane-home #homeQuickActions button.home-action-tile,
  html.ryadom-desktop-ui body.rl-theme #app > nav .desktop-nav-shortcuts button.desktop-nav-shortcut,
  html.ryadom-desktop-ui body.rl-theme #app > header :is(#accountHeaderLogout,#leave){transition:none!important}
}
