/* Approved Open Discussions design source: OpenDiscussions-Member-Profile-Current-Template.html */

    :root{
      color-scheme:dark;
      --page:var(--od-theme-page, #0c1118);--top:var(--od-theme-top, #151d28);--panel:var(--od-theme-panel, #161e2a);--panel2:var(--od-theme-panel2, #1b2533);
      --line:var(--od-theme-border, #2c3949);--line-soft:var(--od-theme-border, #273241);--text:var(--od-theme-text, #dce5f1);--muted:var(--od-theme-muted, #8797aa);
      --blue:var(--od-theme-accent, #6c9ff3);--blue-hover:var(--od-theme-link, #9ec2ff);--accent:var(--od-theme-accent, #578be4);--accent-bg:var(--od-theme-soft, #203753);
      --radius:8px;--shadow:0 6px 18px rgba(0,0,0,.13);
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body{background:var(--page);color:var(--text);font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;margin:0;min-width:320px}
    button,input,select,textarea{font:inherit}
    button{cursor:pointer}
    button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--od-theme-accent, #92b6ff);outline-offset:2px}
    svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:none}
    a{color:inherit;text-decoration:none}
    .topbar{height:66px;background:var(--top);border-bottom:1px solid var(--od-theme-border, #2a3645);position:sticky;top:0;z-index:20;box-shadow:0 2px 13px rgba(0,0,0,.2)}
    .topbar-inner{max-width:1370px;margin:auto;padding:0 24px;height:100%;display:grid;grid-template-columns:minmax(0,1fr) 380px minmax(0,1fr);align-items:center;gap:20px}
    .brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.5px;font-size:23px;white-space:nowrap}
    .brand em{font-style:normal;color:var(--od-theme-link, #80adfb)}
    .top-search{position:relative;width:100%;min-width:0;grid-column:2}
    .top-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--od-theme-link, #8294aa);width:17px;height:17px}
    .top-search input{width:100%;height:37px;background:var(--od-theme-input, #0f1620);color:var(--text);padding:0 12px 0 39px;border:1px solid var(--od-theme-border, #324051);border-radius:6px;outline:0}
    .top-search input:focus{border-color:var(--od-theme-accent, #689be7);background:var(--od-theme-input, #111b29)}
    input::placeholder,textarea::placeholder{color:var(--od-theme-link, #8090a5)}



    .top-actions{display:flex;align-items:center;gap:13px;grid-column:3;justify-self:end}
    .top-action{width:35px;height:35px;border-radius:50%;border:1px solid var(--od-theme-border, #344357);background:var(--od-theme-panel2, #233043);color:var(--od-theme-text, #c4d0df);display:grid;place-items:center}
    .top-action:hover{background:var(--od-theme-hover, #2e4055);color:var(--od-theme-text, #fff)}


    .shell{max-width:1370px;margin:0 auto;padding:26px 24px 0;display:grid;grid-template-columns:247px minmax(0,1fr);gap:24px;align-items:start}
    .sidebar{display:flex;flex-direction:column;gap:17px}
    .side-panel,.thread-panel{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);overflow:hidden}
    .profile-head{height:51px;background:linear-gradient(110deg,var(--od-theme-cover, #254c7a),var(--od-theme-cover2, #23394f) 58%,var(--od-theme-cover2, #202d43));border-bottom:1px solid var(--od-theme-border, #34455a)}
    .profile-information{padding:0 17px 18px}
    .large-avatar{width:69px;height:69px;margin-top:-28px;position:relative;border:4px solid var(--panel);border-radius:50%;display:grid;place-items:center;color:white;font-weight:800;font-size:25px;background:linear-gradient(135deg,var(--od-theme-cover, #6384a9),var(--od-theme-cover2, #30547e))}
    .online-dot{position:absolute;right:0;bottom:1px;width:13px;height:13px;border-radius:50%;background:#5ac18d;border:3px solid var(--panel)}
    .profile-information h2{margin:9px 0 1px;font-size:16px;letter-spacing:-.2px}
    .profile-handle{font-size:12px;color:var(--muted);margin:0 0 13px}
    .member-since{font-size:11.5px;color:var(--od-theme-link, #8eabcf);border-top:1px solid var(--line-soft);padding-top:13px}
    .side-menu{border-top:1px solid var(--line);padding:7px}
    .side-link{width:100%;border:0;background:transparent;padding:11px 10px;text-align:left;color:var(--od-theme-text, #b9c6d7);display:flex;align-items:center;gap:12px;border-radius:5px;font-weight:600}
    .side-link:hover{background:var(--od-theme-hover, #24344a);color:white}
    .side-link svg{color:var(--od-theme-link, #88a5cf);width:18px;height:18px}
    .mail-count{margin-left:auto;padding:2px 7px;font-size:11px;line-height:1.5;border-radius:10px;background:var(--od-theme-soft, #31507b);color:var(--od-theme-link, #bcd6ff);font-weight:700}
    .side-heading{margin:0;background:var(--od-theme-head, #202b3a);border-bottom:1px solid var(--line);padding:12px 15px;font-size:12px;letter-spacing:.35px;text-transform:uppercase;color:var(--od-theme-text, #bdcbdd);font-weight:800}
    .tag-interior{padding:14px}
    .side-helper{color:var(--muted);font-size:12px;line-height:1.55;margin:0 0 13px}
    .tags{display:flex;flex-wrap:wrap;gap:7px}
    .tag-filter{border:1px solid var(--od-theme-border, #35485e);background:var(--od-theme-tag, #202d3e);border-radius:4px;padding:5px 8px;color:var(--od-theme-link, #aac0df);font-size:12px;font-weight:550}
    .tag-filter:hover,.tag-filter.selected{background:var(--od-theme-soft, #345885);border-color:var(--od-theme-accent, #709be3);color:white}
    .tag-filter small{margin-left:4px;color:var(--od-theme-link, #889ebd);font-size:10px}
    .tag-filter.selected small{color:var(--od-theme-text, #d4e4ff)}
    .clear-filter{border:0;background:transparent;color:var(--od-theme-link, #90b6ee);font-size:12px;padding:13px 0 0;text-align:left}
    .clear-filter:hover{text-decoration:underline}
    .sidebar-footer{color:var(--od-theme-accent, #65788d);font-size:11px;line-height:1.65;padding:2px 8px}
    .content{min-width:0}






    .toolbar{padding:11px 15px;background:var(--od-theme-tool, #202b39);display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--od-theme-border, #344255);flex-wrap:wrap}
    .tabs{display:flex;gap:4px;align-items:center;flex-wrap:wrap}
    .tab{font-size:12.5px;font-weight:700;padding:8px 12px;color:var(--od-theme-link, #9eafc3);background:transparent;border:1px solid transparent;border-radius:5px}
    .tab:hover{background:var(--od-theme-hover, #2a3b50);color:white}
    .tab.active{border-color:var(--od-theme-border, #496488);background:var(--od-theme-soft, #344f73);color:var(--od-theme-text, #eaf3ff)}
    .sort-wrap{display:flex;gap:9px;align-items:center;color:var(--od-theme-muted, #a1afc3);font-size:12px}
    .sort-wrap select{color:var(--od-theme-text, #d5e2f2);background:var(--od-theme-input, #141d29);border:1px solid var(--od-theme-border, #3b4a5e);border-radius:5px;padding:8px 28px 8px 10px;max-width:180px}
    .toolbar-controls{display:flex;align-items:center;justify-content:flex-end;gap:20px}
    .topic-create-link{white-space:nowrap}
    .topic-create-link:hover{color:var(--od-theme-text, #fff);background:var(--od-theme-soft, #42648f);border-color:var(--od-theme-accent, #6688b9)}
    .large-avatar svg{width:32px;height:32px;stroke-width:1.5}
    .list-header{display:grid;grid-template-columns:minmax(0,1fr) 74px 74px 168px;background:var(--od-theme-head, #192330);color:var(--od-theme-link, #8496ab);text-transform:uppercase;font-size:10.5px;letter-spacing:.75px;font-weight:800;padding:12px 14px;border-bottom:1px solid var(--od-theme-border, #344255)}
    .list-header div:nth-child(n+2){display:flex;align-items:center;justify-content:center;text-align:center;padding:0}
    .topic-row{display:grid;grid-template-columns:minmax(0,1fr) 74px 74px 168px;min-height:67px;background:var(--od-theme-row, #18212d);border-bottom:1px solid var(--od-theme-border, #2a3646);align-items:stretch}
    .topic-row:nth-child(even){background:var(--od-theme-rowAlt, #1a2532)}
    .topic-row:hover{background:var(--od-theme-hover, #233248)}
    .topic-main{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 8px 12px 15px}
    .topic-icon{width:31px;height:31px;border-radius:5px;background:var(--od-theme-soft, #293d56);color:var(--od-theme-link, #9bbbea);display:grid;place-items:center;flex:none;border:1px solid var(--od-theme-border, #3a5271)}
    .topic-icon svg{width:17px;height:17px}
    .topic-icon.pinned{background:var(--od-theme-tool, #3b3d3c);border-color:var(--od-theme-border, #626454);color:#e7cc82}
    .topic-text{min-width:0;flex:1}
    .topic-title-line{display:flex;gap:6px;align-items:baseline;min-width:0;flex-wrap:wrap}
    .topic-title{background:none;border:0;padding:0;text-align:left;color:var(--od-theme-link, #c4daff);font-size:13.5px;font-weight:700;letter-spacing:.04px;line-height:1.45}
    .topic-title:hover{color:white;text-decoration:underline;text-underline-offset:3px}
    .pin-label{font-size:9px;font-weight:850;letter-spacing:.7px;color:#e9d298;background:#4a4534;border:1px solid #665c3a;border-radius:3px;padding:1px 4px;vertical-align:2px}
    .topic-meta{margin-top:3px;display:flex;flex-wrap:wrap;gap:5px;align-items:center;color:var(--od-theme-link, #899aae);font-size:11.2px;line-height:1.35}
    .topic-meta strong{font-weight:600;color:var(--od-theme-link, #adc0d7)}
    .dot-separator{color:var(--od-theme-accent, #586a81)}
    .topic-num{display:flex;align-items:center;justify-content:center;font-size:12px;font-variant-numeric:tabular-nums;color:var(--od-theme-text, #c4d0dd);border-left:1px solid var(--od-theme-border, #293648)}
    .topic-num small{display:none}
    .last-post{border-left:1px solid var(--od-theme-border, #293648);padding:12px 8px 10px 15px;display:flex;flex-direction:column;justify-content:center;min-width:0}
    .last-post strong{font-size:11.5px;font-weight:700;color:var(--od-theme-link, #a9cfff);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
    .last-post time{font-size:11px;color:var(--od-theme-link, #8193a8);margin-top:2px}
    .topic-bookmark{align-self:center;flex:none;border:0;padding:4px;color:var(--od-theme-accent, #6f839c);background:transparent;border-radius:4px;visibility:hidden}
    .topic-row:hover .topic-bookmark,.topic-bookmark.saved,.topic-bookmark:focus-visible{visibility:visible}
    .topic-bookmark.saved{color:#e1ba71}
    .topic-bookmark svg{width:16px;height:16px}
    .list-footer{padding:13px 15px;background:var(--od-theme-panel2, #1c2837);display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:12px;color:var(--od-theme-link, #94a5ba)}
    .page-buttons{display:flex;gap:5px}
    .page-button{background:var(--od-theme-soft, #334b69);border:1px solid var(--od-theme-border, #4d6788);color:var(--od-theme-text, #d9eaff);border-radius:4px;padding:5px 9px;font-size:11px;font-weight:700}
    .page-button:disabled{opacity:.55;cursor:default}
    .empty{padding:55px 22px;text-align:center;color:var(--od-theme-link, #899caf)}
    .empty svg{width:35px;height:35px;margin:0 auto 13px}
    .empty h3{font-size:17px;margin:0 0 7px;color:var(--od-theme-text, #d5e1ee)}
    .empty p{margin:0 auto 15px;max-width:330px;font-size:12.5px}
    .empty button{border:1px solid var(--od-theme-accent, #5d81b3);border-radius:5px;background:var(--od-theme-soft, #294366);color:var(--od-theme-text, #dceaff);padding:8px 12px}
    .under-list{margin:18px 0 0;color:var(--od-theme-muted, #738599);font-size:12px;display:flex;gap:7px;align-items:center}
    .under-list svg{width:15px;height:15px}
    dialog{border:1px solid var(--od-theme-border, #46566e);border-radius:10px;background:var(--od-theme-panel2, #1b2634);color:var(--text);padding:0;box-shadow:0 30px 95px rgba(0,0,0,.5);width:min(560px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto}
    dialog::backdrop{background:rgba(2,6,12,.78);backdrop-filter:blur(2px)}
    .dialog-head{padding:19px 22px;border-bottom:1px solid var(--od-theme-border, #344357);display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--od-theme-head, #233146)}
    .dialog-head h2{font-size:18px;margin:0;line-height:1.4}
    .dialog-close{background:transparent;border:0;color:var(--od-theme-text, #bbcbe0);width:28px;height:28px;display:grid;place-items:center;border-radius:5px}
    .dialog-close:hover{background:var(--od-theme-soft, #3c526e)}
    .dialog-body{padding:22px}
    .dialog-body p{line-height:1.7;color:var(--od-theme-link, #acbed2)}
    .field-label{display:block;color:var(--od-theme-text, #c0d0e2);font-weight:650;font-size:12px;margin:0 0 7px}
    .field-control{width:100%;border-radius:5px;border:1px solid var(--od-theme-border, #43546b);background:var(--od-theme-input, #121b28);color:var(--od-theme-text, #dce7f5);padding:11px 12px;margin-bottom:17px}
    textarea.field-control{min-height:118px;resize:vertical}
    .modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:8px}
    .secondary-btn{border:1px solid var(--od-theme-border, #455a74);background:var(--od-theme-hover, #27364a);color:var(--od-theme-text, #d5e0ef);padding:9px 15px;border-radius:5px}
    .primary-btn{border:1px solid var(--od-theme-accent, #6d9ced);background:var(--od-theme-accent, #477dd2);color:white;padding:9px 15px;border-radius:5px;font-weight:700}
    .mail-item{padding:12px 0;border-bottom:1px solid var(--od-theme-border, #2d3b4b)}
    .mail-item:first-child{padding-top:0}
    .mail-item strong{display:block;margin-bottom:3px}
    .mail-item p{margin:0;font-size:12.5px}
    .setting-row{border-bottom:1px solid var(--od-theme-border, #344054);padding:12px 0;display:flex;justify-content:space-between;gap:15px;align-items:center}
    .setting-row span{font-size:13px}
    .setting-row input{width:17px;height:17px;accent-color:var(--od-theme-accent, #6895e5)}
    .preview-label{font-size:12px;color:var(--od-theme-link, #91a6c3);margin-top:0}
    .sample-note{padding:11px 13px;border-left:3px solid var(--od-theme-accent, #668fd1);background:var(--od-theme-hover, #25364b);font-size:12px;color:var(--od-theme-link, #aabdd4)}
    body.compact .topic-row{min-height:53px}
    body.compact .topic-main{padding-top:7px;padding-bottom:7px}
    body.compact .last-post{padding-top:7px;padding-bottom:7px}
    .toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(7px);background:var(--od-theme-soft, #d9e7ff);color:var(--od-theme-accent, #183557);border-radius:6px;padding:11px 15px;z-index:50;font-size:13px;font-weight:700;box-shadow:0 6px 20px #0006;visibility:hidden;opacity:0;transition:opacity .2s,transform .2s}
    .toast.show{visibility:visible;opacity:1;transform:translateX(-50%) translateY(0)}
    @media(max-width:1110px){
      .topbar-inner{padding:0 17px;grid-template-columns:minmax(0,1fr) minmax(0,380px) minmax(0,1fr);gap:12px}
      .shell{grid-template-columns:225px minmax(0,1fr);gap:18px;padding:22px 17px 0}
      .list-header,.topic-row{grid-template-columns:minmax(0,1fr) 64px 64px 125px}
      .last-post{padding-left:10px}
    }
    @media(max-width:890px){
      .topbar-inner{grid-template-columns:145px minmax(0,1fr) 40px}
      .shell{grid-template-columns:215px minmax(0,1fr);gap:15px}
      .list-header,.topic-row{grid-template-columns:minmax(0,1fr) 62px 115px}
      .list-header div:nth-child(3),.topic-row .views{display:none}
    }
    @media(max-width:690px){
      .topbar{height:60px}
      .brand{font-size:19px}
      .topbar-inner{grid-template-columns:112px minmax(0,1fr) 36px;gap:10px;padding:0 12px}
      .top-action{width:34px;height:34px}
      .shell{display:flex;flex-direction:column;padding:18px 12px 0;gap:18px}
      .sidebar{width:100%;display:grid;grid-template-columns:1fr;gap:10px}
      .profile-head{display:none}
      .profile-information{padding:12px 15px;display:flex;align-items:center;gap:12px}
      .large-avatar{margin-top:0;width:48px;height:48px;border-width:2px}
      .profile-information h2{margin:0;font-size:14px}
      .profile-handle{margin:0;font-size:11px}
      .member-since{display:none}
      .side-menu{border-top:1px solid var(--line);display:flex;gap:5px}
      .side-link{padding:8px 11px;width:auto}
      .tag-interior{padding:10px 13px}
      .side-helper{margin-bottom:8px}
      .tags{gap:5px}
      .tag-filter{font-size:11px;padding:4px 6px}
      .sidebar-footer{display:none}
      .content{width:100%}
      .topic-main{padding-left:10px;gap:9px}
      .list-header{padding:10px 9px}
      .list-header,.topic-row{grid-template-columns:minmax(0,1fr) 60px}
      .last-post,.list-header div:last-child{display:none}
      .topic-icon{width:27px;height:27px}
      .topic-bookmark{visibility:visible}
      .topic-title{font-size:12.5px}
      .topic-meta{font-size:10.5px}
      .toolbar{padding:10px}
      .toolbar-controls{margin-left:auto}
      .sort-wrap select{font-size:11px;padding:7px 8px;max-width:143px}
    }
    @media(max-width:420px){

      .topbar-inner{grid-template-columns:36px minmax(0,1fr) 34px;gap:10px}
      .top-search input{font-size:12px}
      .toolbar{align-items:stretch}
      .tabs{width:100%}
      .tab{padding:7px 10px}
      .toolbar-controls{width:100%;justify-content:space-between;gap:12px}
      .sort-wrap{flex:0 1 50%}
      .sort-wrap select{width:100%;max-width:none}
      .topic-num{font-size:11px}
      .topic-meta .dot-separator:last-of-type{display:none}
    }
    /* A square-edged classic forum, including buttons, tags and avatars. */
    *,*::before,*::after{border-radius:0!important}
    /* Deliberate circular exceptions to the square-edged forum layout. */
    .top-action, .large-avatar, .online-dot, .topic-icon, .topic-bookmark {border-radius:50%!important}
    .top-actions{gap:9px}
    .top-action{width:39px;height:39px;transition:background-color .15s,border-color .15s}
    .top-action:hover{border-color:var(--od-theme-accent, #789ac8)}
    .top-action svg{width:19px;height:19px}
    .large-avatar{overflow:visible}
    .profile-photo{display:block;width:100%;height:100%;border-radius:50%!important;object-fit:cover;object-position:center 48%;overflow:hidden}
    .topic-icon{width:32px;height:32px}
    .topic-bookmark{width:29px;height:29px;padding:6px;display:grid;place-items:center}
    .topic-bookmark:hover{background:var(--od-theme-soft, #304661);color:var(--od-theme-text, #f2f6ff)}
    .topic-bookmark svg{width:16px;height:16px}
    @media(max-width:890px){.topbar-inner{grid-template-columns:145px minmax(0,1fr) auto}}
    @media(max-width:690px){
      .topbar-inner{grid-template-columns:112px minmax(0,1fr) auto;gap:9px}
      .top-actions{gap:6px}
      .top-action{width:33px;height:33px}
      .top-action svg{width:17px;height:17px}
      .topic-icon{width:28px;height:28px}
    }
    @media(max-width:420px){
      .topbar-inner{grid-template-columns:36px minmax(0,1fr) auto;gap:7px}
      .top-actions{gap:5px}
      .top-action{width:31px;height:31px}
      .top-action svg{width:16px;height:16px}
    }

    /* Open Discussions text-only branding. */
    .brand{gap:11px;font-size:21px;letter-spacing:-.65px}
    .brand-name{white-space:nowrap}
    .brand em{color:var(--od-theme-link, #82b2ff)}

    /* Profile and tags remain in view as the topics column scrolls. */
    .sidebar{position:sticky;top:92px;align-self:start;max-height:calc(100vh - 108px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--od-theme-border, #3c4f69) transparent}
    .sidebar .side-panel{flex-shrink:0}

    .site-footer{margin:7px 0 0;padding:7px 5px 10px;color:var(--od-theme-link, #8797aa);font-size:12px;text-align:center}

    /* Keep the site name, search bar, and controls visible. */
    @media(max-width:1000px){
      .brand{font-size:18px;gap:8px}
    }
    @media(max-width:890px){
      .topbar-inner{grid-template-columns:minmax(180px,1fr) minmax(160px,380px) auto;gap:12px}
      .brand{font-size:17px}
    }
    @media(max-width:690px){
      .sidebar{position:static;max-height:none;overflow:visible}
      .topbar-inner{grid-template-columns:39px minmax(0,1fr) auto;gap:9px}

      .brand{font-size:17px}
    }
    @media(max-width:420px){
      .topbar-inner{grid-template-columns:36px minmax(0,1fr) auto;gap:7px}
    }
    /* On phones, retain the full site name without a logo. */
    @media(max-width:690px){
      .topbar{height:auto}
      .topbar-inner{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:9px 12px;padding:10px 12px}
      .brand{grid-column:1;grid-row:1;font-size:19px;min-width:0}
      .top-actions{grid-column:2;grid-row:1}
      .top-search{grid-column:1 / -1;grid-row:2}
    }
    @media(max-width:420px){
      .topbar-inner{grid-template-columns:minmax(0,1fr) auto;gap:9px 8px}
      .brand{font-size:18px}
    }
  
    /* Profile photo and identity in the same row, status directly beneath. */
    .profile-information{padding:0 15px}
    .profile-row{display:flex;align-items:center;gap:11px;min-height:75px}
    .profile-row .large-avatar{flex:0 0 63px;width:63px;height:63px;margin-top:-23px;border-width:3px}
    .profile-details{min-width:0;overflow:hidden}
    .profile-details h2{font-size:15px;line-height:1.25;margin:0 0 4px;white-space:nowrap}
    .profile-details .profile-handle{font-size:11px;line-height:1.4;margin:0;white-space:nowrap}
    .presence-control{margin:0 -15px;min-height:51px;padding:10px 15px;display:flex;align-items:center;justify-content:space-between;gap:9px;border-top:1px solid var(--line);color:var(--od-theme-text, #baccdf);font-weight:600;font-size:12px;cursor:pointer}
    .presence-switch{display:inline-flex;align-items:center;position:relative;flex:none}
    .presence-switch input{opacity:0;position:absolute;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}
    .presence-track{display:block;width:42px;height:24px;padding:2px;border:1px solid var(--od-theme-accent, #5b97ca);background:var(--od-theme-cover, #326a9f);border-radius:999px!important;transition:background .15s,border-color .15s}
    .presence-thumb{display:block;width:18px;height:18px;background:var(--od-theme-soft, #f5f9ff);border-radius:50%!important;transform:translateX(18px);transition:transform .15s}
    .presence-switch input:not(:checked) + .presence-track{background:var(--od-theme-hover, #364459);border-color:var(--od-theme-accent, #5b6b80)}
    .presence-switch input:not(:checked) + .presence-track .presence-thumb{transform:translateX(0)}
    .presence-switch input:focus-visible + .presence-track{outline:2px solid var(--od-theme-accent, #a2c5ff);outline-offset:3px}
    .profile-information.is-offline .online-dot{background:var(--od-theme-accent, #788598)}
    @media(max-width:690px){
      .profile-information{display:block;padding:0 14px}
      .profile-row{min-height:70px}
      .profile-row .large-avatar{margin-top:0;flex-basis:50px;width:50px;height:50px;border-width:2px}
      .presence-control{margin:0 -14px;padding:10px 14px}
    }

    /* The avatar overlaps the profile header by roughly half its height. */
    .profile-row{transform:translateY(-27px);margin-bottom:-27px}
    .profile-details{overflow:visible}
    .profile-details .profile-handle{font-size:14px;font-weight:700;color:var(--od-theme-text, #e2edff);line-height:1.35;margin:0 0 4px}
    .profile-joined{font-size:11px;color:var(--od-theme-link, #94a7bd);line-height:1.45;margin:0;white-space:nowrap}
    @media(max-width:690px){
      .profile-row{transform:none;margin-bottom:0}
      .profile-details .profile-handle{font-size:13px}
      .profile-joined{font-size:10.5px}
    }

    /* Center the handle and membership date vertically with the raised avatar. */
    @media(min-width:691px){
      .profile-details{transform:translateY(-11px)}
    }
  
    /* Selected blue/purple conversation-bubble logo, sized for the forum header. */
    .brand{display:inline-flex;align-items:center;min-width:0;width:100%;max-width:255px}
    .brand-logo{display:block;width:100%;height:auto;max-height:48px;object-fit:contain;object-position:left center}
    @media(max-width:890px){.brand{max-width:225px}}
    @media(max-width:690px){.brand{max-width:240px}}

/* Onboarding page: retains the original Open Discussions visual language. */
html{scroll-padding-top:84px}
.welcome-shell{padding-top:22px}
/* Match the sidebar card to the top of the welcome panel. */
.welcome-sidebar{top:88px}
.welcome-content{display:flex;flex-direction:column;gap:17px}
.welcome-sidebar .side-panel{flex:none}
.welcome-sidebar .profile-information{padding-bottom:0}
.welcome-sidebar .large-avatar{overflow:visible}
.welcome-sidebar .large-avatar svg{width:30px;height:30px;stroke-width:1.8}
.guide-nav{display:flex;flex-direction:column;padding:8px}
.guide-nav-link{display:flex;align-items:center;gap:12px;padding:10px 9px;color:var(--od-theme-link, #b4c5dc);font-size:12px;font-weight:600;border:1px solid transparent!important;text-decoration:none}
.guide-nav-link:hover,.guide-nav-link:focus-visible{background:var(--od-theme-hover, #26384f);border-color:var(--od-theme-border, #405c7c)!important;color:var(--od-theme-text, #f1f7ff)}
.guide-nav-number{font-variant-numeric:tabular-nums;color:var(--od-theme-link, #83a8e4);font-size:11px;font-weight:800}
.sidebar-guide-note{color:var(--od-theme-link, #8296ae);font-size:11.5px;line-height:1.55;padding:0 9px;margin:0}
.welcome-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,var(--od-theme-hover, #1e3451) 0%,var(--od-theme-cover2, #1b2c42) 60%,var(--od-theme-head, #18212f) 100%);border-color:var(--od-theme-border, #375372);min-height:190px}
.welcome-hero-content{position:relative;z-index:1;padding:28px 32px}
.eyebrow{color:var(--od-theme-link, #a1c8ff);font-size:10.5px;font-weight:800;letter-spacing:1.7px;margin:0 0 7px}
.welcome-spark{font-size:15px;vertical-align:-1px;margin-right:4px}
.welcome-hero h1{font-size:29px;line-height:1.24;letter-spacing:-.8px;margin:0 0 9px;color:var(--od-theme-text, #f0f6ff)}
.hero-description{max-width:650px;color:var(--od-theme-text, #b7c9df);font-size:13.5px;line-height:1.65;margin:0}

.hero-watermark{position:absolute;right:30px;top:4px;color:var(--od-theme-link, #6f9cdb);opacity:.1;font-size:150px;pointer-events:none}
.action-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:36px;text-decoration:none;font-size:12.5px;font-weight:750}
.tutorial-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.tutorial-card{padding:20px 22px;min-width:0}
.step-kicker{margin:0 0 10px;color:var(--od-theme-link, #89b7f6);display:flex;align-items:center;gap:8px;font-size:10.5px;font-weight:800;letter-spacing:.9px}
.step-count{display:grid;place-items:center;width:25px;height:25px;background:var(--od-theme-soft, #263f5f);border:1px solid var(--od-theme-accent, #4e7097);color:var(--od-theme-link, #c3ddff);font-size:11px;letter-spacing:0}
.tutorial-card h2,.tutorial-panel-head h2{font-size:18px;color:var(--od-theme-text, #e4efff);letter-spacing:-.35px;margin:0 0 9px}
.tutorial-card p:not(.step-kicker),.tutorial-panel-head p:not(.step-kicker){color:var(--od-theme-text, #afc0d4);font-size:12.5px;line-height:1.65;margin:0 0 12px}
.tutorial-card strong{color:var(--od-theme-text, #dce8f9)}
.tutorial-card .small-tip{font-size:11.5px!important;color:var(--od-theme-link, #8fa6c0)!important;margin-top:12px!important;margin-bottom:0!important}
.steps-strip{display:flex;align-items:center;flex-wrap:wrap;gap:7px;background:var(--od-theme-top, #111a26);border:1px solid var(--od-theme-border, #2e4055);padding:11px 12px;color:var(--od-theme-text, #c5d7ed);font-size:11px;font-weight:700}
.steps-strip b{color:var(--od-theme-link, #629ce9);font-size:17px}
.format-examples{display:flex;gap:6px;flex-wrap:wrap}
.format-chip{background:var(--od-theme-hover, #233349);border:1px solid var(--od-theme-border, #39516a);color:var(--od-theme-link, #c4d8f2);padding:7px 9px;font-size:11px;white-space:nowrap}
.format-chip strong,.format-chip em{color:var(--od-theme-text, #e4efff);margin-right:3px}
.tutorial-wide{min-width:0;overflow:hidden}
.tutorial-panel-head{padding:18px 22px 14px;border-bottom:1px solid var(--od-theme-border, #2e3f53);background:var(--od-theme-tag, #1d2a3b);display:flex;align-items:center;justify-content:space-between;gap:15px}
.tutorial-panel-head h2{margin-bottom:5px}
.tutorial-panel-head p:not(.step-kicker){margin:0}
.practice-tag{padding:6px 9px;border:1px solid var(--od-theme-border, #466387);background:var(--od-theme-hover, #273c57);color:var(--od-theme-link, #b2cfff);white-space:nowrap;font-size:11px;font-weight:700}
.practice-inside{padding:18px 22px 21px}
.form-label{display:block;color:var(--od-theme-text, #bfcfe3);font-size:11.5px;font-weight:700;margin:0 0 7px}
.demo-input{width:100%;background:var(--od-theme-input, #101924);color:var(--od-theme-text, #e1eaf7);border:1px solid var(--od-theme-border, #3c5068);padding:10px 11px;margin-bottom:13px;outline:none}
.demo-input:focus,.editor-frame:focus-within{border-color:var(--od-theme-accent, #6d9eed)}
.editor-frame{border:1px solid var(--od-theme-border, #3b516c);background:var(--od-theme-input, #111b28)}
.format-toolbar{display:flex;gap:3px;align-items:center;border-bottom:1px solid var(--od-theme-border, #34465d);background:var(--od-theme-hover, #213248);padding:6px}
.format-toolbar button{min-width:32px;height:30px;background:transparent;border:1px solid transparent;color:var(--od-theme-text, #c6d9f1);font-size:15px;cursor:pointer}
.format-toolbar button:hover,.format-toolbar button:focus-visible{background:var(--od-theme-soft, #344d6b);border-color:var(--od-theme-accent, #5375a0)}
.editor-frame textarea{width:100%;min-height:93px;display:block;resize:vertical;border:0;outline:0;background:transparent;color:var(--od-theme-text, #dce9fa);line-height:1.6;padding:13px;font-size:12.5px}
.editor-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.editor-caption{font-size:11px;color:var(--od-theme-link, #8fa4bd)}
.practice-preview{margin-top:14px;border:1px solid var(--od-theme-border, #3d5370);background:var(--od-theme-panel2, #152232);padding:14px}
.preview-eyebrow{font-size:10px;font-weight:800;letter-spacing:1px;color:var(--od-theme-link, #8daee1)}
.practice-preview h3{margin:5px 0 9px;color:var(--od-theme-text, #e2edff);font-size:15px}
.preview-body{color:var(--od-theme-text, #c8d8ec);font-size:12.5px;line-height:1.7;overflow-wrap:anywhere}
.preview-body p{margin:6px 0}
.preview-body blockquote{margin:6px 0;padding:7px 12px;border-left:3px solid var(--od-theme-accent, #729ded);background:var(--od-theme-hover, #20334a)}
.preview-body ul{padding-left:22px;margin:7px 0}
.preview-body a{color:var(--od-theme-link, #91bcff);text-decoration:underline}
.sample-post{padding:12px;background:var(--od-theme-input, #111b28);border:1px solid var(--od-theme-border, #30445c)}
.sample-user-line{display:flex;align-items:center;gap:8px;min-width:0;font-size:11.5px;color:var(--od-theme-text, #dce7f5)}
.sample-user-line>span:last-child{color:var(--od-theme-link, #819bb9);font-size:10px}
.sample-user-line strong{overflow-wrap:anywhere}
.mini-avatar{height:26px;width:26px;display:grid;place-items:center;background:var(--od-theme-soft, #42638a);color:var(--od-theme-text, #eaf3ff);font-weight:800;border-radius:50%!important}
.sample-post-text{margin:10px 0 12px!important;color:var(--od-theme-text, #c5d4e6)!important}
.blocked-sample{color:var(--od-theme-link, #9fb5cf)!important;margin:10px 0 12px!important;font-size:11px!important;padding:9px;background:var(--od-theme-hover, #24354a);border:1px dashed var(--od-theme-border, #436184)}
.reaction-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding-top:10px;border-top:1px solid var(--od-theme-border, #30445a)}
.reaction-btn{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border:1px solid var(--od-theme-border, #3d526c);background:var(--od-theme-tag, #1c2b3e);color:var(--od-theme-text, #bbcee4);font-size:10.5px;font-weight:700;cursor:pointer}
.reaction-btn:hover{background:var(--od-theme-soft, #2c4462);color:var(--od-theme-text, #fff)}
.reaction-btn[aria-pressed="true"]{background:var(--od-theme-soft, #355984);border-color:var(--od-theme-accent, #7fa9e7);color:var(--od-theme-text, #eef5ff)}
.reaction-btn svg{width:13px;height:13px}
.block-example{background:var(--od-theme-input, #111b28);border:1px solid var(--od-theme-border, #31445a);padding:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.block-example .sample-user-line{gap:6px}
.block-button{font-size:10.5px;white-space:nowrap;padding:7px 9px}
.block-button[aria-pressed="true"]{background:var(--od-theme-soft, #304c6b);border-color:var(--od-theme-accent, #6994c9);color:var(--od-theme-text, #d3e7ff)}
.block-button:disabled{opacity:.5;cursor:not-allowed}
.staff-avatar{background:#604e70}
.sample-user-line .staff-role{color:var(--od-theme-link, #cfb8e9)!important}
.standards-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}
.standards-item{padding:19px 22px 21px}
.standards-item+.standards-item{border-left:1px solid var(--od-theme-border, #2d4056)}
.standards-icon{display:grid;place-items:center;background:var(--od-theme-hover, #284c5a);border:1px solid var(--od-theme-accent, #477c90);color:var(--od-theme-link, #9ad8e5);width:28px;height:28px;font-size:15px;margin-bottom:11px}
.standards-item h3{font-size:13.5px;color:var(--od-theme-text, #e0ebf9);margin:0 0 6px}
.standards-item p{font-size:12px;color:var(--od-theme-link, #a7bad1);line-height:1.65;margin:0}
.finish-banner{background:var(--od-theme-hover, #1e324b);border-top:1px solid var(--od-theme-border, #385575);padding:17px 22px;display:flex;justify-content:space-between;align-items:center;gap:18px}
.finish-banner h3{font-size:15px;color:var(--od-theme-text, #e6f0fe);margin:0 0 4px}
.finish-banner p{font-size:11.5px;color:var(--od-theme-link, #acc3dc);margin:0}
.finish-banner .action-link{flex:none}
#reportDialog{width:min(480px,calc(100vw - 30px))}
#reportDialog .dialog-body p{margin-top:0;margin-bottom:15px}
#reportDialog .demo-input{margin-bottom:14px}
.report-details{resize:vertical}
.dialog-actions{display:flex;gap:9px;justify-content:flex-end;padding-top:4px}
.dialog-close{font-size:24px;line-height:1}
.site-footer{margin-top:0}
@media(max-width:1110px){.tutorial-grid{gap:13px}.welcome-content{gap:13px}.tutorial-card{padding:18px}.practice-inside{padding:18px}.tutorial-panel-head{padding:18px}.standards-item{padding:18px}}
@media(max-width:940px){.tutorial-grid{grid-template-columns:minmax(0,1fr)}.welcome-hero-content{padding:24px}.hero-watermark{font-size:115px;right:0}}
@media(max-width:690px){html{scroll-padding-top:125px}.welcome-shell{padding-top:16px}.welcome-content{gap:12px}.welcome-sidebar .profile-head{display:none}.welcome-sidebar .profile-information{padding:0 14px}.guide-links-panel{display:none}.sidebar-guide-note{display:none}.welcome-hero-content{padding:22px 17px}.welcome-hero h1{font-size:24px}.hero-description{font-size:12.5px}.tutorial-card{padding:17px}.tutorial-panel-head{padding:16px}.practice-inside{padding:16px}.standards-grid{grid-template-columns:1fr}.standards-item{padding:17px}.standards-item+.standards-item{border-left:0;border-top:1px solid var(--od-theme-border, #2d4056)}.finish-banner{padding:17px;flex-direction:column;align-items:stretch}.finish-banner .action-link{width:100%}.tutorial-panel-head h2{font-size:17px}}
@media(max-width:420px){.welcome-hero h1{font-size:22px}.action-link{width:100%}.practice-tag{font-size:9px}.editor-bottom{align-items:stretch;flex-direction:column}.editor-bottom button{width:100%}.steps-strip{font-size:10px;gap:5px}.reaction-btn{font-size:10px;padding:6px}.block-button{padding:7px 6px;font-size:10px}}

/* Moderator invitation page */
.moderator-hero {min-height:212px}
.hero-status{display:inline-flex;align-items:center;gap:8px;margin-top:18px;font-size:11px;color:var(--od-theme-text, #c5d7ef);background:var(--od-theme-cover2, #14273b);border:1px solid var(--od-theme-border, #365676);padding:7px 10px;font-weight:650}
.status-dot{width:7px;height:7px;background:#e8c47d;border-radius:50%!important}
.moderator-section,.profanity-section,.decision-panel{scroll-margin-top:86px;overflow:hidden}
.section-heading{padding:21px 24px 15px;border-bottom:1px solid var(--od-theme-border, #2c3a4e)}
.section-heading h2,.decision-panel h2{font-size:19px;letter-spacing:-.4px;margin:0 0 9px;color:var(--od-theme-text, #e6effd)}
.section-heading p:not(.step-kicker){color:var(--od-theme-text, #b4c4d8);font-size:12.5px;line-height:1.7;margin:0;max-width:830px}
.section-heading .step-kicker{margin-bottom:9px}
.principles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.principle{padding:20px 21px;border-right:1px solid var(--od-theme-border, #2c3a4e);min-width:0}
.principle:last-child{border-right:0}
.principle-icon{display:grid;place-items:center;background:var(--od-theme-hover, #234457);color:var(--od-theme-link, #9be0e0);border:1px solid var(--od-theme-accent, #467b87);width:27px;height:27px;font-size:14px;font-weight:800;margin-bottom:12px}
.principle h3,.tool-tile h3{font-size:13px;color:var(--od-theme-text, #dfeafb);margin:0 0 8px}
.principle p,.tool-tile p{font-size:12px;line-height:1.65;color:var(--od-theme-link, #a7bcd4);margin:0}
.moderator-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.tool-tile{display:flex;gap:12px;padding:18px 21px;border-right:1px solid var(--od-theme-border, #2b3b50);border-bottom:1px solid var(--od-theme-border, #2b3b50)}
.tool-tile:nth-child(2n){border-right:0}
.tool-tile:nth-last-child(-n+2){border-bottom:0}
.tool-symbol{flex:none;width:31px;height:31px;display:grid;place-items:center;background:var(--od-theme-hover, #253e5c);border:1px solid var(--od-theme-border, #435c79);color:var(--od-theme-link, #accaf2);font-size:18px}
.workflow{background:var(--od-theme-head, #142131);border-top:1px solid var(--od-theme-border, #324860);padding:15px 20px}
.workflow-title{font-size:11px;color:var(--od-theme-link, #acc3dd);font-weight:750;margin-bottom:9px}
.workflow-steps{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.workflow-steps span{border:1px solid var(--od-theme-border, #3d5673);padding:6px 9px;background:var(--od-theme-hover, #20354b);color:var(--od-theme-text, #c5d6eb);font-size:10.5px;font-weight:600}
.workflow-steps b{font-size:17px;color:var(--od-theme-link, #809dc2)}
.boundary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:20px 21px 10px}
.boundary-card{border:1px solid var(--od-theme-border, #34485d);background:var(--od-theme-panel2, #132132);padding:16px 17px}
.boundary-card h3{font-size:13px;margin:0 0 12px;color:var(--od-theme-text, #dce8f8)}
.boundary-card h3 span{color:#a5ddc0;margin-right:5px}
.boundary-card.prohibited h3 span{color:#f1c08c}
.boundary-card ul{margin:0;padding-left:20px;color:var(--od-theme-text, #b7c7dc);font-size:12px;line-height:1.85}
.boundaries-footnote{margin:0;padding:6px 21px 19px;font-size:11.5px;line-height:1.65;color:var(--od-theme-link, #94aaca)}
.profanity-section{border-color:var(--od-theme-border, #476389)}
.profanity-section .section-heading{background:var(--od-theme-cover2, #1b2a40)}
.filter-example{padding:14px 18px;border:1px solid var(--od-theme-border, #3b5573);background:var(--od-theme-panel, #111d2b);margin:18px 21px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.example-label{font-size:10px;color:var(--od-theme-link, #819fcb);letter-spacing:.65px;font-weight:750}
.filter-example p{margin:8px 0 0;color:var(--od-theme-text, #d8e5f4);font-size:13px}
.filter-example strong{color:#e5c184}
.filtered-label{font-size:10px;color:#9dd8bd;background:#214638;border:1px solid #3e7965;padding:6px 7px;white-space:nowrap;font-weight:700}
.policy-note{color:var(--od-theme-link, #b9cce4);font-size:12px;line-height:1.75;margin:0 21px 20px;padding:13px 15px;background:var(--od-theme-hover, #1d324a);border-left:3px solid var(--od-theme-accent, #7aa9e8)}
.policy-note strong{color:var(--od-theme-text, #e3f0ff)}
.expectations{padding:4px 21px 9px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.expectations>div{padding:16px 0;border-bottom:1px solid var(--od-theme-border, #2b3b50)}
.expectations strong{font-size:12.5px;color:var(--od-theme-text, #e0edfc)}
.expectations p{font-size:12px;color:var(--od-theme-link, #abc0d9);line-height:1.6;margin:7px 0 0}
.admin-notice{display:flex;align-items:flex-start;gap:11px;background:var(--od-theme-cover2, #15263a);border:1px solid var(--od-theme-border, #334e6d);margin:10px 21px 20px;padding:13px 14px}
.admin-notice span{color:var(--od-theme-link, #91bdf1);font-size:17px}
.admin-notice p{font-size:12px;line-height:1.7;color:var(--od-theme-link, #adbfda);margin:0}
.admin-notice strong{color:var(--od-theme-text, #e3edfb)}
.decision-panel{border-color:var(--od-theme-accent, #55759d);background:linear-gradient(130deg,var(--od-theme-cover2, #1d2f48),var(--od-theme-panel2, #182433))}
.decision-inner{padding:24px}
.decision-panel h2{font-size:22px;margin:7px 0 11px}
.decision-inner>p:not(.step-kicker){color:var(--od-theme-text, #b7c9dc);font-size:12.5px;line-height:1.7;max-width:750px;margin:0}
.decision-buttons{display:flex;gap:11px;margin:22px 0 9px;align-items:stretch}
.decision-button{min-height:43px;padding:10px 15px;flex:1;font-size:12px;font-weight:750;cursor:pointer}
.decision-button:hover{filter:brightness(1.15)}
.decision-button:focus-visible{outline:2px solid var(--od-theme-accent, #a4c8ff);outline-offset:3px}
.demo-caption{color:var(--od-theme-link, #849ab5);font-size:10.5px;line-height:1.5}
.role-response{margin:12px 0 13px;padding:12px;border:1px solid var(--od-theme-accent, #55759d);color:var(--od-theme-link, #bed5eb);background:var(--od-theme-hover, #1c3850);font-size:12px;line-height:1.6}
.role-response strong{color:var(--od-theme-text, #dfefff)}
.role-response.declined{background:var(--od-theme-hover, #263245);border-color:var(--od-theme-border, #566781)}
.role-response[hidden],.header-notice[hidden]{display:none}
.role-dialog{max-width:500px}
.role-dialog .dialog-body{padding:20px 22px}
.role-dialog .dialog-body p{margin:0 0 16px;color:var(--od-theme-text, #bccde2);font-size:13px;line-height:1.7}
.role-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px}
.role-dialog .dialog-actions button{cursor:pointer}
.header-notice{position:fixed;z-index:30;right:16px;bottom:15px;background:var(--od-theme-hover, #263f5c);color:var(--od-theme-text, #dbe9f9);border:1px solid var(--od-theme-accent, #6b91c1);box-shadow:0 8px 22px #0008;padding:12px 16px;max-width:340px;font-size:12px}
@media(max-width:980px){.principles-grid{grid-template-columns:1fr}.principle{border-right:0;border-bottom:1px solid var(--od-theme-border, #2c3a4e);padding:16px 20px}.principle:last-child{border-bottom:0}}
@media(max-width:840px){.moderator-tools,.boundary-grid,.expectations{grid-template-columns:1fr}.tool-tile{border-right:0!important;border-bottom:1px solid var(--od-theme-border, #2b3b50)!important}.tool-tile:last-child{border-bottom:0!important}.expectations{gap:0}}
@media(max-width:690px){.section-heading{padding:18px 17px 15px}.moderator-hero{min-height:0}.section-heading h2{font-size:18px}.boundary-grid{padding:15px 17px 8px}.boundaries-footnote{padding:8px 17px 17px}.filter-example{margin:15px 17px 10px;flex-direction:column;align-items:flex-start}.policy-note{margin:0 17px 17px}.expectations{padding:0 17px 10px}.admin-notice{margin:0 17px 17px}.decision-inner{padding:19px 17px}.decision-panel h2{font-size:19px}.decision-buttons{flex-direction:column}.workflow{padding:14px 17px}}


/* Member profile page. Extends the Open Discussions shared dark UI. */
:root{--profile-border:var(--od-theme-border, #304056);--profile-soft:var(--od-theme-muted, #95aac3)}
.profile-shell{align-items:start}.profile-content{display:flex;flex-direction:column;gap:15px;min-width:0}
.profile-shell .profile-sidebar{top:88px}.profile-shell .profile-sidebar .side-panel{flex-shrink:0}
.profile-shell .profile-sidebar .profile-row{transform:translateY(-27px);margin-bottom:-27px}
.profile-shell .sidebar-note{margin:0;color:var(--od-theme-link, #8398af);font-size:11.5px;line-height:1.7;padding:0 6px}
.sidebar-menu{padding:6px}.sidebar-menu button{width:100%;display:flex;gap:11px;align-items:center;text-align:left;padding:11px 12px;color:var(--od-theme-text, #b8c9df);background:none;border:0;border-bottom:1px solid var(--od-theme-border, #253447);font-size:12px;font-weight:650}.sidebar-menu button:last-child{border-bottom:0}.sidebar-menu button:hover,.sidebar-menu button.selected{background:var(--od-theme-hover, #293d58);color:var(--od-theme-text, #eef5ff)}.sidebar-menu button svg{height:17px;width:17px;color:var(--od-theme-link, #9fbde8)}
.profile-cover{height:127px;background:linear-gradient(115deg,var(--od-theme-cover, #224971) 0%,var(--od-theme-hover, #233e5c) 40%,var(--od-theme-hover, #29334e) 76%,var(--od-theme-cover2, #182b42) 100%);border-bottom:1px solid var(--od-theme-border, #415673);position:relative;overflow:hidden}
.profile-cover:after{content:"";width:210px;height:210px;position:absolute;right:20px;top:-140px;border:1px solid var(--od-theme-accent, #6988b022);border-radius:50%!important;box-shadow:0 0 0 35px var(--od-theme-border, #7892b010),0 0 0 73px var(--od-theme-border, #6a85a10d)}
.cover-label{position:absolute;left:22px;top:19px;font-size:10px;font-weight:800;letter-spacing:1.8px;color:var(--od-theme-link, #c5dbfa);text-transform:uppercase}
.cover-type{position:absolute;top:17px;right:18px;color:var(--od-theme-text, #c9d8ec);border:1px solid var(--od-theme-accent, #8198b15e);padding:4px 8px;font-size:10px;font-weight:750;background:var(--od-theme-cover2, #172c487a)}
.profile-hero-main{padding:0 22px 19px}
.hero-topline{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.person-summary{display:flex;align-items:flex-start;gap:15px;min-width:0}
.person-avatar{height:84px;width:84px;flex:0 0 84px;margin-top:-39px;z-index:1;display:grid;place-items:center;font-size:31px;font-weight:800;color:var(--od-theme-text, #ecf6ff);background:linear-gradient(135deg,var(--od-theme-accent, #688cb4),var(--od-theme-soft, #3f6188));border:4px solid var(--od-theme-border, #182533);border-radius:50%!important;position:relative}
.person-avatar .mini-online{position:absolute;right:3px;bottom:6px;width:14px;height:14px;border:3px solid var(--od-theme-border, #182533);border-radius:50%!important;background:#66c995}
.person-info{padding-top:11px;min-width:0}.person-title{margin:0 0 6px;font-size:23px;letter-spacing:-.6px;color:var(--od-theme-text, #e7f0ff);overflow-wrap:anywhere}
.person-badges{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.profile-role{display:inline-block;font-size:9.5px;letter-spacing:.55px;text-transform:uppercase;color:var(--od-theme-link, #b8cde8);background:var(--od-theme-hover, #243953);border:1px solid var(--od-theme-border, #3b5678);padding:4px 7px;font-weight:750}
.profile-role.staff{color:var(--od-theme-link, #d1e2ff);background:var(--od-theme-cover, #2b4770);border-color:var(--od-theme-accent, #6685b6)}
.person-meta{font-size:11px;color:var(--od-theme-link, #99aec6);margin:0}
.profile-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;padding-top:15px;max-width:390px}
.od-btn{background:var(--od-theme-soft, #27415e);border:1px solid var(--od-theme-border, #4c6990);color:var(--od-theme-text, #d6e8ff);font-size:11.5px;font-weight:750;padding:10px 13px;cursor:pointer;min-height:36px}
.od-btn:hover{background:var(--od-theme-soft, #36567c);border-color:var(--od-theme-accent, #7099cb)}.od-btn.primary{background:var(--od-theme-accent, #467ac4);border-color:var(--od-theme-accent, #6599e4);color:var(--od-theme-text, #fff)}.od-btn.primary:hover{background:var(--od-theme-accent, #568bdd)}
.od-btn.danger{background:var(--od-theme-tool, #3e2d38);border-color:var(--od-theme-border, #70515f);color:var(--od-theme-text, #f2cbd5)}.od-btn.danger:hover{background:var(--od-theme-tool, #5c3542)}.od-btn:disabled{opacity:.48;cursor:not-allowed}
.profile-bio{font-size:13px;color:var(--od-theme-text, #c0d0e2);line-height:1.7;margin:12px 0 16px;max-width:790px}
.profile-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--od-theme-border, #304157);background:var(--od-theme-panel2, #152232)}
.profile-stat{padding:14px 18px;border-right:1px solid var(--od-theme-border, #304157)}.profile-stat:last-child{border-right:0}.stat-value{display:block;font-size:19px;color:var(--od-theme-text, #dae8f8);font-weight:800;line-height:1.3}.stat-label{display:block;text-transform:uppercase;letter-spacing:.5px;color:var(--od-theme-link, #8fa7c1);font-size:10px;margin-top:4px;font-weight:700}
.profile-tabs{background:var(--od-theme-tool, #1b2939);border-bottom:1px solid var(--od-theme-border, #35485f);display:flex;flex-wrap:wrap;padding:0 10px;gap:0}
.profile-tab{padding:15px 16px;border:0;border-bottom:3px solid transparent;background:none;color:var(--od-theme-link, #a3b7d0);font-weight:750;font-size:12px;cursor:pointer;white-space:nowrap}
.profile-tab:hover{color:var(--od-theme-text, #e5efff);background:var(--od-theme-hover, #253a52)}.profile-tab.active{color:var(--od-theme-text, #e0eeff);border-bottom-color:var(--od-theme-accent, #79a7fa);background:var(--od-theme-hover, #22374f)}
.profile-tab .tab-count{color:var(--od-theme-link, #9fb4ce);font-weight:600;padding-left:3px}
.panel-section{padding:0;display:none}.panel-section.active{display:block}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 21px;border-bottom:1px solid var(--od-theme-border, #2b3b50)}
.panel-heading h2{font-size:16px;margin:0;color:var(--od-theme-text, #e4efff)}.panel-heading p{margin:4px 0 0;color:var(--od-theme-link, #90a8c3);font-size:11.5px}.panel-heading .mini-control{color:var(--od-theme-link, #b9d3f2);background:var(--od-theme-hover, #243a54);border:1px solid var(--od-theme-border, #476384);padding:7px 10px;font-size:11px;cursor:pointer}
.profile-thread-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 64px 135px;align-items:center;min-height:77px;padding:0;border-bottom:1px solid var(--od-theme-border, #29384b);background:var(--od-theme-rowAlt, #182533)}
.profile-thread-row:nth-of-type(even){background:var(--od-theme-panel2, #1a2838)}.profile-thread-row:last-child{border-bottom:0}.profile-thread-main{padding:14px 16px;display:flex;align-items:center;gap:12px;min-width:0}
.thread-bubble{height:32px;width:32px;flex:0 0 32px;display:grid;place-items:center;background:var(--od-theme-soft, #2a4460);border:1px solid var(--od-theme-border, #3c5a7d);color:var(--od-theme-link, #9dc7ff);border-radius:50%!important}
.thread-bubble svg{height:17px;width:17px}.thread-topic-name{color:var(--od-theme-text, #d2e6ff);font-size:13px;font-weight:750;line-height:1.55;margin:0 0 4px}
.thread-sub{font-size:10.5px;color:var(--od-theme-link, #92a7c0);line-height:1.5}.thread-numeric,.thread-last{padding:12px 8px;text-align:center;border-left:1px solid var(--od-theme-border, #2a3a4d);color:var(--od-theme-text, #c0d1e6);font-size:11.5px;font-variant-numeric:tabular-nums}.thread-last{font-size:10.5px;line-height:1.6;color:var(--od-theme-link, #9fb8d8)}
.reply-entry{padding:18px 21px;border-bottom:1px solid var(--od-theme-border, #2a3b4f)}.reply-entry:last-child{border-bottom:0}.reply-entry h3{font-size:13px;color:var(--od-theme-text, #d0e3fc);margin:0 0 7px}.reply-entry p{font-size:12px;color:var(--od-theme-text, #b6c7da);line-height:1.7;margin:0 0 10px}.reply-meta{font-size:10.5px;color:var(--od-theme-link, #91a8c5);margin-bottom:11px}.reply-actions{display:flex;gap:8px}.reply-action{padding:6px 9px;background:var(--od-theme-hover, #263c56);color:var(--od-theme-link, #a9c7eb);border:1px solid var(--od-theme-border, #385572);font-size:10.5px;cursor:pointer}.reply-action.selected{color:var(--od-theme-text, #fff);border-color:var(--od-theme-accent, #79a4de);background:var(--od-theme-soft, #345a85)}
.friend-grid{padding:17px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.friend-card{border:1px solid var(--od-theme-border, #344962);background:var(--od-theme-head, #142231);display:flex;align-items:center;gap:12px;padding:13px 14px;min-width:0}
.friend-avatar{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;color:var(--od-theme-text, #e7f2ff);font-size:17px;font-weight:850;background:var(--od-theme-soft, #3b6385);border-radius:50%!important}
.friend-card:nth-child(2n) .friend-avatar{background:var(--od-theme-soft, #5b5382)}.friend-card:nth-child(3n) .friend-avatar{background:var(--od-theme-soft, #506d6e)}
.friend-detail{min-width:0;flex:1}.friend-detail strong{display:block;font-size:12px;color:var(--od-theme-text, #dbe8ff);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.friend-detail span{display:block;color:var(--od-theme-link, #93a9c3);font-size:10.5px;margin-top:5px}.tiny-online{color:#83d6a7!important}
.friend-view{font-size:10.5px;border:1px solid var(--od-theme-border, #3f5a7b);background:var(--od-theme-hover, #253b56);color:var(--od-theme-link, #c2d5ed);padding:7px 9px;cursor:pointer;white-space:nowrap}.friend-view:hover{background:var(--od-theme-soft, #38557b)}
.tab-footnote{padding:14px 20px;border-top:1px solid var(--od-theme-border, #304057);background:var(--od-theme-panel2, #152437);color:var(--od-theme-link, #94adc9);font-size:11.5px;line-height:1.6}
.guestbook-layout{padding:18px 20px}.guestbook-compose{border:1px solid var(--od-theme-border, #39516e);background:var(--od-theme-panel2, #142337);padding:15px 16px;margin-bottom:16px}.guestbook-compose label{font-size:12px;font-weight:800;color:var(--od-theme-text, #d6e5fa);display:block;margin-bottom:9px}
.guestbook-textarea{width:100%;min-height:95px;resize:vertical;background:var(--od-theme-panel, #0e1928);border:1px solid var(--od-theme-border, #435a75);color:var(--od-theme-text, #eef5ff);padding:10px 11px;font:inherit;line-height:1.55}.guestbook-textarea:focus{outline:2px solid var(--od-theme-accent, #719fe3);outline-offset:1px}
.guestbook-compose-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px;flex-wrap:wrap}.character-count{font-size:10.5px;color:var(--od-theme-link, #92a9c5)}
.guestbook-entry{background:var(--od-theme-panel, #172638);border:1px solid var(--od-theme-border, #30445d);padding:14px 15px;margin-bottom:10px}.gb-byline{display:flex;align-items:center;gap:9px;margin-bottom:9px}
.gb-avatar{width:29px;height:29px;flex:0 0 29px;border-radius:50%!important;background:var(--od-theme-soft, #425c83);display:grid;place-items:center;font-size:11px;font-weight:800;color:var(--od-theme-text, #fff)}
.gb-name{font-size:12px;color:var(--od-theme-text, #e1ebfb);font-weight:750}.gb-time{font-size:10px;color:var(--od-theme-link, #8096af);display:block;margin-top:3px}.gb-entry-content{font-size:12px;line-height:1.65;color:var(--od-theme-text, #becee2);margin:0 0 4px;white-space:pre-wrap;overflow-wrap:anywhere}
.gb-tools{margin-left:auto;display:flex;align-items:center;gap:7px}.gb-delete{color:var(--od-theme-link, #b6c9df);background:none;border:0;font-size:10.5px;cursor:pointer}.gb-delete:hover{color:var(--od-theme-link, #f2c5d0)}
.about-layout{padding:21px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:17px}
.about-box{border:1px solid var(--od-theme-border, #354960);background:var(--od-theme-panel2, #152334);padding:17px}.about-box h3{margin:0 0 12px;font-size:13px;color:var(--od-theme-text, #e1edfd)}.about-box p{color:var(--od-theme-link, #b4c7dd);font-size:12px;line-height:1.8;margin:0 0 11px}.about-detail{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--od-theme-border, #2e4055);font-size:11.5px}.about-detail span:first-child{color:var(--od-theme-link, #93acc9)}.about-detail strong{color:var(--od-theme-text, #d5e5f8);text-align:right}
.interest-pills{display:flex;flex-wrap:wrap;gap:7px}.interest-pill{padding:6px 8px;background:var(--od-theme-soft, #284462);border:1px solid var(--od-theme-border, #3e5d81);font-size:10.5px;color:var(--od-theme-link, #c2d8f4)}
.profile-banner-note{font-size:12px;color:var(--od-theme-link, #a8c1da);background:var(--od-theme-cover2, #172d42);border:1px solid var(--od-theme-border, #36516c);padding:14px 16px;line-height:1.7}
.profile-overlay{border:1px solid var(--od-theme-border, #465d79);border-radius:0!important;padding:0;color:var(--od-theme-text, #e7effc);background:var(--od-theme-panel2, #172536);max-width:520px;width:calc(100% - 32px);box-shadow:0 18px 70px #000b}.profile-overlay::backdrop{background:#02060cbf}.modal-top{padding:16px 19px;background:var(--od-theme-hover, #24374e);border-bottom:1px solid var(--od-theme-border, #3a506c);display:flex;align-items:center;justify-content:space-between}.modal-top h2{font-size:16px;margin:0}.modal-close{background:none;border:0;color:var(--od-theme-text, #cddff7);font-size:25px;cursor:pointer}.modal-body{padding:18px 20px}.modal-body p{color:var(--od-theme-text, #bdcfe2);font-size:12px;line-height:1.7;margin:0 0 12px}.form-label{font-size:11.5px;color:var(--od-theme-text, #d2e4f8);font-weight:700;display:block;margin:12px 0 7px}.profile-field{width:100%;border:1px solid var(--od-theme-border, #435873);background:var(--od-theme-panel, #0f1c2c);color:var(--od-theme-text, #e1edfc);font:inherit;padding:10px;resize:vertical}.modal-foot{margin-top:15px;display:flex;gap:9px;justify-content:flex-end}
.profile-toast{position:fixed;z-index:40;bottom:20px;left:50%;transform:translate(-50%,8px);background:var(--od-theme-soft, #dceaff);color:var(--od-theme-accent, #203a5d);padding:11px 17px;font-size:12px;font-weight:700;max-width:92vw;visibility:hidden;opacity:0;transition:opacity .2s,transform .2s;box-shadow:0 7px 27px #0009}.profile-toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
[hidden]{display:none!important}
@media(max-width:1100px){.profile-actions{max-width:330px}.od-btn{padding:9px 10px}.hero-topline{gap:10px}}
@media(max-width:930px){.hero-topline{flex-wrap:wrap}.profile-actions{padding-top:2px;width:100%;justify-content:flex-start;max-width:none;margin-bottom:7px}.person-info{padding-top:12px}.about-layout{grid-template-columns:1fr}}
@media(max-width:800px){.friend-grid{grid-template-columns:1fr}.profile-thread-row{grid-template-columns:minmax(0,1fr) 54px 85px}.profile-thread-row .thread-views{display:none}}
@media(max-width:690px){.profile-shell{padding-top:16px}.profile-shell .profile-sidebar{position:static;max-height:none}.profile-shell .profile-sidebar .profile-row{transform:none;margin-bottom:0}.profile-shell .profile-sidebar .side-panel:not(.member-panel){display:none}.profile-shell .sidebar-note{display:none}.profile-cover{height:91px}.person-avatar{height:69px;width:69px;flex-basis:69px;font-size:25px;margin-top:-29px}.profile-hero-main{padding:0 15px 15px}.person-info{padding-top:9px}.person-title{font-size:20px}.profile-stat{padding:12px 10px}.stat-value{font-size:17px}.stat-label{font-size:9px}.profile-tab{padding:13px 10px;font-size:11px}.profile-tabs{padding:0 5px}.panel-heading{padding:16px}.guestbook-layout{padding:12px}.about-layout{padding:12px}.profile-thread-main{padding:12px 10px}.thread-last{display:none}.profile-thread-row{grid-template-columns:minmax(0,1fr) 50px}.cover-label{font-size:9px}}
@media(max-width:400px){.profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stat:nth-child(2){border-right:0}.profile-stat:nth-child(-n+2){border-bottom:1px solid var(--od-theme-border, #304157)}.profile-tab{padding:11px 8px;font-size:10.5px}.profile-actions{gap:5px}.od-btn{flex:1;padding:9px 7px}.friend-card{padding:10px}.friend-view{padding:6px}}

/* Revised one-page member profile: original header, friends, guestbook. */
.profile-content{gap:15px}
.profile-hero{overflow:hidden}
.profile-hero-main{padding-bottom:17px}
.hero-topline{gap:15px;align-items:flex-start}
.person-summary{min-width:205px}
.person-info{padding-top:9px}
.profile-actions.five-actions{max-width:none;flex:0 1 auto;gap:7px;justify-content:flex-end;align-items:center;padding-top:16px}
.five-actions .od-btn{white-space:nowrap;min-width:65px;padding:9px 11px;font-size:11.5px}
.five-actions .od-btn.primary{min-width:91px}
.five-actions .od-btn:focus-visible,.scroll-arrow:focus-visible,.friend-tile:focus-visible{outline:2px solid var(--od-theme-accent, #b3d0ff);outline-offset:2px}
.profile-bio{margin-top:14px;margin-bottom:0;max-width:860px}
.section-flat{overflow:hidden}
.flat-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 18px;background:var(--od-theme-tag, #1d2b3b);border-bottom:1px solid var(--od-theme-border, #34465b)}
.flat-title-group{display:flex;align-items:center;gap:9px}
.flat-title-group h2{font-size:14px;font-weight:800;color:var(--od-theme-text, #dfebff);margin:0}
.flat-count{font-size:10px;color:var(--od-theme-link, #bcd0eb);border:1px solid var(--od-theme-border, #405a7b);background:var(--od-theme-hover, #293f58);padding:3px 7px}
.friend-arrows{display:flex;gap:6px}
.scroll-arrow{height:29px;width:33px;background:var(--od-theme-hover, #2b4059);color:var(--od-theme-text, #d2e3fa);border:1px solid var(--od-theme-border, #506783);font-size:22px;line-height:1;cursor:pointer}
.scroll-arrow:hover{background:var(--od-theme-soft, #38597d)}
.scroll-arrow:disabled{opacity:.45;cursor:default}
.friends-scroll{padding:15px 16px 16px;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:var(--od-theme-border, #506986) var(--od-theme-border, #172231);overscroll-behavior-inline:contain}
.friends-track{display:flex;gap:10px;width:max-content;min-width:100%}
.friend-tile{width:137px;min-height:112px;flex:none;border:1px solid var(--od-theme-border, #334b64);background:var(--od-theme-panel, #172638);color:var(--od-theme-text, #dce9fb);padding:12px 7px 10px;display:flex;flex-direction:column;align-items:center;gap:5px;cursor:pointer;text-align:center}
.friend-tile:hover{background:var(--od-theme-hover, #21364d);border-color:var(--od-theme-accent, #6485aa)}
.friend-tile .friend-avatar{width:40px;height:40px;flex:0 0 40px;font-size:15px}
.friend-tile:nth-child(3n+2) .friend-avatar{background:var(--od-theme-soft, #5b5382)}
.friend-tile:nth-child(3n+3) .friend-avatar{background:var(--od-theme-soft, #506d6e)}
.friend-tile strong{font-size:11.5px;max-width:125px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.friend-tile small{font-size:10px;color:var(--od-theme-link, #9dafc5)}
.friend-tile .friend-status.is-online{color:#7bdca5}
.guestbook-body{padding:16px 18px 10px}
.flat-guest-form{padding:0 0 15px;border-bottom:1px solid var(--od-theme-border, #304259);margin-bottom:15px}
.flat-guest-form label{font-size:12px;font-weight:800;color:var(--od-theme-text, #d2e4fa);display:block;margin-bottom:8px}
.flat-guest-form .guestbook-textarea{min-height:78px;display:block;width:100%}
.flat-guest-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.flat-guest-entries .guestbook-entry{margin-bottom:10px;padding:14px 15px}
.flat-guest-entries .guestbook-entry:last-child{margin-bottom:4px}
.guestbook-entry.admin-welcome{border-left:3px solid var(--od-theme-accent, #7eaff5);background:var(--od-theme-cover2, #1a2c41)}
.entry-badge{display:inline-block;margin-left:8px;padding:2px 5px;background:var(--od-theme-soft, #294b73);border:1px solid var(--od-theme-border, #426894);color:var(--od-theme-text, #dcecff);font-size:9px;font-weight:750;vertical-align:1px}
.entry-author{border:0;background:none;color:var(--od-theme-text, #d7e8ff);padding:0;text-align:left;cursor:pointer;font:inherit;font-weight:750;font-size:12px}
.entry-author:hover{text-decoration:underline}
.post-search-intro{font-size:12px;color:var(--od-theme-link, #a4bad3);margin:0 0 13px}
.post-search-fields{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.post-search-fields input{min-width:165px;flex:1;background:var(--od-theme-panel, #0f1a29);color:var(--od-theme-text, #e5f0ff);border:1px solid var(--od-theme-border, #506883);padding:10px}
.post-search-fields select{background:var(--od-theme-cover2, #14243a);color:var(--od-theme-text, #dceafe);border:1px solid var(--od-theme-border, #506883);padding:10px}
.search-results{max-height:340px;overflow-y:auto;border:1px solid var(--od-theme-border, #344963)}
.search-result{padding:12px 13px;border-bottom:1px solid var(--od-theme-border, #304257)}
.search-result:last-child{border-bottom:none}
.search-result strong{font-size:12px;color:var(--od-theme-text, #dceaff);display:block;margin-top:5px}
.search-result p{font-size:11.5px;line-height:1.6;color:var(--od-theme-link, #aabed7);margin:6px 0 0}
.search-result .result-label{font-size:10px;text-transform:uppercase;letter-spacing:.4px;color:var(--od-theme-link, #9cbaea);font-weight:750}
.no-results{padding:18px;color:var(--od-theme-link, #a8bad1);font-size:12px}
.profile-content .site-footer{margin-top:3px}
@media(max-width:1120px){
 .hero-topline{flex-wrap:wrap}
 .profile-actions.five-actions{padding-top:3px;width:100%;justify-content:flex-start;margin-left:99px}
}
@media(max-width:690px){
 .profile-cover{height:109px}
 .profile-hero-main{padding:0 14px 16px}
 .profile-actions.five-actions{margin-left:0;gap:6px}
 .five-actions .od-btn{flex:1 1 auto;text-align:center;min-width:68px;padding:9px 7px}
 .person-avatar{width:70px;height:70px;flex-basis:70px;margin-top:-33px;font-size:25px}
 .person-summary{gap:11px}
 .person-title{font-size:20px}
 .flat-section-head{padding:11px 12px}
 .friends-scroll{padding:12px}
 .friend-tile{width:123px;min-height:108px}
 .guestbook-body{padding:12px 12px 8px}
 .post-search-fields{flex-direction:column}
 .post-search-fields input{min-width:0}
}
@media(max-width:420px){
 .five-actions .od-btn{font-size:11px}
 .profile-actions.five-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .profile-actions.five-actions .od-btn{min-width:0}
 .flat-guest-bottom{align-items:stretch}
 .flat-guest-bottom button{min-width:140px}
}

@media(max-width:690px){.profile-cover .cover-label{max-width:52%;font-size:9px;line-height:1.55;letter-spacing:1.25px;white-space:normal}.profile-cover .cover-type{font-size:9px}}

/* Profile header refinement: identity and actions raised to the cover divider. */
.profile-hero-main{position:relative;z-index:1}
.person-info{padding-top:0;margin-top:-20px;position:relative;z-index:2}
.profile-actions.five-actions{padding-top:0;margin-top:-18px;position:relative;z-index:2}
.person-badges{margin-bottom:0}
.profile-bio{margin-top:15px}
@media(max-width:1120px){
  .profile-actions.five-actions{margin-top:0;padding-top:3px}
}
@media(max-width:690px){
  .person-info{margin-top:-10px}
  .profile-actions.five-actions{margin-top:0}
}

/* Profile identity clearly above the cover divider, while action buttons remain centered there. */
.person-info{margin-top:-67px;}
.profile-actions.five-actions{margin-top:-18px;}
@media(max-width:1120px){
  .person-info{margin-top:-67px;}
  .profile-actions.five-actions{margin-top:0;}
}
@media(max-width:690px){
  .person-info{margin-top:-61px;}
  .profile-actions.five-actions{margin-top:0;}
}

/* Compact award shelf, placed above the horizontal Friends strip. */
.awards-section{overflow:hidden}
.awards-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px 16px 16px}
.award-tile{min-width:0;min-height:68px;display:flex;align-items:center;gap:11px;padding:10px 12px;border:1px solid var(--od-theme-border, #354b66);background:var(--od-theme-panel, #172638)}
.award-symbol{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid currentColor;background:var(--od-theme-hover, #253a53)}
.award-symbol svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.award-tile strong{display:block;margin:0 0 2px;color:var(--od-theme-text, #e2efff);font-size:12px;font-weight:800;line-height:1.3}
.award-tile small{display:block;font-size:10.5px;color:var(--od-theme-link, #99aec7);line-height:1.45}
.award-tile.gold .award-symbol{color:#f4ce7c;background:#473c2b;border-color:#75623c}
.award-tile.blue .award-symbol{color:var(--od-theme-link, #a5caff);background:var(--od-theme-soft, #284262);border-color:var(--od-theme-accent, #496c96)}
.award-tile.purple .award-symbol{color:var(--od-theme-link, #c2b3fa);background:var(--od-theme-hover, #3a3458);border-color:var(--od-theme-border, #605587)}
.award-tile.rose .award-symbol{color:#f6b1c6;background:var(--od-theme-tool, #4b303f);border-color:var(--od-theme-border, #7e4d64)}
.award-tile.teal .award-symbol{color:var(--od-theme-link, #9bddda);background:var(--od-theme-tool, #294848);border-color:var(--od-theme-accent, #447577)}
.award-tile.green .award-symbol{color:#a8dfa9;background:#2d4838;border-color:#4e7a58}
.awards-empty{padding:17px 18px;color:var(--od-theme-link, #9eb0c6);font-size:12px}
@media(max-width:1120px){.awards-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.awards-list{gap:8px;padding:12px}.award-tile{padding:9px;gap:8px}.award-symbol{width:34px;height:34px;flex-basis:34px}.award-symbol svg{width:19px;height:19px}}
@media(max-width:360px){.awards-list{grid-template-columns:1fr}}


/* Profile name crosses the banner's bottom rule; role and join date sit below it. */
.person-info{margin-top:-24px;}
#roleBadge.patron::before{content:"★";color:#f3d17e;font-size:10px;margin-right:5px;vertical-align:1px;}
@media(max-width:690px){.person-info{margin-top:-9px;}}


/* Member profile uses the latest site-wide header, navigation and tags. */
/* Account navigation, directly below the online status control. */
     .side-menu{display:flex;flex-direction:column;gap:2px;padding:9px 8px 10px}
     .side-link{width:100%;min-height:40px;padding:10px 11px;font-size:12.5px;gap:12px}
     .side-link svg{width:18px;height:18px}
     .logout-action:hover{color:var(--od-theme-text, #f3f7ff)}
     @media(max-width:690px){
       .side-menu{display:flex;flex-direction:column;gap:2px;padding:9px 8px 10px}
       .side-link{width:100%;padding:10px 11px}
     }



.side-link.is-current{background:var(--od-theme-hover, #293f59);border-left:3px solid var(--od-theme-accent, #80aff4);color:var(--od-theme-text, #f3f7ff)}
.profile-shell .profile-sidebar{top:92px}
.profile-shell .profile-sidebar .side-panel{flex-shrink:0}
.profile-shell .profile-sidebar .profile-information{padding-bottom:0}
.profile-shell .profile-sidebar .side-menu{border-top:1px solid var(--line)}
.profile-shell .profile-sidebar .profile-row{transform:translateY(-27px);margin-bottom:-27px}
.profile-shell .profile-sidebar .profile-details{transform:translateY(-11px)}
.profile-sidebar .tag-interior{padding:14px}
.profile-content{gap:15px}
.friend-arrows{align-items:center}
.view-all-friends{font-size:11px;font-weight:700;color:var(--od-theme-link, #afccf5);border:1px solid var(--od-theme-border, #425b7a);background:var(--od-theme-hover, #253a53);padding:7px 10px;white-space:nowrap}
.view-all-friends:hover{background:var(--od-theme-soft, #355476);color:white}
.profile-shell .site-footer{padding-top:12px}
@media(max-width:690px){
  .profile-shell .profile-sidebar{position:static;max-height:none;overflow:visible}
  .profile-shell .profile-sidebar .side-panel,.profile-shell .profile-sidebar .side-panel:not(.member-panel){display:block!important}
  .profile-shell .profile-sidebar .profile-information{display:block;padding:0 14px}
  .profile-shell .profile-sidebar .profile-row{transform:none;margin-bottom:0}
  .profile-shell .profile-sidebar .profile-details{transform:none}
  .profile-shell .profile-sidebar .profile-head{display:none}
  .profile-shell .profile-sidebar .side-menu{display:flex;flex-direction:column;gap:2px}
  .profile-sidebar .tag-interior{padding:10px 13px}
  .friend-arrows{gap:5px}
  .view-all-friends{font-size:10px;padding:7px 6px}
}
