/* ============================================================
   mssgs - fancy-v2-light home sections.
   Faithful translation of FancyHero / AppWindow / FancyStory /
   FancyGames / FancyEndV2 inline styles into classes.
   ============================================================ */

:root{--accent-trip:#e8a94c;--accent-game:#00c956;--accent-study:#5b9dd9}

/* ================= Hero ================= */
.fhero{position:relative;padding-top:148px;text-align:center}
.fhero-inner{position:relative}
.fhero h1{line-height:1!important;font-size:clamp(56px,8.5vw,96px)!important;font-stretch:96%;margin:0 0 18px;color:var(--w-ink)}
.fhero h1 span{display:block}
.fhero h1 .brandline{color:var(--brand)}
.fhero-sub{font-size:20px;color:var(--w-mut);line-height:1.6;max-width:540px;margin:0 auto 36px}
.fhero-cta{display:flex;flex-direction:column;align-items:center;gap:18px;margin-bottom:70px}
.platform-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;font-size:13.5px;color:var(--w-mut2)}
.platform-row i{margin-right:6px}
.platform-row a{color:inherit;text-decoration:none;transition:color 150ms var(--ease-standard)}
.platform-row a:hover{color:var(--w-ink);text-decoration:underline}

/* Scenario segment pill */
.fscenes{display:flex;justify-content:center;margin-bottom:24px;max-width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.fscenes::-webkit-scrollbar{display:none}
.fscenes .glass-pill{display:flex;gap:4px;padding:5px;margin:0 auto;flex-shrink:0}
/* On narrow screens the tab row would clip the last tab - share the width
   evenly instead so all three always fit */
@media (max-width:560px){
  .fscenes{overflow-x:visible}
  .fscenes .glass-pill{width:100%;flex-shrink:1;margin:0}
  .fscenes .seg{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;padding:8px 6px}
}
@media (max-width:480px){.seg{padding:8px 11px;font-size:13px}.seg i{margin-right:6px}}
.seg{border:none;cursor:pointer;background:transparent;color:#5f6b57;font-family:var(--font-sans);font-size:14px;font-weight:600;padding:9px 18px;border-radius:980px;white-space:nowrap;transition:all 200ms var(--ease-standard)}
.seg:hover{color:#20301f}
.seg:focus-visible{outline:none;box-shadow:0 0 0 3px var(--w-focus)}
.seg i{margin-right:8px;font-size:12.5px;opacity:.85}
.seg-on{background:rgba(51,117,77,.12);color:#20301f;box-shadow:inset 0 0 0 1px rgba(51,117,77,.35)}
.seg-on[data-scenario="trip"]{background:rgba(232,169,76,.14);box-shadow:inset 0 0 0 1px rgba(232,169,76,.35)}
.seg-on[data-scenario="game"]{background:rgba(0,201,86,.14);box-shadow:inset 0 0 0 1px rgba(0,201,86,.35)}
.seg-on[data-scenario="study"]{background:rgba(91,157,217,.14);box-shadow:inset 0 0 0 1px rgba(91,157,217,.35)}

/* Tilting app window */
.tiltwrap{perspective:1400px;max-width:880px;margin:0 auto;position:relative}
#tiltwin{position:relative;transform:rotateX(7deg) scale(.97);transform-origin:50% 0;will-change:transform;transition:transform .1s linear}
.winglow{position:absolute;left:10%;right:10%;bottom:-40px;height:120px;background:radial-gradient(50% 100% at 50% 0,rgba(51,117,77,.3),transparent 70%);filter:blur(30px);pointer-events:none}
.winglow[data-scenario="trip"]{background:radial-gradient(50% 100% at 50% 0,rgba(232,169,76,.28),transparent 70%)}
.winglow[data-scenario="game"]{background:radial-gradient(50% 100% at 50% 0,rgba(0,201,86,.28),transparent 70%)}
.winglow[data-scenario="study"]{background:radial-gradient(50% 100% at 50% 0,rgba(91,157,217,.28),transparent 70%)}

/* Floating docked-voice pill (the app's voice controls, below) */
.floatb{position:absolute;z-index:5;white-space:nowrap;will-change:transform;transition:transform .25s var(--ease-standard)}
@media (max-width:1100px){.floatb{display:none}}

/* ================= App window: the desktop app, ported =================
   The hero's window is mssgs-electron src/ui ported class for class (markup
   in appWindow() in pages/home/home-shared.mjs, the file each block comes
   from is named above it). Values are the app's own; everything is scoped to
   .appwin so the app's class names cannot reach the page, and the window is
   content-box like the app (the site is border-box). The bare .appwin,
   .appwin-titlebar, .appwin-dots and .appwin-title rules are shared with the
   press figures (press.css), so the home window's chrome is set on #appwin. */
#appwin,.dockvoice{font-family:ui-sans-serif,-apple-system,system-ui,'Segoe UI',Helvetica,'Apple Color Emoji',Arial,sans-serif,'Segoe UI Emoji','Segoe UI Symbol';-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.appwin{position:relative;border-radius:18px;overflow:hidden;background:#161a1f;box-shadow:0 24px 80px rgba(0,0,0,.6),0 0 0 1px rgba(255,255,255,.07),0 -1px 0 rgba(255,255,255,.12) inset;text-align:left}
.appwin-titlebar{display:flex;align-items:center;gap:10px;padding:11px 16px;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.06)}
.appwin-dots{display:flex;gap:6px}
.appwin-dots span{width:11px;height:11px;border-radius:50%}
.appwin-dots span:nth-child(1){background:#ff5f57}
.appwin-dots span:nth-child(2){background:#febc2e}
.appwin-dots span:nth-child(3){background:#28c840}
.appwin-title{font-size:12px;color:rgba(255,255,255,.6);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* The window: the app runs in the system's own frame (main.js creates a
   plain BrowserWindow titled "mssgs"), so this is macOS's dark title bar. */
#appwin{border-radius:12px;background:#2c2d32}
#appwin *,#appwin *::before,#appwin *::after,.dockvoice *,.dockvoice *::before,.dockvoice *::after{box-sizing:content-box}
#appwin .appwin-titlebar{position:relative;height:28px;padding:0 0 0 9px;gap:8px;background:#323234;border-bottom:1px solid #121214}
#appwin .appwin-dots{gap:8px}
#appwin .appwin-dots span{width:12px;height:12px}
#appwin .appwin-title{position:absolute;left:0;right:0;top:0;line-height:28px;text-align:center;font-size:13px;font-weight:600;color:rgba(255,255,255,.82);pointer-events:none}

/* index.css: :root and .full-view */
.appwin .full-view{position:relative;display:flex;flex-direction:row;height:400px;background-color:#2c2d32;color:#fafdfd;line-height:1;font-weight:400}
.appwin .main-view{display:flex;flex-direction:row;flex:1;min-width:0}
.appwin svg{display:block;flex-shrink:0}

/* server-bar/sidebar-servers.css (+ servers/server-icon.css) */
.appwin .primary-sidebar{width:70px;min-width:70px;flex-shrink:0;display:flex;flex-direction:column}
.appwin .servers{display:flex;flex-direction:column;align-items:center;flex:1;min-height:0;padding-bottom:8px}
.appwin .servers-header,.appwin .unread-dms-container{display:flex;flex-direction:column;align-items:center;width:100%;flex-shrink:0}
.appwin .servers-list{display:flex;flex-direction:column;align-items:center;flex:1;min-height:0;width:100%;overflow:hidden}
.appwin .servers-separator{width:32px;height:2px;background-color:#36373c;margin:12px 0 0;border-radius:1px;flex-shrink:0}
.appwin .server-item{position:relative;margin-top:10px;display:flex;align-items:center;justify-content:center;width:100%;color:#717578;flex-shrink:0}
.appwin .server-item-image{position:relative;width:40px;height:40px;overflow:hidden;border-radius:6px;background-color:#000}
.appwin .active-indicator{position:absolute;left:0;top:2px;bottom:2px;width:3px;background-color:#fff;border-radius:0 4px 4px 0}
.appwin .server-unread-indicator{position:absolute;left:0;top:50%;transform:translateY(-50%);width:3px;height:16px;background-color:#fff;border-radius:0 4px 4px 0;z-index:10}
.appwin .server-mention-badge,.appwin .dm-unread-badge{position:absolute;bottom:-4px;right:8px;min-width:17px;height:17px;padding:0 4px 1px;box-sizing:border-box;border-radius:9px;background-color:#ed4245;color:#fff;font-size:12px;font-weight:500;line-height:17px;display:flex;align-items:center;justify-content:center;font-family:-apple-system,BlinkMacSystemFont,'SF Pro Text',sans-serif;z-index:300}
.appwin .dm-unread-badge{right:-4px;background-color:#ff3b30}
.appwin .server-icon-initials{display:flex;align-items:center;justify-content:center}
.appwin .server-icon-initials-text{color:#fff;font-size:16px;font-weight:600;line-height:1;letter-spacing:.5px}
.appwin .dm-item-image,.appwin .create-server-item-image{background-color:#36373c;opacity:.8;display:flex;align-items:center;justify-content:center}
.appwin .dm-item-image{overflow:visible}
.appwin .games-item-image,.appwin .home-item-image{background-color:#2a2b2f;opacity:.8;display:flex;align-items:center;justify-content:center}
.appwin .games-item-image,.appwin .home-item-image,.appwin .create-server-item-image{color:#e8e9ea}
/* The DM button wears the mssgs mark in white (a 24px image, filtered); the
   official mssgs community has it in green on its black tile. */
.appwin .dm-item-image svg{width:auto;height:15px}
.appwin .dm-item-image svg g{fill:#fff}
.appwin .server-icon-mssgs{display:flex;align-items:center;justify-content:center}
.appwin .server-icon-mssgs svg{width:auto;height:25px}
.appwin .dm-quick-access-avatar{position:relative;width:40px;height:40px;border-radius:6px}
.appwin .dm-quick-access-avatar .user-img{border-radius:6px}

/* user/user-image.css: the fallback avatar */
.appwin .user-img,.dockvoice .user-img{display:flex;width:100%;height:100%;border-radius:4px;overflow:hidden;position:relative}
.appwin .user-img-initials,.dockvoice .user-img-initials{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:inherit;font-size:80%;font-weight:600;color:#fff;text-transform:uppercase;line-height:1}

/* index.css: the channel column */
.appwin .server-channels{position:relative;display:flex;flex-direction:column;width:240px;min-width:240px;flex-shrink:0;padding:0 0 52px;gap:4px;border:1px solid #393a3f;border-bottom:none;border-right:none;border-top-left-radius:6px;margin-top:10px;overflow:hidden}
.appwin .server-header{display:flex;align-items:center;border-bottom:1px solid #393a3f;padding:8px 14px;min-height:36px;flex-shrink:0}
.appwin .server-header-name{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#dfe0e2;font-size:12px;font-weight:700}
.appwin .server-header-search{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:26px;height:26px;border-radius:8px;color:#9ca3af}
.appwin .server-header-search:last-child{margin-right:-4px}
.appwin .server-channels-list{display:flex;flex-direction:column;gap:1px;flex:1;min-height:0;padding:6px 6px 10px;overflow:hidden}
.appwin .channel-group{display:contents}
.appwin .channel-category{display:flex;align-items:center;gap:4px;padding:8px 8px 4px 4px;margin-top:8px;color:#8b8d93;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.02em}
.appwin .channel-category:first-child{margin-top:0}
.appwin .channel-category-chevron{display:flex;align-items:center;justify-content:center;width:12px;height:12px;flex-shrink:0}
.appwin .channel-category-name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.appwin .channel-item{position:relative;display:flex;flex-flow:row wrap;align-items:center;align-content:flex-start;column-gap:6px;row-gap:2px;padding:8px 12px;border-radius:6px;color:#9b9ca2;font-size:15px;font-weight:500;transition:background-color .15s ease}
.appwin .channel-item:hover{background-color:#414248;color:#fff}
.appwin .channel-item.active{color:#fff;background:linear-gradient(135deg,rgba(255,255,255,.12) 0%,rgba(255,255,255,.06) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 3px rgba(0,0,0,.1)}
.appwin .channel-item.has-unread{color:#fff}
.appwin .channel-item.muted{opacity:.5}
.appwin .channel-icon{width:16px;height:16px;flex-shrink:0}
.appwin .channel-icon svg{margin-top:1px}
.appwin .channel-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.appwin .channel-indicators{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}
.appwin .channel-unread-indicator{width:6px;height:6px;border-radius:50%;background-color:#fff;flex-shrink:0}
.appwin .channel-mention-badge{min-width:16px;padding:2px 5px;border-radius:8px;background-color:#ed4245;color:#fff;font-size:10px;font-weight:700;line-height:1;text-align:center;box-sizing:border-box;flex-shrink:0}
.appwin .channel-voice-users{padding:2px 8px;border-radius:8px;background-color:rgba(255,255,255,.08);color:#b9bbbe;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.3px;flex-shrink:0}
.appwin .channel-voice-user-stack{display:flex;align-items:center;width:100%;padding:0 0 0 22px;margin-top:4px}
.appwin .channel-voice-user-avatar{position:relative;width:24px;height:24px;margin-right:5px;border:1px solid #2b2d31;border-radius:2px;overflow:hidden;flex-shrink:0}
.appwin .channel-voice-user-avatar .user-img-initials{font-size:8px}
.appwin .channel-item:hover .channel-voice-user-avatar{border-color:#414248}

/* components/user-profile-section.css + clips/clip-mode-controls.css */
.appwin .user-profile-section{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;background-color:#2b2d31;border-top:1px solid #393a3f}
.appwin .user-profile-info{display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:4px 6px;border-radius:6px}
.appwin .user-profile-avatar{width:32px;height:32px;border-radius:6px;overflow:hidden;flex-shrink:0}
.appwin .user-profile-details{flex:1;min-width:0;line-height:1.2}
.appwin .user-profile-username{font-size:14px;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.appwin .clip-mode-button,.appwin .user-profile-settings{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:32px;height:32px;border-radius:6px;color:#b9bbbe}

/* chat-view/chat-view.css: the channel */
.appwin .chat-view{position:relative;display:flex;flex-direction:column;flex:1;min-width:0;margin-top:10px;border-top:1px solid #393a3f;background-color:#323338;overflow:hidden}
.appwin .chat-view-header{display:flex;align-items:center;border-bottom:1px solid #393a3f;padding:8px 15px;min-height:36px;flex-shrink:0}
.appwin .chat-view-header-name{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#dfe0e2;font-size:14px;font-weight:600}
.appwin .header-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}
.appwin .header-action-button{display:flex;align-items:center;justify-content:center;padding:6px;border-radius:4px;color:#b9bbbe}
.appwin .mobile-nav-toggle{display:none}
.appwin .chat-view-main{display:flex;flex-direction:column;flex:1;min-height:0}
/* Pinned to the newest message, like the app's scroll position */
.appwin .chat-view-messages{display:flex;flex-direction:column;justify-content:flex-end;flex:1;min-height:0;padding:12px 12px 0;overflow:hidden}
.appwin .chat-message{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:3px 12px;border-radius:4px;flex-shrink:0}
.appwin .chat-message:hover{background-color:rgba(255,255,255,.04)}
.appwin .chat-message-main{display:flex;flex-direction:row;align-items:flex-start;gap:8px;width:100%}
.appwin .chat-message-image-container{position:relative;display:flex;align-items:flex-start;justify-content:center;width:38px;min-height:16px;flex-shrink:0;font-size:16px}
.appwin .chat-message-image-container:has(.user-img){padding-top:6px}
.appwin .chat-message-image-container .user-img{width:38px;height:38px;background:#000}
.appwin .chat-message-text-container{position:relative;display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.appwin .view-message-header{display:flex;align-items:center;gap:4px}
.appwin .view-message-header-name{color:#dfe0e2;font-size:15px;font-weight:600}
.appwin .view-message-header-date{margin-left:8px;color:#9b9ca2;font-size:11px}
.appwin .view-message-header-time{color:#aeb0b5;font-size:11px}
.appwin .chat-message-text-inline{padding-right:36px;color:#dfe0e2;font-size:15px;line-height:1.375;word-break:break-word;overflow-wrap:anywhere}
.appwin .view-message-header+.chat-message-text-inline{margin-top:-2px}
.appwin .chat-message-hover-time{position:absolute;left:-45px;top:6px;width:40px;text-align:center;color:#9b9ca2;font-size:10px;opacity:0;transition:opacity 20ms ease}
.appwin .chat-message:hover .chat-message-hover-time{opacity:1}
.msg-anim{animation:msgIn .35s var(--ease-standard)}
@keyframes msgIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* The row above the input: the typing line, in a height the app reserves so
   nothing moves when it comes and goes */
.appwin .chat-view-new-message{position:relative;z-index:1;display:flex;flex-direction:column;flex:0 0 auto;padding:10px 12px}
.appwin .typing-indicator-container{display:flex;align-items:center;height:22px;min-height:22px;margin-bottom:10px}
.appwin .typing-indicator{display:flex;align-items:center;gap:8px;padding:2px 4px;color:#9b9ca2;font-size:13px;white-space:nowrap;overflow:hidden}
.appwin .typing-dots{display:flex;gap:2px}
.appwin .typing-dots .dot{width:3px;height:3px;border-radius:50%;background-color:#9b9ca2;animation:appTypingBounce 1.4s infinite ease-in-out}
.appwin .typing-dots .dot:nth-child(1){animation-delay:-.32s}
.appwin .typing-dots .dot:nth-child(2){animation-delay:-.16s}
@keyframes appTypingBounce{0%,80%,100%{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}

/* chat-input/chat-input.css: the liquid-glass bar and its triggers, placed
   the way applyServerLayout() packs them (6px apart from the right edge) */
.appwin .chat-input-wrapper{position:relative;z-index:2;display:flex;flex-direction:column;min-height:44px;padding:2px;border-radius:8px;background-color:rgba(255,255,255,.01);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:rgba(0,0,0,.12) 0 2px 8px}
.appwin .chat-input-wrapper::before,.appwin .chat-input-wrapper::after{content:'';position:absolute;inset:0;border-radius:8px;padding:1px;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.appwin .chat-input-wrapper::before{background:conic-gradient(from 135deg at 50% 50%,rgb(180 180 190 / 35%) 0deg,rgba(255,255,255,.1) 60deg,rgb(200 200 210 / 5%) 120deg,rgb(170 170 180 / 5%) 180deg,rgba(255,255,255,.05) 240deg,rgb(190 190 200 / 18%) 300deg,rgb(175 175 185 / 35%) 360deg)}
.appwin .chat-input-wrapper::after{background:conic-gradient(from 270deg at 50% 50%,rgb(200 200 210 / 30%) 0deg,rgba(255,255,255,.08) 60deg,rgb(160 160 170 / 3%) 120deg,rgb(180 180 190 / 3%) 180deg,rgb(190 190 200 / 3%) 240deg,rgba(255,255,255,.08) 300deg,rgb(133 121 121 / 25%) 360deg)}
.appwin .chat-input-view{position:relative;flex:1;padding:10px 8px;padding-right:292px;font-size:15px;overflow:hidden}
.appwin .chat-input-box{position:relative;min-height:20px;color:#dcddde;font-size:15px;line-height:1.375}
.appwin .chat-input-placeholder{display:block;color:#72767d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.appwin .chat-input-view>span{position:absolute;bottom:7px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background-color:#393a40;color:#dcddde;z-index:5}
.appwin .emoji-picker-trigger{right:6px}
.appwin .attachment-picker-trigger{right:44px}
.appwin .chat-input-view>.gif-picker-trigger{right:82px;width:auto;padding:0 6px}
.appwin .voice-record-trigger{right:132px}
.appwin .whiteboard-picker-trigger{right:170px}
.appwin .chat-poll-trigger{right:208px}
.appwin .chat-gift-trigger{right:246px}
.appwin .chat-input-view>.chat-input-more-trigger{display:none}
.appwin .gif-button-border{display:flex;align-items:center;justify-content:center;padding:2px 4px;border:2px solid #b8b9bb;border-radius:4px}
.appwin .gif-button-text{font-size:10px;font-weight:700;letter-spacing:.5px}
/* A narrower window keeps room for the words: the gift and poll triggers go
   first, as they do in a channel that does not allow polls */
@media (min-width:761px) and (max-width:979px){
  .appwin .chat-input-view{padding-right:216px}
  .appwin .chat-input-view>.chat-poll-trigger,.appwin .chat-input-view>.chat-gift-trigger{display:none}
}

/* core/mobile-layout.css: the web app on a phone. No title bar; the channel
   list and the server strip are drawers over the chat (swipe, or the chevron
   in the header), with the app's scrim over what they cover; the input goes
   compact ("+" and the emoji). */
@media (max-width:760px){
  #appwin .appwin-titlebar{display:none}
  .appwin .full-view{height:417px}
  .appwin .primary-sidebar{position:absolute;top:0;bottom:0;left:0;z-index:4;width:62px;min-width:62px;background:#2c2d32;transform:translateX(-100%);transition:transform .24s cubic-bezier(.22,1,.36,1)}
  .appwin .primary-sidebar .server-item{margin-top:8px}
  .appwin .server-channels{position:absolute;top:0;bottom:0;left:0;z-index:3;width:min(300px,calc(100% - 62px - 44px));min-width:0;margin-top:0;border:none;border-right:1px solid #393a3f;border-radius:0;background:#2c2d32;transform:translateX(-105%);transition:transform .24s cubic-bezier(.22,1,.36,1)}
  .appwin.swipe1 .server-channels{transform:translateX(0)}
  .appwin.swipe2 .server-channels{transform:translateX(62px)}
  .appwin.swipe2 .primary-sidebar{transform:translateX(0)}
  .appwin .chat-view{z-index:0;margin-top:0;border-top:none}
  .appwin .chat-view::after{content:'';position:absolute;inset:0;z-index:6;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .24s ease}
  .appwin.swipe1 .chat-view::after{opacity:1}
  .appwin .chat-view-header{min-height:44px;gap:2px;padding:6px 8px}
  .appwin .header-actions{gap:2px}
  .appwin .header-action-button{padding:8px}
  .appwin .mobile-nav-toggle{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;margin:0 2px 0 -6px;border-radius:8px;color:#dfe0e2;cursor:pointer}
  .appwin .chat-view-messages{padding:10px 8px 0}
  .appwin .chat-message{padding:3px 6px}
  .appwin .chat-view-new-message{padding:8px}
  .appwin .chat-input-view,.appwin .chat-input-box{font-size:16px}
  .appwin .chat-input-view{padding-right:82px}
  .appwin .chat-input-view>span{display:none}
  .appwin .chat-input-view>.emoji-picker-trigger,.appwin .chat-input-view>.chat-input-more-trigger{display:flex}
  .appwin .chat-input-view>.chat-input-more-trigger{right:44px}
  .appwin-swipehint{display:flex;align-items:center;justify-content:center;position:absolute;left:8px;top:50%;transform:translateY(-50%);z-index:5;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.09);color:rgba(255,255,255,.55);font-size:11px;animation:hintNudge 2.2s var(--ease-standard) infinite;pointer-events:none}
  .appwin.swiped .appwin-swipehint{display:none}
}
@media (min-width:761px){.appwin-swipehint{display:none}}
@media (max-width:520px){.appwin .full-view{height:377px}}
@keyframes hintNudge{0%,100%{transform:translateY(-50%) translateX(0)}50%{transform:translateY(-50%) translateX(5px)}}
@media (prefers-reduced-motion:reduce){
  .appwin-swipehint{animation:none!important}
  .appwin .primary-sidebar,.appwin .server-channels,.appwin .chat-view::after{transition:none}
}

/* components/floating-voice-controls.css + voice-controls-pill.css: the pill
   the app floats at the bottom right of the chat while you are in a call,
   here hanging off that corner of the window. Over the page it gets the
   chat's own dark behind its glass, and the speaking ring is held at a steady
   level. */
.dockvoice{bottom:-68px;right:-34px}
.dockvoice .floating-voice-controls{position:relative}
.dockvoice .floating-voice-speakers{position:absolute;bottom:100%;right:0;display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;overflow:hidden;padding:14px 14px 0;pointer-events:none}
.dockvoice .floating-voice-speaker{position:relative;width:34px;height:34px;border-radius:6px;overflow:hidden;flex:none;background:#101013;box-shadow:0 0 0 2.5px rgba(144,238,144,.9),0 0 11px rgba(74,124,89,.5),0 2px 8px rgba(0,0,0,.45)}
.dockvoice .floating-voice-speaker .user-img{border-radius:6px;font-size:16px}
.dockvoice .voice-controls-pill{position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 10px;border-radius:18px;background-color:rgba(54,55,60,.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid rgba(255,255,255,.1);box-shadow:0 2px 12px rgba(0,0,0,.25),0 18px 40px -14px rgba(20,26,22,.5);line-height:1}
.dockvoice .voice-controls-pill::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:18px;padding:1px;background:conic-gradient(from 135deg at 50% 50%,rgba(255,255,255,.14) 0deg,rgba(255,255,255,.05) 60deg,rgba(255,255,255,.01) 120deg,rgba(255,255,255,.01) 180deg,rgba(255,255,255,.01) 240deg,rgba(255,255,255,.05) 300deg,rgba(255,255,255,.14) 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none}
.dockvoice .voice-pill-info{display:flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
.dockvoice .voice-pill-info-icon{display:flex;color:#4ade80;flex-shrink:0}
.dockvoice .voice-pill-info-name{max-width:140px;overflow:hidden;text-overflow:ellipsis;color:#e1e3e6;font-size:12px;font-weight:600}
.dockvoice .voice-pill-info-sep{color:#4b4d52;font-size:12px}
.dockvoice .voice-pill-info-duration{color:#8b8d91;font-size:12px}
.dockvoice .voice-pill-buttons{display:flex;align-items:center;gap:6px}
.dockvoice .voice-pill-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);color:#dcddde}
.dockvoice .voice-pill-btn svg{display:block}
.dockvoice .voice-pill-btn.disconnect{background:#ed4245;color:#fff}

/* One-time shine sweep over the brand line (guarded: without background-clip
   support the transparent text-fill would blank the headline) */
@supports ((background-clip:text) or (-webkit-background-clip:text)){
  /* Keeps the .fadein softIn entrance in the animation list - a lone brandShine
     would override it and leave the line at opacity 0 */
  .fhero h1 .brandline{background:linear-gradient(100deg,var(--brand) 0%,var(--brand) 42%,var(--green-300) 50%,var(--brand) 58%,var(--brand) 100%);background-size:220% 100%;background-position:120% 0;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:softIn .8s var(--ease-standard) var(--d,0s) forwards,brandShine 1.4s var(--ease-standard) 1s forwards}
}
@keyframes brandShine{to{background-position:-60% 0}}

/* ================= Marquee ================= */
.fmarquee{padding:84px 0 0}
.fmarquee-lead{text-align:center;font-size:15px;font-weight:500;color:var(--w-mut2);margin:0 0 24px}
.marquee{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.marquee-track{display:flex;gap:14px;width:max-content;animation:marq 44s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
@keyframes marq{to{transform:translateX(-50%)}}
.mchip{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;padding:9px 18px 9px 12px;font-size:14px;font-weight:600;color:#54604d;border:none;cursor:pointer;font-family:var(--font-sans);transition:color 200ms var(--ease-standard)}
.mchip:hover{color:#20301f}
.mchip:focus-visible{outline:none;box-shadow:rgba(31,35,33,.08) 0 4px 20px,0 0 0 3px var(--w-focus)}
.mchip:hover .mini{background:rgba(51,117,77,.12)}
.mchip .mini{width:26px;height:26px;border-radius:7px;background:rgba(50,55,30,.06);display:inline-flex;align-items:center;justify-content:center;font-size:13px;transition:background 200ms var(--ease-standard)}
.mchip .mini i{font-size:12px;opacity:.8}

/* ================= Features card ================= */
/* The first of three dark cards (features, games, stickers) that zig-zag down
   the home page: copy on the left, and on the right the features page's
   three real app screens, fanned and standing still, rising above the
   card's top edge. */
.ffeat{padding:130px 0 10px;position:relative}
.fsection-head{text-align:center;max-width:620px;margin:0 auto 60px}
.fsection-head h2{font-size:52px;margin:14px 0 14px;color:var(--w-ink)}
.fsection-head p{font-size:18px;color:var(--w-mut);margin:0}
@media (max-width:860px){.fsection-head h2{font-size:38px}}
.ffeat-card{position:relative;isolation:isolate;display:flex;align-items:center;min-height:500px;padding:52px 56px;border-radius:20px;background:radial-gradient(circle at 22% 50%,rgba(111,211,155,.22),transparent 58%),radial-gradient(circle at 84% 40%,rgba(104,168,218,.14),transparent 50%),#202327;box-shadow:0 18px 44px rgba(20,32,24,.2)}
.ffeat-phones{position:absolute;z-index:1;top:-64px;right:40px;width:min(470px,44%);height:540px;pointer-events:none}
.ffeat-phone{position:absolute;top:0;left:50%;width:236px;margin-left:-118px;padding:6px;border-radius:36px;background:#0c0e11;box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 26px 50px rgba(0,0,0,.45);transform-origin:50% 0}
.ffeat-phone img{display:block;width:100%;height:auto;border-radius:30px;background:#16181c}
.ffeat-phone--center{z-index:3}
.ffeat-phone--left{z-index:1;transform:translate(-128px,58px) rotate(-6deg) scale(.86)}
.ffeat-phone--right{z-index:2;transform:translate(128px,58px) rotate(6deg) scale(.86)}
.ffeat-copy{position:relative;z-index:2;max-width:500px}
.ffeat-card h2{font-size:clamp(36px,4.4vw,54px);line-height:1.02;margin:0 0 18px;color:#fff}
.ffeat-card .fstickers-brand b{color:#6fd39b;font-weight:600}
.ffeat-card .fstickers-sub{margin-bottom:22px}
.ffeat-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;margin:0 0 30px;padding:0}
.ffeat-list li{display:flex;align-items:flex-start;gap:10px;font-size:15px;font-weight:600;line-height:1.35;color:rgba(255,255,255,.9)}
.ffeat-list i{flex:none;margin-top:3px;font-size:12px;color:#6fd39b}
.ffeat .morerow{margin-top:70px}
/* Stacked: the three phones sit above the copy, still rising out of the
   card's top edge, smaller and closer together. */
@media (max-width:980px){
  .ffeat{padding-top:120px}
  .ffeat-card{flex-direction:column;align-items:stretch;min-height:0;padding:0 0 32px}
  .ffeat-phones{position:relative;top:auto;right:auto;width:auto;height:clamp(300px,74vw,440px);margin:-70px 0 10px}
  .ffeat-phone{width:clamp(140px,34vw,200px);margin-left:calc(clamp(140px,34vw,200px) / -2);padding:5px;border-radius:28px}
  .ffeat-phone img{border-radius:23px}
  .ffeat-phone--left{transform:translate(-62%,34px) rotate(-6deg) scale(.86)}
  .ffeat-phone--right{transform:translate(62%,34px) rotate(6deg) scale(.86)}
  .ffeat-copy{max-width:none;padding:0 28px}
  .ffeat .morerow{margin-top:44px}
}
@media (max-width:560px){
  .ffeat-copy{padding:0 22px}
  .ffeat-list{grid-template-columns:minmax(0,1fr)}
}

/* "And that's just the start" chip cloud */
.morerow{margin-top:44px;text-align:center}
.morelead{font-size:14px;font-weight:600;color:var(--w-mut2);margin:0 0 18px}
.morechips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;max-width:760px;margin:0 auto}
.morechip{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;font-size:13px;font-weight:600;color:var(--w-ink3)}
.morechip i{font-size:12px;color:var(--brand);opacity:.85}

/* ================= Games ================= */
/* The sticker card's twin, mirrored: a dark panel with a warm glow behind the
   copy and a tilted wall of the game icons running off the left edge. It
   borrows the sticker card's brand line, sub, buttons and ghost button. */
.fgames{padding:120px 0 0}
.fgames-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:flex-end;min-height:420px;padding:52px 56px;border-radius:20px;background:radial-gradient(circle at 76% 50%,rgba(230,179,76,.2),transparent 56%),radial-gradient(circle at 18% 50%,rgba(111,211,155,.14),transparent 52%),#202327;box-shadow:0 18px 44px rgba(20,32,24,.2)}
.fgames-wall{position:absolute;z-index:-1;top:50%;left:-40px;width:min(600px,56%);display:grid;grid-template-columns:repeat(3,1fr);gap:22px;transform:translateY(-50%) rotate(6deg);-webkit-mask-image:linear-gradient(270deg,transparent 4%,#000 34%);mask-image:linear-gradient(270deg,transparent 4%,#000 34%)}
.fgames-wall img{display:block;width:100%;height:auto;border-radius:24%;box-shadow:0 10px 26px rgba(0,0,0,.4),0 0 0 1px rgba(255,255,255,.06)}
.fgames-copy{max-width:460px}
.fgames-card h2{font-size:clamp(36px,4.4vw,54px);line-height:1.02;margin:0 0 18px;color:#fff}

.gameicon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;flex-shrink:0;border-radius:10px;background:#1c2333;overflow:hidden}
.gameicon.sm{width:36px;height:36px}
.gameicon img{display:block;width:100%;height:100%;object-fit:cover}

/* ---- /games: the game community cards (pages/community/community-teaser.mjs) ---- */
.gcommunity{padding:70px 0 0}
.gcommunity .fsection-head{margin-bottom:34px;max-width:760px}
.gcommunity .fsection-head h2{line-height:1.06}
.wr-teaser{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;overflow:hidden;border-radius:20px;background:#12161a;color:#fff;text-decoration:none;box-shadow:0 18px 44px rgba(20,32,24,.2);transition:box-shadow var(--dur-slow) var(--ease-standard),transform var(--dur-slow) var(--ease-standard)}
.wr-teaser:hover{box-shadow:0 22px 54px rgba(20,32,24,.3);transform:translateY(-2px)}
.wr-teaser:focus-visible{outline:none;box-shadow:0 0 0 3px var(--w-focus),0 18px 44px rgba(20,32,24,.2)}
.wr-teaser-art{position:relative;min-height:260px}
/* Anchored left so the game's logo in the artwork's corner stays whole */
.wr-teaser-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:0% 50%;display:block}
.wr-teaser--compact .wr-teaser-art img{object-position:var(--art-pos,50% 40%)}
.wr-teaser-art::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,22,26,0) 55%,#12161a)}
.wr-teaser-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:36px 40px 36px 24px}
.wr-teaser-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:980px;background:rgba(111,211,155,.14);border:1px solid rgba(111,211,155,.28);font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#9fe0b9}
.wr-teaser-kicker i{font-size:11px}
.wr-teaser-title{font-family:var(--font-display);font-size:clamp(26px,2.8vw,36px);font-weight:700;line-height:1.05;letter-spacing:-.03em;color:#fff}
.wr-teaser-title span{display:block;color:#7fd3a0}
.wr-teaser-chips{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0}
.wr-teaser-chips li{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:rgba(255,255,255,.82)}
.wr-teaser-chips i{color:#7fd3a0;font-size:11px}
.wr-teaser-btn{display:inline-flex;align-items:center;gap:9px;margin-top:4px;padding:12px 20px;border-radius:980px;background:var(--brand);color:var(--brand-contrast);font-size:14.5px;font-weight:600}
.wr-teaser:hover .wr-teaser-btn{background:var(--brand-hover)}
.wr-teaser-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.wr-teaser--compact{grid-template-columns:minmax(0,1fr)}
.wr-teaser--compact .wr-teaser-art{min-height:0;aspect-ratio:16/8}
.wr-teaser--compact .wr-teaser-art::after{background:linear-gradient(180deg,rgba(18,22,26,0) 45%,#12161a)}
.wr-teaser--compact .wr-teaser-copy{justify-content:flex-start;gap:12px;padding:0 26px 26px}
.wr-teaser--compact .wr-teaser-title{font-size:clamp(22px,2.2vw,28px)}
.wr-teaser--compact .wr-teaser-btn{margin-top:auto}
@media (max-width:760px){
  .wr-teaser{grid-template-columns:minmax(0,1fr)}
  .wr-teaser-art{min-height:0;aspect-ratio:16/8}
  .wr-teaser-art img{object-position:55% 35%}
  .wr-teaser-art::after{background:linear-gradient(180deg,rgba(18,22,26,0) 50%,#12161a)}
  .wr-teaser-copy{padding:6px 22px 26px}
  .wr-teaser-grid{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){.wr-teaser{transition:none}.wr-teaser:hover{transform:none}}

/* ================= mssgs stickers ================= */
/* Drawn after mssgs-stickers.com's own share card: a dark panel with a green
   glow and a tilted wall of pack covers running off the right edge. */
.fstickers{padding:30px 0 6px}
.fstickers-card{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:390px;padding:52px 56px;border-radius:20px;background:radial-gradient(circle at 22% 50%,rgba(111,211,155,.24),transparent 58%),#202327;box-shadow:0 18px 44px rgba(20,32,24,.2)}
.fstickers-wall{position:absolute;z-index:-1;top:50%;right:-60px;width:min(660px,60%);display:grid;grid-template-columns:repeat(5,1fr);gap:4px;transform:translateY(-50%) rotate(-6deg);-webkit-mask-image:linear-gradient(90deg,transparent 8%,#000 38%);mask-image:linear-gradient(90deg,transparent 8%,#000 38%)}
.fstickers-wall img{display:block;width:100%;height:auto}
.fstickers-copy{max-width:460px}
.fstickers-brand{display:flex;align-items:center;gap:10px;margin:0 0 20px;font-size:19px;font-weight:600;color:#e9ecef}
.fstickers-mark{display:flex}
.fstickers-mark svg{width:20px;height:26px}
.fstickers-brand b{color:#6fd39b;font-weight:600}
.fstickers-card h2{font-size:clamp(36px,4.4vw,54px);line-height:1.02;margin:0 0 18px;color:#fff}
.fstickers-sub{font-size:16px;line-height:1.6;color:rgba(255,255,255,.74);margin:0 0 28px}
.fstickers-domain{white-space:nowrap;color:#fff}
.fstickers-actions{display:flex;gap:12px;flex-wrap:wrap}
.fstickers-actions .btn-f{gap:9px}
.btn-f.fstickers-ghost{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.2);color:#fff}
.btn-f.fstickers-ghost:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.32);color:#fff}
.fstickers-actions .btn-f:focus-visible{box-shadow:0 0 0 3px rgba(111,211,155,.6)}
/* Stacked: the wall becomes a band of two rows above the copy, stickers at a
   fixed size running off the right edge (the card clips the rest) */
@media (max-width:900px){
  .fstickers-card{flex-direction:column;align-items:stretch;min-height:0;padding:0 0 32px}
  .fstickers-wall{position:relative;top:auto;right:auto;width:max-content;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:clamp(84px,19vw,120px);margin:calc(-8px - 4.4vw) 0 calc(14px + 4.4vw) -20px;transform:rotate(-5deg);transform-origin:50vw 50%;-webkit-mask-image:none;mask-image:none}
  .fstickers-copy{max-width:none;padding:0 28px}
}
@media (max-width:900px){
  .fgames-card{flex-direction:column;align-items:stretch;min-height:0;padding:0 0 32px}
  .fgames-wall{position:relative;top:auto;left:auto;width:max-content;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:clamp(96px,22vw,132px);gap:14px;margin:calc(-6px - 4.4vw) 0 calc(18px + 4.4vw) -24px;transform:rotate(5deg);transform-origin:50vw 50%;-webkit-mask-image:none;mask-image:none}
  .fgames-copy{max-width:none;padding:0 28px}
}
@media (max-width:560px){
  .fstickers-copy{padding:0 22px}
  .fgames-copy{padding:0 22px}
  .fstickers-actions .btn-f{flex:1 1 auto;justify-content:center}
}

/* ================= For developers ================= */
.fdev{padding:20px 0 10px}
.glass-tile.fdev-panel{display:flex;align-items:center;gap:26px;padding:30px 34px;flex-wrap:wrap}
.fdev-icon{flex:0 0 auto;width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--w-float);color:var(--brand);font-size:22px}
.fdev-body{flex:1 1 320px;min-width:0}
.fdev-body h2{font-size:26px;font-weight:600;letter-spacing:-0.01em;color:var(--w-ink);margin:6px 0 8px}
.fdev-body>p{font-size:15px;color:var(--w-mut);line-height:1.6;margin:0;max-width:640px}
.fdev-actions{flex:0 0 auto;display:flex;gap:12px;flex-wrap:wrap}
.fdev-actions .btn-f{gap:9px}
@media (max-width:720px){
  .glass-tile.fdev-panel{padding:26px 22px;gap:18px}
  .fdev-actions{width:100%}
  .fdev-actions .btn-f{flex:1 1 auto;justify-content:center}
}

/* ================= Privacy ================= */
.fprivacy{padding:170px 0 130px;text-align:center;position:relative}
.fprivacy h2{font-size:clamp(48px,6vw,72px);line-height:1.02;margin:18px 0 26px;color:var(--w-ink)}
.fprivacy h2 .brandline{color:var(--brand)}
.fprivacy-sub{font-size:19px;color:var(--w-mut);line-height:1.65;max-width:540px;margin:0 auto}
.trustrow{display:flex;justify-content:center;gap:44px;margin-top:60px;flex-wrap:wrap}
.trustrow .titem{display:flex;gap:12px;align-items:flex-start;text-align:left;max-width:220px}
.trustrow .titem>i{color:var(--brand);font-size:16px;margin-top:4px}
.trustrow .tt{display:block;font-size:15px;font-weight:600;color:var(--w-ink2);margin-bottom:2px}
.trustrow .td{font-size:13.5px;color:var(--w-mut2);line-height:1.5}
/* Stack the trust items on narrow screens so every icon starts at the same
   x - with flex-wrap the wrapped item was centered under the others */
@media (max-width:640px){
  .trustrow{flex-direction:column;align-items:center;gap:34px}
  .trustrow .titem{width:min(100%,260px);max-width:260px}
}

/* ================= CTA ================= */
.fcta{padding:0 0 90px}
.glass-tile.fcta-panel{text-align:center;padding:84px 40px;overflow:hidden}
.fcta-glow{position:absolute;width:620px;height:620px;left:50%;top:-420px;margin-left:-310px;border-radius:50%;background:radial-gradient(circle,var(--w-glow),transparent 62%);filter:blur(60px);pointer-events:none}
/* Chat bubbles above the CTA title — same visual as the LinkedIn banner */
.fcta-bubbles{display:flex;flex-direction:column;gap:14px;width:min(480px,100%);margin:0 auto 30px}
.fcta-bubble{display:flex;align-items:center;gap:12px;align-self:flex-start;background:#fffdf7;border-radius:22px;padding:10px 22px 10px 10px;box-shadow:0 10px 26px rgba(31,35,33,.1);text-align:left}
.fcta-bubble-alt{align-self:flex-end}
.fcta-bubble-av{flex:0 0 44px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:17px;font-weight:700}
.fcta-bubble-txt{display:flex;flex-direction:column;gap:1px}
.fcta-bubble-name{font-size:14px;font-weight:700;color:#33754d}
.fcta-bubble-body{font-size:16px;font-weight:500;color:#20301f}
.fcta-typing{display:flex;align-items:center;gap:4px;padding:0 8px}
.fcta-typing i{width:6px;height:6px;border-radius:50%;background:#8a8f82;animation:typingPulse 1.2s ease-in-out infinite}
.fcta-typing i:nth-child(2){animation-delay:.15s}
.fcta-typing i:nth-child(3){animation-delay:.3s}
@keyframes typingPulse{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
.fcta h2{font-size:clamp(38px,4.5vw,54px);margin:0 0 12px;color:var(--w-ink)}
.fcta-sub{font-size:18px;color:var(--w-mut);margin:0 0 28px}
.fcta-form{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;margin-bottom:20px}
.fcta-form .input-f{width:260px;max-width:100%;text-align:left}
.input-f{padding:13px 16px;font-family:var(--font-sans);font-size:14px;color:var(--site-ink);background:var(--site-card);border:1px solid var(--site-hair);border-radius:8px;outline:none;transition:border-color var(--dur-base) var(--ease-standard),box-shadow var(--dur-base) var(--ease-standard)}
/* Brand-green focus, matching every other focus ring on this page */
.input-f:focus{border-color:var(--brand);box-shadow:0 0 0 3px var(--w-focus)}
.input-f::placeholder{color:var(--site-ink-3)}
.fcta .platform-row{margin-bottom:16px}
.fcta-fine{font-size:13.5px;color:var(--w-mut2);margin:0;line-height:1.6}
@media (max-width:560px){.glass-tile.fcta-panel{padding:60px 20px}}

/* ================= Reduced motion ================= */
@media (prefers-reduced-motion: reduce){
  .marquee-track{animation:none}
  .marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  #tiltwin{transform:none!important;transition:none}
  .msg-anim{animation:none}
  .appwin .typing-dots .dot{animation:none}
  .floatb{transition:none}
  .fhero h1 .brandline{animation:none;background-position:-60% 0}
}

/* ================= Games page ================= */
.page-hero-f{padding:170px 0 60px;text-align:center}
.page-hero-f h1{font-size:clamp(44px,6.5vw,76px);line-height:1.02;margin:14px 0 18px;color:var(--w-ink)}
.page-hero-sub{font-size:19px;color:var(--w-mut);line-height:1.6;max-width:560px;margin:0 auto}
.gsteps{padding:20px 0 30px}
.gsteps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.glass-tile.gstep{padding:26px;position:relative}
.gstep-num{position:absolute;top:20px;right:22px;font-family:var(--font-display);font-size:34px;font-weight:700;color:var(--w-faint)}
.gstep i{font-size:18px;color:var(--brand)}
.gstep h3{font-size:19px;font-weight:600;margin:12px 0 6px;color:var(--w-ink)}
.gstep p{font-size:14.5px;color:var(--w-mut);line-height:1.55;margin:0}
@media (max-width:820px){.gsteps-grid{grid-template-columns:1fr}}
.ggrid{padding:70px 0 10px}
.ggrid .fsection-head{margin-bottom:40px}
.ggrid-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.glass-tile.gcard{padding:20px;display:flex;gap:16px;align-items:flex-start;text-decoration:none;color:inherit;transition:transform .3s var(--ease-standard),box-shadow .3s var(--ease-standard)}
a.gcard:hover{color:inherit;transform:translateY(-3px);box-shadow:0 14px 34px rgba(31,35,33,.11)}
.gcard-cta{display:inline-flex;align-items:center;gap:7px;margin-top:10px;font-size:13px;font-weight:600;color:var(--green-700)}
.gcard-cta i{font-size:11px;transition:transform .3s var(--ease-standard)}
a.gcard:hover .gcard-cta i{transform:translateX(3px)}
.gcard .gameicon{width:64px;height:64px;border-radius:15px}
.gcard h3{font-size:18px;font-weight:600;margin:0;color:var(--w-ink);display:flex;align-items:center;gap:8px}
.gcard-players{font-size:12.5px;color:var(--w-mut2);display:block;margin:2px 0 6px}
.gcard p{font-size:14.5px;color:var(--w-mut);line-height:1.5;margin:0}
.gnew{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--w-onbrand);background:var(--brand);padding:3px 8px;border-radius:980px}
@media (max-width:720px){.ggrid-cards{grid-template-columns:1fr}}
.ggrid-foot{text-align:center;font-size:13.5px;color:var(--w-mut2);margin:28px 0 0}
.gspot{padding:80px 0 40px}
.glass-tile.gspot-tile{display:flex;gap:26px;align-items:center;padding:40px}
.gspot-tile .gameicon{width:96px;height:96px;border-radius:20px;flex-shrink:0}
.gspot-tile h2{font-size:34px;margin:8px 0 10px;color:var(--w-ink)}
.gspot-tile p{font-size:16px;color:var(--w-mut);line-height:1.6;margin:0;max-width:560px}
@media (max-width:640px){.glass-tile.gspot-tile{flex-direction:column;text-align:center;align-items:center}}
.gmore{display:inline-flex;align-items:center;gap:7px;margin:6px 8px 2px;font-size:13.5px;font-weight:600;color:var(--green-700);text-decoration:none}
.gmore:hover{color:var(--green-800)}
.gmore i{font-size:11px}

/* ---- Mobile section rhythm ---- */
@media (max-width:600px){
  .fhero{padding-top:96px}
  .ffeat{padding:100px 0 10px}
  .fgames{padding:64px 0 0}
  .fprivacy{padding:90px 0 70px}
  .page-hero-f{padding:112px 0 44px}
}

/* ---- Mobile polish pass ----------------------------------------------
   Tighter tile padding, thumb-first hero CTA, calmer type scale and
   vertical rhythm. Scoped to home sections; global primitives untouched. */
@media (max-width:600px){
  /* Breathing room: cut container gutters so tiles can hold more content,
     then trim the tile's own padding (default is a desktop-sized 30px) */
  .fhero .container,.fmarquee .container,.ffeat .container,
  .fgames .container,.fprivacy .container,.fcta .container{padding:0 18px}

  /* Hero: tighter headline, shorter measure, calmer rhythm */
  .fhero h1{font-size:clamp(44px,12.5vw,64px)!important;margin-bottom:14px}
  .fhero-sub{font-size:17px;line-height:1.55;margin-bottom:28px}
  .fhero-cta{gap:16px;margin-bottom:48px}

  /* Thumb-first primary CTA: full-width block, bigger hit target */
  .fhero-cta>.btn-f-primary,.fcta-form>.btn-f-primary{width:100%;max-width:360px}
  /* Stack the CTA form cleanly: input and button share the same full width */
  .fcta-form{flex-direction:column}
  .fcta-form .input-f{width:100%;max-width:360px;text-align:center}

  /* Platform row: roomier tap targets, keep it on one calm line */
  .platform-row{gap:14px 18px;font-size:13px;padding-top:2px}
  .platform-row a{padding:4px 0}

  /* Section heads: lighter type + margin so content isn't pushed down */
  .fsection-head{margin-bottom:38px}
  .fsection-head h2{font-size:clamp(30px,8vw,38px);margin:10px 0}
  .fsection-head p{font-size:16px}

  /* Marquee sits closer to the hero on small screens */
  .fmarquee{padding-top:56px}
  .fmarquee-lead{margin-bottom:18px}

  /* Privacy + CTA headlines scale down a touch for the narrow column */
  .fprivacy h2{margin:14px 0 20px}
  .fprivacy-sub{font-size:17px}
  .trustrow{margin-top:44px}
}

/* Very small phones (SE / 320px): guard against headline overflow */
@media (max-width:380px){
  .fhero h1{font-size:clamp(40px,13vw,52px)!important}
  .fhero .container,.ffeat .container,.fgames .container,
  .fprivacy .container,.fcta .container{padding:0 16px}
}

/* Touch devices: no hover, so give a tactile press response instead */
@media (hover:none){
  .btn-f,.seg,.mchip,.morechip{transition:transform .12s var(--ease-standard),background var(--dur-slow) var(--ease-standard),box-shadow var(--dur-slow) var(--ease-standard),color var(--dur-fast) var(--ease-standard)}
  .btn-f:active{transform:scale(.975)}
  .seg:active,.mchip:active{transform:scale(.95)}
}
@media (hover:none) and (prefers-reduced-motion:reduce){
  .btn-f:active,.seg:active,.mchip:active{transform:none}
}
