
    *{box-sizing:border-box}body{margin:0;font:15px system-ui;color:#242424;background:#fafafa}.top{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:28px;padding:14px 5vw;background:#fff;border-bottom:1px solid #eee}.brand{font-size:22px;font-weight:700;color:#e11d48}.search{flex:1;max-width:540px;padding:11px 16px;border:1px solid #ddd;border-radius:999px}.nav{display:flex;gap:16px}.wrap{max-width:1280px;margin:auto;padding:18px}.chips{display:flex;gap:9px;overflow:auto;margin-bottom:18px}.chip{border:0;border-radius:999px;padding:9px 15px;background:#eee}.chip.active{background:#242424;color:#fff}.feed{columns:5 190px;column-gap:14px}.card{break-inside:avoid;margin:0 0 18px;background:#fff;border-radius:14px;overflow:hidden}.image{display:grid;place-items:center;min-height:150px;background:linear-gradient(145deg,#fda4af,#fed7aa);color:#5f2430;font-weight:600}.card:nth-child(3n) .image{min-height:240px;background:linear-gradient(145deg,#a7f3d0,#bfdbfe)}.card:nth-child(3n+2) .image{min-height:190px;background:linear-gradient(145deg,#ddd6fe,#fbcfe8)}.copy{padding:11px}.meta{display:flex;justify-content:space-between;color:#666;font-size:13px}.bottom{display:none}@media(max-width:650px){.top{gap:10px;padding:10px 12px}.nav{display:none}.brand{font-size:19px}.wrap{padding:12px 10px 70px}.feed{columns:2;column-gap:10px}.card{margin-bottom:12px}.bottom{position:fixed;bottom:0;left:0;right:0;z-index:3;display:flex;justify-content:space-around;padding:13px 8px;background:#fff;border-top:1px solid #ddd}.create{color:#e11d48;font-weight:700}}
    /* Preserve individual media proportions so adjacent columns do not align. */
    .card .image{min-height:0;aspect-ratio:var(--media-ratio);height:auto}
    .card:nth-child(1){--media-ratio:3/4}
    .card:nth-child(2){--media-ratio:1/1}
    .card:nth-child(3){--media-ratio:4/5}
    .card:nth-child(4){--media-ratio:4/3}
    .card:nth-child(5){--media-ratio:3/4}
    .card:nth-child(6){--media-ratio:1/1}
    .card:nth-child(n) .image{min-height:0}
    /* Memorisely theme: Constance/globle.dart and Explore/explore.dart. */
    body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#11142d;background:#f7f7f8}
    .top{padding:18px 5vw;border-bottom:1px solid #e7e8ea;gap:24px}
    .brand{color:#6c5dd3;letter-spacing:-.7px;display:flex;align-items:center;gap:10px}
    .brand::before{content:'o';display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#6c5dd3;color:white;font-size:30px;line-height:1}
    .search{background:#f7f7f8;border:1px solid #e7e8ea;border-radius:12px;color:#11142d;padding:13px 16px;min-width:0}
    .nav{color:#707281;font-size:14px;align-items:center}.nav b{color:#6c5dd3}
    .wrap{padding-top:24px}.chips{gap:10px;margin-bottom:22px}.chip{background:white;color:#707281;border:1px solid #e7e8ea;font-weight:600;padding:10px 18px}.chip.active{background:#6c5dd3;border-color:#6c5dd3;color:white}
    .card{border-radius:12px;background:white;box-shadow:0 3px 14px #11142d05}
    .card:nth-child(n) .image{background-size:cover;background-position:center;color:transparent;font-size:0}
    .card:nth-child(1) .image{background-image:url('mobile/assets/memorisely/s9.png')}
    .card:nth-child(2) .image{background-image:url('mobile/assets/memorisely/s38.png')}
    .card:nth-child(3) .image{background-image:url('mobile/assets/memorisely/s12.png')}
    .card:nth-child(4) .image{background-image:url('mobile/assets/memorisely/s5.png')}
    .card:nth-child(5) .image{background-image:url('mobile/assets/memorisely/s41.png')}
    .card:nth-child(6) .image{background-image:url('mobile/assets/memorisely/s9.png')}
    .copy{padding:14px}.copy b{font-size:14px;font-weight:600;line-height:1.5}.meta{color:#707281;align-items:center;gap:8px;margin:12px 0 0}.meta span:first-child{display:flex;align-items:center;gap:7px}.meta span:first-child::before{content:'';width:24px;height:24px;flex-shrink:0;border-radius:50%;background:url('mobile/assets/memorisely/s14.png') center/cover}.meta span:last-child{white-space:nowrap}
    .bottom{border-color:#e7e8ea;box-shadow:0 -4px 20px #11142d04}.bottom a{display:flex;flex-direction:column;align-items:center;gap:4px;text-decoration:none;color:#707281;font-size:10px}.bottom svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.bottom a:first-child{color:#6c5dd3}.bottom .create{background:#6c5dd3;color:white;width:42px;height:42px;border-radius:14px;justify-content:center}
    @media(max-width:650px){.top{padding:14px 16px;gap:14px}.brand{font-size:20px}.brand::before{width:28px;height:28px;font-size:24px;border-radius:9px}.search{width:0;font-size:12px}.wrap{padding:18px 10px 90px}.chips{margin-bottom:18px}.chip{padding:9px 16px}.copy{padding:11px}.meta{font-size:11px}.bottom{padding:12px 8px max(12px,env(safe-area-inset-bottom))}}
    .brand::before{content:none}
    .brand{flex-shrink:0}
    .brand img{display:block;width:168px;height:56px;object-fit:contain}
    @media(max-width:650px){.brand img{width:126px;height:42px}}
  
[hidden]{display:none!important}
.chips .chip{flex-shrink:0;white-space:nowrap}
button,a,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b0a3fa;outline-offset:3px}
.bottom a:first-child{color:#707281}.bottom a[aria-current=page]{color:#6c5dd3}.bottom a.create{color:white}
.nav a{text-decoration:none;color:#707281}.nav a[aria-current=page]{color:#6c5dd3;font-weight:700}
.panel{max-width:640px;margin:0 auto;background:#fff;padding:24px;border-radius:18px}
.panel h1,.page-title{font-size:26px;margin:0 0 12px}.muted{color:#707281;line-height:1.6}.demo{font-size:12px;color:#707281;margin:0 0 20px}
.form{display:grid;gap:16px}.form label{display:grid;gap:8px;font-weight:600}.form input,.form textarea,.form select{width:100%;padding:12px;border:1px solid #ddd;border-radius:10px;background:white;color:#11142d}.form textarea{min-height:100px;resize:vertical}
.primary,.secondary{border:0;border-radius:10px;padding:12px 18px;background:#6c5dd3;color:white}.secondary{background:#eeebfb;color:#5749b5}.actions{display:flex;gap:10px;flex-wrap:wrap}.primary:disabled{opacity:.5}
.card .open-note{display:block;border:0;padding:0;text-align:left;width:100%;background:transparent;color:inherit}.card .image{display:block;width:100%;object-fit:cover;background:none!important}.card .meta{padding:0 11px 12px}.card .copy{display:block}.card .save{border:0;background:transparent;color:#6c5dd3;padding:8px;font-size:16px}.card video{pointer-events:none}
.empty{text-align:center;background:white;border-radius:16px;padding:40px 20px;color:#707281}.topics{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.preview-media{max-width:100%;max-height:360px;border-radius:12px;object-fit:contain}
dialog{border:0;border-radius:18px;width:min(650px,94vw);max-height:85dvh;padding:22px;color:#11142d}dialog::backdrop{background:#11142d88}dialog .detail-media{width:100%;max-height:52dvh;object-fit:contain;border-radius:12px}.close{float:right;border:0;background:#eee;border-radius:50%;width:34px;height:34px;margin-bottom:12px}.detail-body{white-space:pre-wrap;overflow-wrap:anywhere}
.notice{position:fixed;z-index:10;left:50%;bottom:92px;transform:translateX(-50%);background:#11142d;color:white;border-radius:12px;padding:12px 20px;max-width:90vw;box-shadow:0 4px 20px #0002}.profile-head{display:flex;gap:16px;align-items:center;margin-bottom:22px}.avatar{width:60px;height:60px;background:#eeebfb;color:#6c5dd3;border-radius:50%;display:grid;place-items:center;font-size:24px}.card b{overflow-wrap:anywhere}
@media(min-width:651px){.wrap{padding-bottom:40px}.nav{gap:14px}.top{gap:16px}.brand img{width:140px}.nav a{white-space:nowrap}}
@media(max-width:650px){.panel{padding:20px 16px}.page-title{font-size:23px}.bottom{padding-bottom:max(12px,env(safe-area-inset-bottom))}}

/* Shared OzNote design system: mirrored by Flutter's app theme. */
:root{--brand:#6c5dd3;--ink:#11142d;--muted:#707281;--line:#e7e8ef;--canvas:#f7f7f8;--soft:#f0edfc;--radius:16px}
body{background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased}
.top{padding:10px max(20px,calc((100vw - 1240px)/2));gap:28px;min-height:80px;border-bottom:1px solid var(--line)}
.search{height:46px;border-radius:12px;background:var(--canvas);border:1px solid var(--line);font-size:13px}
.nav{gap:22px}.nav a{padding:10px 0;font-size:13px}.nav a[aria-current=page]{border-bottom:2px solid var(--brand)}
.wrap{max-width:1240px;padding:28px 24px 48px}.demo{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;margin-bottom:24px;color:var(--muted)}.demo::before{content:'';width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--brand)}
.eyebrow{color:var(--brand);font-size:10px;font-weight:750;letter-spacing:1.8px;margin:0 0 8px}.page-title,.panel h1{font-size:30px;line-height:1.18;letter-spacing:-.9px;font-weight:750;margin:0 0 10px}.page-description{color:var(--muted);font-size:14px;line-height:1.65;margin:0 0 24px}
.chips{margin-bottom:24px;gap:8px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chips .chip{min-height:44px;border-radius:12px;font-size:13px;padding:10px 18px;background:white;border-color:var(--line)}.chips .chip.active{background:var(--brand);border-color:var(--brand);color:white}
.card{border-radius:var(--radius);box-shadow:none;border:1px solid #11142d06}.card .copy{padding:12px 12px 6px}.card b{font-size:14px;line-height:1.5;font-weight:650}.card .meta{margin:0;padding:0 8px 8px 12px;font-size:11px;min-height:44px}.card .save{min-width:44px;min-height:44px}.card .meta span:first-child::before{width:22px;height:22px}
.panel{max-width:720px;border:1px solid var(--line);border-radius:20px;padding:32px;box-shadow:0 8px 30px #11142d03}.form{gap:20px}.form label{font-size:12px;line-height:1.5;letter-spacing:.1px;gap:9px}.form input,.form textarea,.form select{font-size:14px;min-height:48px;border:1px solid var(--line);border-radius:12px;padding:13px 14px;background:var(--canvas);font-weight:400}.form textarea{min-height:120px}.form input:focus,.form textarea:focus,.form select:focus{border-color:var(--brand)}
.primary,.secondary{font-size:13px;font-weight:650;min-height:46px;border-radius:12px;padding:13px 20px}.primary{background:var(--brand)}.secondary{background:var(--soft);color:var(--brand)}.form>.primary{width:100%;margin-top:4px}.form .upload-well{border:1.5px dashed #b9afe9;background:#f8f6ff;border-radius:16px;padding:26px 18px;text-align:center;justify-items:center;color:var(--brand)}.upload-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#ece7ff;color:var(--brand);font-size:28px;font-weight:400}.upload-well input{max-width:100%;font-size:12px;background:white}.upload-well input::file-selector-button{background:var(--soft);color:var(--brand);border:0;border-radius:8px;padding:9px 12px;margin-right:8px;font-weight:600}
.preview-media{display:block;margin:auto;border:1px solid var(--line)}.profile-head{display:block;text-align:center;margin-bottom:12px}.avatar{margin:0 auto 20px;width:76px;height:76px;font-size:28px;border:6px solid white;box-shadow:0 0 0 1px var(--line);background:var(--soft)}.profile-stats{text-align:center;border-block:1px solid var(--line);padding:18px 0;margin:20px 0 26px;color:var(--ink);font-weight:600;font-size:13px}.profile-panel+.page-title,.profile-panel+h2{max-width:720px;margin:30px auto 18px;font-size:20px}.wrap[data-page=me]>.feed{max-width:720px;margin:auto;columns:2}
.empty{border:1px solid var(--line);border-radius:var(--radius);padding:48px 24px;font-size:14px;line-height:1.7}.empty-mark{width:56px;height:56px;border-radius:16px;background:var(--soft);color:var(--brand);font-size:32px;display:grid;place-items:center;margin:0 auto 18px}
dialog{padding:24px;border-radius:20px;box-shadow:0 24px 80px #11142d33}dialog h2{font-size:24px;letter-spacing:-.5px;line-height:1.3}dialog .detail-body{line-height:1.8;font-size:15px}dialog .actions{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.close{width:44px;height:44px;color:var(--ink);background:var(--canvas);font-size:22px}.bottom{border-top:1px solid var(--line);box-shadow:none}.bottom a{min-width:48px;min-height:44px;justify-content:center;gap:5px;font-size:10px;font-weight:500}.bottom .create{width:46px;height:46px;border-radius:14px;box-shadow:0 4px 10px #6c5dd32b}
@media(max-width:650px){.top{padding:8px 14px;gap:12px;min-height:70px}.brand img{width:112px;height:44px}.search{font-size:11px;padding:10px 12px;height:42px}.wrap{padding:20px 12px 100px}.demo{margin-bottom:20px;font-size:10px}.page-title,.panel h1{font-size:27px}.page-description{font-size:13px;margin-bottom:20px}.panel{padding:24px 18px;border-radius:18px}.chips{margin-bottom:18px}.chips .chip{padding:10px 16px}.card b{font-size:13px}.card .copy{padding:10px 10px 4px}.form{gap:18px}.bottom{padding:10px 10px max(10px,env(safe-area-inset-bottom))}dialog{padding:18px}dialog h2{font-size:22px}}

.meta span:first-child::before{display:none!important}.search{min-width:0}.brand img{max-width:100%}
