/* GOLEKT public portal — responsive from 320px to desktop */
:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#211a38;background:#f5f4fa;color-scheme:light}
*{box-sizing:border-box}html{max-width:100%;scroll-behavior:smooth}body{margin:0;min-width:0;overflow-x:clip;font-size:16px;line-height:1.45}
[hidden]{display:none!important}a{color:#49329b}button,input,select{font:inherit}button,a{touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #9b84ff;outline-offset:3px}a.btn{text-decoration:none}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px max(18px,env(safe-area-inset-right)) 13px max(18px,env(safe-area-inset-left));background:#2d1e5c;color:white;flex-wrap:wrap}
.top .logo{font-weight:800;font-size:clamp(21px,3vw,25px);color:white;text-decoration:none;white-space:nowrap}.top nav{display:flex;gap:6px;flex-wrap:wrap;align-items:center;min-width:0}.top nav a{color:white;text-decoration:none;padding:9px 10px;border-radius:9px;font-weight:600}.top nav a:hover,.top nav a:focus-visible{background:#ffffff22}.top #who{font-size:13px;color:#ece1ff;overflow-wrap:anywhere;min-width:0}.menu-toggle{display:none;background:#ffffff20;border:1px solid #ffffff44;border-radius:10px;padding:9px 12px;color:#fff;min-height:44px;font-size:15px;cursor:pointer;font-weight:650}
main{max-width:1080px;padding:22px 18px 50px;margin:auto;min-width:0}.wide{max-width:1240px}h1,h2,h3{line-height:1.2;overflow-wrap:break-word}h1{font-size:clamp(27px,4.8vw,39px)}h2{font-size:clamp(21px,3vw,26px)}h3{font-size:19px}.hero{padding:clamp(22px,5vw,48px) clamp(18px,4vw,34px);border-radius:22px;background:linear-gradient(125deg,#48308b,#7553b7);color:white}.hero h1{font-size:clamp(29px,5vw,54px);max-width:800px;margin:10px 0}.hero p{max-width:650px;font-size:clamp(15px,2.6vw,17px)}.eyebrow{font-weight:800;letter-spacing:.15em;font-size:12px;opacity:.86}.muted{color:#746b87;font-size:14px}.hero .muted{color:#e1d6fc}.actionrow{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}
.btn{display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;background:#5635ad;color:#fff;border:none;border-radius:11px;cursor:pointer;font-weight:700;min-height:44px;text-align:center;max-width:100%;white-space:normal}.btn.secondary{background:#e8defc;color:#3f267f}.btn.light{background:#fff;color:#4d3189}.btn.danger{background:#b62142;color:white}.btn.small{font-size:14px;padding:9px 12px;min-height:44px}
.twocol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}.twocol>*{min-width:0}.panel{background:#fff;padding:24px;min-width:0;border:1px solid #e8e2f4;border-radius:17px;box-shadow:0 6px 22px #24174d0c;margin-bottom:14px}.panel h2{margin:0 0 15px}.panel h3{margin-bottom:8px}.features>div{padding:4px 0 12px;border-bottom:1px solid #eee}.features p{margin:5px 0}
label{display:block;margin:11px 0;font-size:14px;font-weight:650;min-width:0}label input:not([type=checkbox]),label select{display:block;width:100%;min-width:0;padding:11px;margin-top:5px;border:1px solid #c9c4d2;border-radius:9px;min-height:46px;font-size:16px;font-weight:400}label.check{display:flex;align-items:flex-start;gap:9px;font-weight:400}.check input{margin:4px 0 0;flex:0 0 auto;min-width:18px;min-height:18px}.textbtn{background:none;color:#5e36a2;border:0;cursor:pointer;text-decoration:underline;padding:10px 0;min-height:44px}.status{color:#7e2b43;min-height:20px;white-space:pre-wrap;overflow-wrap:anywhere}
footer{padding:24px max(18px,env(safe-area-inset-right)) 24px max(18px,env(safe-area-inset-left));border-top:1px solid #dfd8eb;display:flex;flex-wrap:wrap;gap:10px}footer span{margin-left:auto}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pagehead h1{margin:6px 0 18px}
.messenger{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:16px;min-width:0}.sidebar{min-height:380px}.sidebar #conversationList{display:grid;gap:6px}.sidebar #conversationList button{padding:10px;text-align:left;border-radius:8px;border:1px solid #ddd2ef;background:#f5f1fc;cursor:pointer;min-height:44px;overflow-wrap:anywhere}.chat{display:flex;flex-direction:column;min-height:480px;min-width:0}.chat .msglist{flex:1;min-height:220px;max-height:min(55vh,650px);overflow:auto;display:flex;flex-direction:column;gap:8px;overscroll-behavior:contain}.bubble{max-width:min(88%,520px);padding:9px 12px;border-radius:12px;background:#ece8f7;align-self:flex-start;overflow-wrap:anywhere;min-width:0}.bubble.mine{background:#e1e9ff;align-self:flex-end}.bubble .meta{font-size:11px;color:#655e76}.bubble .trash{border:0;background:transparent;color:#9b2745;cursor:pointer;float:right;min-width:42px;min-height:42px;font-size:18px;border-radius:9px}.compose{display:flex;gap:8px;margin-top:12px;min-width:0}.compose input{flex:1;min-width:0;border:1px solid #cac1dc;border-radius:10px;padding:10px;font-size:16px}.tablewrap{overflow:auto;max-width:100%;-webkit-overflow-scrolling:touch}table{border-collapse:collapse;width:100%;min-width:490px;font-size:13px}td,th{text-align:left;padding:9px;border-bottom:1px solid #eee;overflow-wrap:anywhere}.smallnote{font-size:12px;color:#5c5770}
/* One accessible browser-modal style across Messenger, Admin and Explore */
.golekt-dialog{border:1px solid #e4dff0;border-radius:19px;padding:0;max-width:min(430px,calc(100vw - 28px));width:100%;background:#fff;color:#211a38;box-shadow:0 24px 65px #1b0b4e55}.golekt-dialog::backdrop{background:#100924a8;backdrop-filter:blur(2px)}.golekt-modal-body{padding:22px;min-width:0}.golekt-modal-title{font-size:clamp(19px,4vw,23px);font-weight:800;margin:0 0 9px;line-height:1.25}.golekt-modal-message{font-size:15px;color:#544b6a;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 20px}.golekt-modal-input{width:100%;min-height:44px;padding:10px;font:inherit;border:1px solid #c9c4d2;border-radius:10px;margin-bottom:18px}.golekt-modal-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px}.golekt-modal-actions button{flex:0 1 auto;min-width:104px}
@media(max-width:800px){.twocol,.messenger{grid-template-columns:1fr}.sidebar{min-height:0}.chat{min-height:min(460px,70dvh)}.chat .msglist{max-height:50dvh}}
@media(max-width:620px){main{padding:14px 12px 34px}.top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 6px;padding:10px 12px}.top .logo{font-size:22px}.menu-toggle{display:flex;align-items:center;justify-content:center;gap:6px}.top nav{display:none;grid-column:1 / -1;grid-row:2;flex-direction:column;gap:5px;padding:9px 0 2px;border-top:1px solid #ffffff33;width:100%}.top nav.open{display:flex}.top nav a{width:100%;min-height:43px;display:flex;align-items:center;padding:9px 12px;background:#ffffff0c}.top #who{grid-column:1/-1;font-size:12px}.hero{border-radius:17px;padding:26px 20px}.hero h1{font-size:clamp(28px,8vw,37px)}.panel{padding:17px 15px;border-radius:16px}.pagehead{align-items:center}.pagehead h1{font-size:30px;margin:10px 0}.pagehead .btn{min-height:44px}.actionrow{gap:8px}.hero-actions>.btn{flex:1 1 140px}.sidebar h2,.chat h2{font-size:24px}.sidebar #conversationList{margin-top:12px}.compose .btn{padding:10px 13px}.chat .msglist{min-height:210px}.golekt-modal-body{padding:19px}.golekt-modal-actions button{flex:1 1 110px}}
@media(max-width:380px){main{padding:10px 9px 30px}.panel{padding:14px 12px}.hero{padding:23px 15px}.hero-actions>.btn{flex:1 1 100%}.sidebar h2,.chat h2{font-size:21px}.bubble{max-width:95%}.pagehead h1{font-size:27px}.pagehead .btn{padding-inline:10px}.top{padding:9px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.creature-showcase{margin-top:18px}.creature-showcase>h2{margin-bottom:8px}.creature-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:18px}.creature-preview{min-width:0;border:1px solid #ebe5f4;border-radius:13px;background:#faf9fd;overflow:hidden;text-align:center;padding-bottom:11px}.creature-preview img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}.creature-preview strong{display:block;margin:9px 2px 0;font-size:13px;overflow-wrap:anywhere}@media(max-width:800px){.creature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:410px){.creature-grid{gap:7px}.creature-preview strong{font-size:12px}}

/* Revision 17: Messenger-style friends, requests, and compact mobile conversations */
.friends-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.friends-head h2{margin-bottom:8px}.friends-search input{width:100%;min-height:44px;padding:9px 12px;font-size:16px;border:1px solid #c9c4d2;border-radius:12px;margin:7px 0 12px}.friends-list{display:grid;gap:6px}.friends-list .friend-row,.sidebar-more .friend-row{width:100%;display:flex;gap:11px;align-items:center;padding:10px 9px;text-align:left;border:0;border-radius:12px;background:#f8f6fc;cursor:pointer;color:#25194c;min-height:60px}.friends-list .friend-row:hover,.friends-list .friend-row.selected,.sidebar-more .friend-row:hover{background:#ece6ff}.friend-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#6d44bc;color:white;font-weight:800;font-size:19px}.friend-info{display:flex;flex-direction:column;min-width:0;overflow:hidden}.friend-info strong{font-size:15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.friend-info small{font-size:12px;color:#69617e}.sidebar-more{padding:11px 2px;border-top:1px solid #e8e1f3}.sidebar-more summary{cursor:pointer;font-weight:700;min-height:42px;display:flex;align-items:center;justify-content:space-between}.sidebar-more summary::marker{color:#5836a4}.request-row{display:flex;align-items:center;gap:8px;padding:7px 0;min-width:0}.request-row>span:nth-child(2){flex:1;overflow-wrap:anywhere}.chat-head{display:flex;align-items:center;gap:10px;min-width:0}.chat-head h2{margin-bottom:13px}.chat-empty{color:#777083;text-align:center;margin:auto}.chat .compose input:disabled{opacity:.6}.friend-row:focus-visible{outline:3px solid #9b84ff}
@media(max-width:800px){.messenger{grid-template-columns:1fr}.chat{min-height:370px}}@media(max-width:620px){.messenger.chat-open #friendsPane{display:none}.messenger:not(.chat-open) #chatPane{display:none}.chat .msglist{max-height:calc(100dvh - 300px);min-height:200px}.friends-list .friend-row{min-height:64px}.sidebar-more{padding:10px 0}}

/* Mobile app-like full-screen presentation; the user chooses browser fullscreen or installs the PWA. */
html,body{max-width:100%;min-height:100%;overflow-x:clip}body{min-height:100dvh}
.mobile-fullscreen{display:none;background:#ffffff25;border:1px solid #ffffff55;border-radius:10px;color:#fff;min-height:44px;padding:8px 10px;font-weight:700;white-space:nowrap;cursor:pointer}
@media(max-width:850px){.mobile-fullscreen:not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:4px;font-size:12px}.top{padding-bottom:max(10px,env(safe-area-inset-bottom))}}
@media(max-width:620px){.top .mobile-fullscreen{grid-column:1;grid-row:2;justify-self:start}.top #who{grid-row:auto}.top nav{grid-row:auto}}
@media(display-mode:fullscreen){html,body{min-height:100dvh}body{padding-bottom:env(safe-area-inset-bottom)}}

/* Revision 34 — public homepage reflects collection, Coins, marketplace and Messenger. */
.home-hero{position:relative;overflow:hidden}
.home-hero h1{font-size:clamp(32px,5vw,52px);max-width:19ch;margin:13px 0}
.home-hero>p{max-width:69ch;font-size:clamp(16px,1.8vw,18px)}
.home-metrics{display:flex;gap:9px;flex-wrap:wrap;margin-top:22px}
.home-metrics span{border:1px solid #ffffff55;background:#ffffff19;border-radius:999px;padding:8px 11px;font-size:13px;font-weight:700}
.home-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-features>div{background:#f8f6fd;border:1px solid #eee8f8;border-radius:14px;padding:13px;display:flex;flex-direction:column;min-width:0}
.home-features strong{font-size:14px;color:#33215c}
.home-features p{font-size:13px;color:#5d5670;margin:7px 0 10px;flex:1}
.home-features a{font-size:13px;font-weight:750;align-self:flex-start}
@media(max-width:560px){.home-features{grid-template-columns:1fr}.home-metrics{gap:7px}.home-metrics span{font-size:12px;padding:7px 9px}}

/* Featured collectible catalog art sourced from GOLEKT's bundled portrait library. */
.showcase-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.showcase-header>div{flex:1;min-width:min(260px,100%)}
.showcase-header h2{margin:0 0 8px}
.showcase-header .muted{margin:0;max-width:69ch}
.creature-grid.featured-collectibles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.featured-collectible{overflow:hidden;min-width:0;border:1px solid #e8dff5;border-radius:14px;background:#fbf9fe}
.featured-collectible img{width:100%;height:auto;aspect-ratio:1/1;display:block;object-fit:cover}
.featured-collectible-copy{padding:10px 8px 11px;display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center}
.featured-collectible-copy strong{font-size:12px;overflow-wrap:anywhere}
.featured-rarity{display:inline-block;border-radius:20px;background:#efecfa;padding:3px 8px;color:#594578;font-weight:750;font-size:10px;line-height:1.4}
.featured-rarity.rarity-rare{background:#FFF3AF;color:#5B4100}
.featured-rarity.rarity-epic{background:#f2e0ff;color:#6f2593}
.featured-rarity.rarity-legendary{background:#fff0c8;color:#865508}
.showcase-footer{margin:14px 0 0;font-size:12px}
@media(max-width:700px){.creature-grid.featured-collectibles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}
@media(max-width:440px){.creature-grid.featured-collectibles{grid-template-columns:repeat(2,minmax(0,1fr))}.showcase-header>.btn{width:auto}}

/* Accessible unread badges on friend rows and Messenger entry points. */
.unread-badge{margin-left:auto;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:2px 7px;border-radius:999px;background:#6339b5;color:#fff;font-size:12px;font-weight:800;line-height:1;box-shadow:0 0 0 2px #fff}
.unread-badge[hidden]{display:none}
.friends-list .friend-row:has(.unread-badge){background:#f0eafd}
@media(max-width:620px){.unread-badge{min-width:24px;height:24px}}

/* Revision 40: discoverable public channels */
.channel-entry{padding:6px 0;border-bottom:1px solid #e9e5f3}.channel-actions{display:flex;flex-wrap:wrap;gap:7px;padding:5px 8px 8px}.channel-actions .btn{font-size:.8rem}.channel-entry .friend-row{width:100%;text-align:left}.channel-entry .smallnote{margin:6px 8px}

/* GOLEKT_BRAND_UX_20261122_V1 */
/* GOLEKT unified desktop + mobile UX. Keep in sync across Portal, Messenger, Admin. */
:root{--go-ink:#17223a;--go-deep:#101b32;--go-blue:#238bc6;--go-cyan:#2bcbe8;--go-gold:#efa933;--go-line:#dce5f0;--go-bg:#f1f5fa;--go-card:#fff;--go-radius:16px;color:var(--go-ink);background:var(--go-bg)}
body{background:var(--go-bg);color:var(--go-ink);font-size:15px}a{color:#145da1}a:hover{text-decoration-thickness:2px}
.top{background:#101b32;border-bottom:1px solid #253a59;box-shadow:0 3px 16px #111a2e28;position:sticky;top:0;z-index:85;padding-block:10px}
.top .logo{display:inline-flex;align-items:center;gap:8px;font-size:22px;font-weight:850;letter-spacing:.045em;color:white}.top .logo img,.head .brand img{display:block;width:36px;height:36px;object-fit:contain}
.top nav{flex:1;justify-content:center}.top nav a{font-size:14px;min-height:44px;display:inline-flex;align-items:center;padding:9px 15px;color:#e8f3ff}.top nav a:hover{background:#263b57;border-radius:12px}
.top #who{color:#bfd1e8}.menu-toggle{min-width:44px}
main,main.wide{max-width:1490px;width:100%;margin-inline:auto;padding-inline:clamp(16px,2.2vw,32px)}.hero{background:linear-gradient(122deg,#122747,#17476d 55%,#235786);box-shadow:0 12px 30px #14243b16;border:1px solid #ffffff20}.hero h1{font-size:clamp(34px,4.8vw,62px);letter-spacing:-.03em;line-height:1.08}
.panel{border:1px solid var(--go-line);border-radius:16px;box-shadow:0 6px 22px #1d35520b;padding:clamp(17px,2vw,26px)}.panel h2{color:#172846}.muted{color:#65778f}.btn{background:#146aab;border-radius:11px;min-height:48px}.btn:hover{background:#11568c}.btn.secondary{background:#e3eef9;color:#174d7d}.btn.light{color:#134b7b}button,input,select,textarea{font-size:16px}
.home-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-features>div{background:#f5f8fc;border:1px solid #e0e8f2;border-radius:12px;padding:14px;min-width:0}.home-features>div p{font-size:13px;color:#61728c}
.creature-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.creature-preview{border-color:#dce6f1;background:#f8fbff}.creature-preview img{object-fit:cover}
.messenger{grid-template-columns:minmax(260px,325px) minmax(0,1fr)}.chat{min-height:min(690px,75dvh)}.chat .msglist{max-height:64dvh}.sidebar #conversationList button{min-height:54px}.compose input{min-height:50px}
:focus-visible{outline-color:#2a9ad2!important}.golekt-mobile-dock{display:none}
@media(min-width:1280px){main{padding-top:28px}.twocol{gap:22px}.hero{min-height:300px}.messenger{grid-template-columns:minmax(300px,370px) minmax(0,1fr)}}
@media(max-width:860px){.home-features{grid-template-columns:repeat(2,minmax(0,1fr))}.creature-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){
 html{scroll-padding-top:76px}body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 main,main.wide{padding:13px 12px 15px}.hero{padding:21px 17px;border-radius:16px;min-height:0}.hero h1{font-size:clamp(30px,7vw,42px);margin:8px 0}.hero p{font-size:14px;line-height:1.45}.home-metrics{gap:5px}.home-metrics span{font-size:11px}
 .top{display:flex;gap:8px;flex-wrap:wrap;padding:7px 12px}.top .logo{font-size:20px;flex:1 1 auto}.top .logo img{width:32px;height:32px}.top #who{order:3;width:100%;font-size:11px}.top nav{display:none;flex:1 0 100%;order:4}.top nav.open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}.top nav.open a{min-height:48px;border-radius:8px;background:#203751}.menu-toggle{display:flex!important;order:2}
 .golekt-mobile-dock{position:fixed;z-index:200;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;left:0;right:0;bottom:0;padding:5px max(5px,env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-right));border-top:1px solid #34465e;background:#111d34;box-shadow:0 -4px 18px #0715293a;gap:2px;max-height:90px}
 .golekt-mobile-dock>a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;color:#e8f2fc;text-align:center;text-decoration:none;font-size:10px;font-weight:730;min-width:0;min-height:59px;border-radius:9px;padding:4px 2px;touch-action:manipulation}
 .golekt-mobile-dock>a:active,.golekt-mobile-dock>a:focus-visible{background:#255780}.golekt-mobile-dock .nav-icon{font-size:22px;line-height:1.25}
 .panel{padding:15px 13px;margin-bottom:10px}.twocol{grid-template-columns:1fr;gap:11px;margin-top:11px}.home-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.home-features>div{padding:11px}.home-features>div strong{font-size:13px}.home-features>div p{font-size:12px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 .creature-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(132px,43vw);overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:9px;padding-bottom:8px}.creature-preview{scroll-snap-align:start}
 .messenger{display:block}.messenger .sidebar{min-height:0}.friends-list .friend-row{min-height:57px}.chat{min-height:320px}.chat .msglist{min-height:200px;max-height:min(43dvh,400px)}.compose{position:sticky;bottom:0;background:#fff;padding:8px 0;margin-top:6px}.compose input{min-height:50px}.btn,.top nav a,button[type=submit]{min-height:48px}
 .pagehead h1{font-size:26px}.hero-actions>.btn{flex:1 1 145px}.tablewrap{scrollbar-width:thin}
}
@media(max-width:375px){.home-features{grid-template-columns:1fr}.golekt-mobile-dock>a{font-size:10px}.top #who{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important}}

