/* Merged shared shell + popup styles. site-layout.css is inactive after 20260401_shared_popup_unify_1. */
:root {
    --shell-left-width: 180px;
    --main-center-width: 980px;
    --shell-right-width: 180px;
    --shell-center-padding-x: 40px;
    --shell-center-padding-bottom: 40px;
}

.wrap {
	display: grid;
	grid-template-columns:
		var(--shell-left-width)
		var(--main-center-width)
		var(--shell-right-width);
	column-gap: 20px;
	width: max-content;
	min-width: 100%;
	justify-content: center;
	align-items: start;
	min-height: 100vh;
}

.left,
.right,
.middle {
	min-width: 0;
}

.middle {
	background: #262626;
	padding: 0 var(--shell-center-padding-x) var(--shell-center-padding-bottom) var(--shell-center-padding-x);
	width: 100%;
	height: auto;
	margin: 0;
	min-height: 105vh;
	box-sizing: border-box;
}	

body[data-page="forum"],
.forum-page,
.playlist-editor-page {
    background: #1C1C1C;
    margin: 0;
}

.wordNorm12 {
	font-family: helvetica;
	font-size:14px;
	text-align:center;
}

.dg {
    display: grid;
}

.dn {
    display: none;
}

.gtc-r3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

#shared-popup-message{
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 500;
    font-family: helvetica;
    color: rgb(230, 230, 230);
    text-align: center;
    background: rgb(28 28 28);
}

.shared-popup-body {
	border-radius: 5px;
    background-color: rgb(38, 38, 38);
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: helvetica;
    box-shadow: rgb(0, 0, 0) 0px 0px 120px 0px;
    position: fixed;
    padding: 20px;
	min-width: 300;
}

.shared-popup-confirm {
    padding: 5px 20px;
    width: fit-content;
    border-radius: 15px;
    background-color: rgb(48,48,48);
    font-size: 12px;
    font-family: helvetica;
    cursor: pointer;
    margin: 0 auto;
    transition: .2s;
    color: rgb(230,230,230);
	margin-left:8px;
	margin-right:8px;
}

.shared-popup-confirm:hover {
    background-color: rgb(38,38,38);
}

.shared-popup-cancel {
    padding: 5px 20px;
    width: fit-content;
    border-radius: 15px;
    background-color: rgb(58 58 58);
    font-size: 12px;
    font-family: helvetica;
    cursor: pointer;
    margin: 0 auto;
    transition: .2s;
    color: rgb(230, 230, 230);
	margin-left:8px;
	margin-right:8px;
}

.shared-popup-cancel:hover {
    background-color: rgb(68 68 68);
}

#popupboxconfirm:hover {
	cursor:pointer;
}

#popupboxcancel:hover {
	cursor:pointer;
}

#page-title-bar {
	width: 100%;
	margin:20px auto 0 auto;
	font-size:22px;
	font-weight:600;
	font-stretch:100%;
	font-family:poppins-semibold, poppins, sans-serif;
	height:50px;
	line-height:50px;
	display: flex;
	align-items: center; 
}

#page-title-word {
	display:flex;
	text-align:left;
	position:relative;
}

#page-title-text {
	display:flex;
	width:auto;
}

#popupboxbg {
    transition: opacity 0.3s ease-in-out;
}

.nf-friend-message-popup-body#popupboxbody {
    background: rgb(68,68,68);
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(0,0,0,0.75);
    min-width: 400px;
    width: min(560px, calc(100vw - 24px));
    max-width: 560px;
    min-height: 200px;
    height: auto;
    max-height: none;
    box-sizing: border-box;
}

.nf-friend-message-popup-body#popupboxbody .df-fdr-jcc-ac.f-normal.fs-12.ta-c.mt-20 {
    width: 220px;
    margin: 20px auto 0 auto;
    justify-content: space-between;
}

.nf-friend-message-popup-content#shared-popup-message {
    background: transparent;
    color: rgb(230,230,230);
    border-radius: 0;
    padding: 0;
}

.nf-friend-message-popup-wrap {
    width: 100%;
}

.nf-friend-message-popup-input {
    width: 100%;
    min-height: 250px;
    height: 250px;
    max-height: 250px;
    resize: none;
    overflow-y: auto;
    box-sizing: border-box;
    border: 1px solid rgb(87,87,87);
    border-radius: 4px;
    background: rgb(28,28,28);
    color: rgb(230,230,230);
    padding: 8px 10px;
    font-family: helvetica;
    font-size: 14px;
    line-height: 1.45;
    transition: none;
}

.nf-friend-message-popup-input:focus {
    outline: none !important;
    border-color: rgb(87,87,87);
    box-shadow: none;
}

.nf-friend-message-popup-input:hover {
    border-color: rgb(87,87,87);
}

.nf-friend-message-popup-input::placeholder {
    color: rgb(150,150,150);
}

.nf-friend-message-popup-error {
    min-height: 14px;
}

.nf-friend-message-popup-hint {
    color: rgb(160,160,160);
}

.nf-friend-message-popup-reply-title {
    margin: 0 0 6px 0;
}

.nf-friend-message-popup-reply-preview {
    margin: 0 0 10px 0;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    color: rgb(230,230,230);
}

.nf-friend-message-popup-sendbtn {
    margin-left: 0;
    margin-right: 0;
}

.nf-friend-message-popup-sendbtn.is-busy {
    opacity: 0.65;
    cursor: not-allowed;
}

.nf-friend-message-popup-cancel#popupboxcancel {
    border-radius: 15px;
    margin-left: 0;
    margin-right: 0;
}

@media (max-width: 440px) {
    .nf-friend-message-popup-body#popupboxbody {
        min-width: 0;
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }
}

.shared-popup-overlay,
.darkoverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    transition: opacity 0.3s ease-in-out;
}

.site-left-sidebar-top,
.site-left-sidebar-top-host,
.site-right-sidebar-top,
.site-right-sidebar-top-host {
	height: auto;
	min-height: 100%;
	float: none;
}

.svg-icon {
  width: 1em;
  height: 1em;
}

.svg-icon path,
.svg-icon polygon,
.svg-icon rect {
  fill: #4691f6;
}

.svg-icon circle {
  stroke: #4691f6;
  stroke-width: 1;
}

.main-search-autofill-guard {
	display: none;
}

#page-loading-overlay {
	z-index: 1010;
	top:0;
	left:0;
    position: fixed;
    background: rgba(0,0,0,0.4);
    width: 100%;
    height: 100%;
	display:none;
}

.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1015;
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.main-page {
	background:#1C1C1C;
	margin:0;
}

.main-shell-nav-link {
	user-select:none;
}

.main-playlist-panel-item {
	font-family:helvetica;
	font-size:14px;
	color:rgb(230, 230, 230);
	line-height:24px;
	width:100%;
	display:block;
	box-sizing:border-box;
	overflow-wrap:break-word;
	transition-duration:.2s;
}

.main-playlist-panel-item:hover {
	cursor:pointer;
	color:rgb(255,166,0);
}

.main-playlist-panel-item.is-disabled {
	color:rgb(100,100,100);
	cursor:default;
}

.main-playlist-panel-item.is-disabled:hover {
	color:rgb(100,100,100);
}

.MemberOffline {
    opacity: 0.3;
}

.notification-page {
	background: #1C1C1C;
	margin: 0;
}

.notification-main-inner {
	margin: 0 auto;
}

.notification-title-accent {
	color: rgb(255, 166, 0);
}

.notification-title-base {
	color: rgb(232, 230, 230);
}

.notification-toolbar-right {
	margin-left: auto;
	display: flex;
}

.notification-toolbar-button-end {
	margin-right: 0;
}

.notification-info-panel {
	width: 100%;
	margin: 0 auto;
}

.site-scroll-panel-560 {
	max-height: 560px;
	overflow-y: auto;
}

.pm-header-meta-divider {
	border-left: 1px solid rgb(87 87 87);
	border-right: 1px solid rgb(87 87 87);
}

.nf-friend-divider {
	width: 100%;
	display: none;
}

.nf-friend-divider.is-visible {
	display: block;
}

.nf-activity-visibility-dot--activity {
	background-color: rgb(60,190,90);
}

.nf-activity-visibility-dot--tab-only {
	background-color: rgb(255,166,0);
}

.nf-activity-visibility-dot--basic {
	background-color: rgb(130,130,130);
}

#shared-popup-message.popup-body-multiline {
	border-radius: 10px;
}

#popupboxbg.popup-overlay-hidden {
	opacity: 0;
}

#popupboxbg.popup-overlay-visible {
	opacity: 1;
}

.nf-friend-message-popup-error {
	color: rgb(255,166,0);
}

.nf-friend-message-popup-error.is-success {
	color: rgb(120,220,170);
}

.nf-friend-message-popup-sendbtn.is-disabled {
	pointer-events: none;
}

#noti-toolbar .noti-tab-btn.is-active {
	background-color: rgb(255, 166, 0);
	color: rgb(28, 28, 28);
}

.LeftBarSearch {
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
	color: rgb(230, 230, 230);
    outline: none;
}

.LeftBarSearch::placeholder {
    color: rgb(230, 230, 230);
	transition: .2s;
}

.LeftBarSearch:hover::placeholder {
    color: transparent;
	transition: .2s;
}


