.memc_left, .memc_right {
width: 48%;
}

.memc_left {
display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tp-tab i {
margin-right:5px;
}

.mem_icon {
width:80px;
height:80px;
border:1px solid var(--accent2);
}

.tp-playlist {
display: flex;
  justify-content: center;
  align-items: center;
}

.memc_inhalt {
text-align: justify;
  height: 180px;
  overflow: auto;
}

.memc_ue {
font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent2);
}

.mem_chara {
display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.mem_rela {
display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.mer_ue {
text-transform: uppercase;
  font-weight: bold;
  color: var(--accent2);
  letter-spacing: 1px;
}

.mer_box {
width:32.1%;
}

.fam_left {
text-align: justify;
  overflow: auto;
  height: 150px;
  margin-bottom: 20px;
}


:root {
    --tp-bg: #070c12;
    --tp-bg2: #0b121b;
    --tp-cyan: #54b8ce;

    --tp-jp: 'Noto Sans JP', sans-serif;
}


/* -----------------------------
   MAIN WRAPPER
----------------------------- */

.tokyo-profile {
    width: 100%;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.75;
	margin: 50px 0px;
}

.tokyo-profile *,
.tokyo-profile *::before,
.tokyo-profile *::after {
    box-sizing: border-box;
}


/* -----------------------------
   HERO
----------------------------- */

.tp-hero {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr);
    gap: 12px;
    margin-bottom: 12px;
}


.fam_wrapper {
display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* AVATAR */

.tp-avatar {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line1);
    background: var(--accent1);
}

.tp-avatar img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.tp-avatar::after {
    content: "";
    position: absolute;
    inset: 0 0 46px;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(5,10,15,.4)
        );
}

.tp-avatar-edit {
    height: 46px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    position: relative;
    z-index: 2;

    border-top:1px solid var(--line1);
    text-decoration: none;

    font-family: var(--tp-data);
    font-size: 11px;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    cursor: pointer;

    transition: .2s ease;
}


/* IDENTITY */

.tp-identity {
    display: grid;
    grid-template-columns: 42% 58%;
    height: 298px;
    border:1px solid var(--line1);
    background: var(--accent1);
}

.tp-name {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 45px;
}

.tp-name-jp {
    margin-bottom: 4px;

    color: #f1f1f1;

    font-family: var(--tp-jp);
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 7px;
}

.tp-name h1 {
    margin: 0;

   color: var(--accent2);

    font-family: var(--mainfont);
    font-size: 38px;
    font-weight: 400;

    line-height: 1;

    letter-spacing: 6px;
    text-transform: uppercase;
}

.tp-basic {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 34px;

    color: #c2c7cc;

    font-family: var(--tp-data);
    font-size: 15px;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tp-basic i {
    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: var(--accent2);
}


/* QUOTE */

.tp-quote {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 60px;
}

.tp-quote::before {
    content: "";

    position: absolute;
    left: 0;
    top: 25%;
    bottom: 25%;

    width: 1px;

    background: var(--accent2);
}

.tp-quote-jp {
    color: #e7e9eb;

    font-family: var(--tp-jp);
    font-size: 22px;
    font-weight: 300;

    line-height: 2;
}

.tp-quote-en {
    margin-top: 32px;

    color: var(--tp-muted);

    font-family: var(--tp-data);
    font-size: 14px;

    letter-spacing: 2px;
    line-height: 1.9;

    text-transform: uppercase;
}


/* -----------------------------
   MAIN GRID
----------------------------- */

.tp-layout {
    display: grid;
    grid-template-columns: 300px minmax(0,1fr);

    gap: 12px;

    align-items: start;
}


/* -----------------------------
   SIDEBAR
----------------------------- */

.tp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-box {
    padding: 20px;

    border:1px solid var(--line1);

    background:     var(--accent1);
}

.tp-box h2,
.tp-panel h2 {
    margin: 0 0 18px;

    color: var(--accent2);

    font-family: var(--mainfont);
    font-size: 16px;
    font-weight: 500;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* FACTS */

.tp-facts {
    display: flex;
    flex-direction: column;
}

.tp-fact {
    display: grid;
    grid-template-columns: 1fr 1.3fr;

    gap: 14px;

    padding: 7px 0;
}

.tp-fact-label {
    color: var(--tp-muted);

    font-family: var(--tp-data);

    letter-spacing: 1px;
    text-transform: uppercase;
}

.tp-online::before {
    content: "";

    display: inline-block;

    width: 6px;
    height: 6px;

    margin-right: 6px;

    border-radius: 50%;

    background: #7bc960;
}


/* STATS */

.tp-stats {
    display: flex;
    flex-direction: column;
}

.tp-stats > div {
    display: flex;
    justify-content: space-between;

    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.045);
}

.tp-stats > div:last-child {
    border-bottom: 0;
}

.tp-stats strong {
    color: #d7dce0;
    font-weight: 400;
}


/* -----------------------------
   CONTENT
----------------------------- */

.tp-content {
    min-width: 0;
}


/* TABS */

.tp-tabs {
    display: flex;
    flex-wrap: wrap;

    border:1px solid var(--line1);

    background: var(--accent1);
}

.tp-tab {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 22px;

    border: 0;
    outline: 0;
    background: transparent;
    text-decoration: none;

    font-family: var(--tp-data);
    font-size: 12px;

    letter-spacing: 1px;
    text-transform: uppercase;

    transition: .2s ease;
}

.tp-tab:hover {
    color: #fff;
}

.tp-tab.active {
    color:var(--accent2);
}

.tp-tab.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: -1px;

    height: 1px;

    background: var(--accent2);
}


/* TAB CONTENT */

.tp-tab-content {
    display: none;
}

.tp-tab-content.active {
    display: block;
}

.tp-tab-panel {
    margin-top: 12px;
    padding: 28px;
}

.tp-tab-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line1);
}

.tp-tab-number {
    color: var(--accent2);
    font-family:var(--mainfont);
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
}

.tp-tab-kicker {
    display: block;
    margin-bottom: 2px;
    color: var(--tp-muted);
    font-family: var(--tp-data);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tp-tab-heading h2 {
    margin: 0;
    font-family: var(--mainfont);
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 2px;
}

.tp-placeholder {
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border: 1px dashed var(--line1);
    color: var(--tp-muted);
    text-align: center;
}


/* -----------------------------
   PANELS
----------------------------- */

.tp-panel {
    border:1px solid var(--line1);

    background:        var(--accent1);
}

.tp-grid-top {
    display: grid;
    grid-template-columns: 1.2fr .8fr;

    margin-top: 12px;
}

.tp-about,
.tp-playlist {
    padding: 28px;
}

.tp-about {
    border-right: 0;
}

.tp-about p {
    max-width: 600px;
  margin: 0 0 20px;
  line-height: 2;
  text-align: justify;
  overflow: auto;
  height: 200px;
}

.tp-line {
    width: 38px;
    height: 1px;

    margin-top: 28px;

    background: var(--accent2);
}


/* -----------------------------
   PLAYLIST
----------------------------- */

.tp-track {
    display: grid;
    grid-template-columns: 44px minmax(0,1fr) 34px;

    align-items: center;

    gap: 12px;

    padding: 10px 0;

    border-bottom: 1px solid rgba(255,255,255,.07);
}

.tp-track img {
    width: 44px;
    height: 44px;

    object-fit: cover;
}

.tp-track div {
    min-width: 0;
}

.tp-track strong {
    display: block;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    color: #d6dade;

    font-weight: 400;
}

.tp-track span {
    display: block;

    color: var(--tp-muted);

    font-size: 11px;
}

.tp-track button {
    width: 30px;
    height: 30px;

    padding: 0;

    border:1px solid var(--line1);
    border-radius: 50%;

    background: transparent;

    cursor: pointer;
}

.tp-track button:hover {
    color: var(--accent2);
    border-color: var(--accent2);
}

.tp-more {
    display: inline-block;

    margin-top: 18px;

    color: var(--accent2);

    text-decoration: none;

    font-family: var(--tp-data);

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* -----------------------------
   GALLERY
----------------------------- */

.tp-gallery {
    margin-top: 12px;

    padding: 20px;
}

.tp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);

    gap: 8px;
}

.tp-gallery-grid img {
    display: block;

    width: 100%;
    height: 180px;

    object-fit: cover;

    filter: brightness(.82) saturate(.8);

    transition: .3s ease;
}

.tp-gallery-grid img:hover {
    filter: brightness(1) saturate(1);
}


/* -----------------------------
   BOTTOM
----------------------------- */

.tp-bottom-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 12px;

    margin-top: 12px;
}

.tp-current,
.tp-ooc {
    padding: 24px;
}

.tp-current-row {
    display: grid;
    grid-template-columns: 120px 1fr;

    padding: 7px 0;
}

.tp-current-row span,
.tp-current-text > span {
    color: var(--tp-muted);

    font-family: var(--tp-data);

    letter-spacing: 1px;
    text-transform: uppercase;
}

.tp-current-row strong {
    font-weight: 400;
}

.tp-current-text {
    margin-top: 16px;
}

.tp-current-text p {
    margin: 5px 0 0;

}


/* OOC */

.tp-ooc {
    display: flex;

    justify-content: space-between;

    gap: 30px;
}

.tp-ooc p {
    line-height: 1.9;
}

.tp-coffee {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 100px;

    color:var(--accent2);

    font-size: 55px;
}




/* -----------------------------
   TRIGGER WARNING
----------------------------- */

.tp-trigger {
    grid-column: 1 / -1;
    padding: 10px 15px;
    border: 1px solid var(--line1);
    background: var(--accent1);
    font-family: var(--tp-data);
    font-size: 11px;
    letter-spacing: .7px;
	text-align:center;
}

.tp-trigger b {
    color: var(--accent2);
    font-weight: 500;
    text-transform: uppercase;
}


/* -----------------------------
   RESPONSIVE
----------------------------- */

@media (max-width: 950px) {

    .tp-hero,
    .tp-layout {
        grid-template-columns: 240px minmax(0,1fr);
    }

    .tp-identity {
        grid-template-columns: 1fr;
    }

    .tp-quote {
        border-top:1px solid var(--line1);
    }

    .tp-quote::before {
        display: none;
    }

    .tp-gallery-grid {
        grid-template-columns: repeat(3,1fr);
    }

}


@media (max-width: 720px) {

    .tp-hero,
    .tp-layout {
        grid-template-columns: 1fr;
    }

    .tp-avatar img {
        height: 520px;
    }

    .tp-grid-top,
    .tp-bottom-grid {
        grid-template-columns: 1fr;
    }

    .tp-about {
        border-right:1px solid var(--line1);
        border-bottom: 0;
    }

}


@media (max-width: 520px) {

    .tp-name,
    .tp-quote {
        padding: 28px;
    }

    .tp-name-jp {
        font-size: 32px;
    }

    .tp-name h1 {
        font-size: 30px;
    }

    .tp-tab {
        flex: 1 1 33%;

        justify-content: center;

        padding: 0 10px;
    }

    .tp-gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .tp-gallery-grid img {
        height: 200px;
    }

    .tp-ooc {
        flex-direction: column;
    }

}