打开/关闭菜单
26
6675
46
1.2万
OGAS数据中枢
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

User:弃权者/Template:少女前线信息/styles.css:修订间差异

来自OGAS数据中枢
弃权者留言 | 贡献
无编辑摘要
弃权者留言 | 贡献
无编辑摘要
 
(未显示同一用户的80个中间版本)
第1行: 第1行:
.gf-infobox-new {
.gf-infobox-new {
    display: flex;
    flex-wrap: wrap;
     width: 100%;
     width: 100%;
     margin-top: 1em;
     margin-top: 1em;
    background-color: var(--color-surface-0);
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    overflow: hidden;
     clear: both;
     clear: both;
    box-sizing: border-box;
    min-width: 750px;
}
.gf-infobox-new *,
.gf-infobox-new *::before,
.gf-infobox-new *::after {
    box-sizing: border-box;
}
}


.gf-left-panel {
.gf-left-panel {
    flex: 0 0 65%;
    border-right: 1px solid var(--border-color-subtle);
     position: relative;
     position: relative;
     overflow: hidden;
    width: 100%;
     background-image: url('/wiki/Special:FilePath/图鉴背景.png');
    height: 560px;
     overflow: visible;
    border-radius: 8px;
    clip-path: inset(0 round 8px);
     background-image: url('/wiki/Special:FilePath/图鉴背景.jpg');
     background-size: cover;
     background-size: cover;
     background-position: center bottom;
     background-position: center bottom;
第23行: 第27行:


.gf-image-container {
.gf-image-container {
     height: 480px;
    width: 100%;
     height: 100%;
     display: flex;
     display: flex;
     align-items: flex-end;
     align-items: flex-end;
     justify-content: center;
     justify-content: center;
     padding: 10px 10px 0 10px;
     padding: 10px 10px 0 10%;
    cursor: pointer;
     position: relative;
     position: relative;
}
}


.gf-main-img, .gf-main-img a, .gf-main-img img {
@media screen and (max-width: 600px) {
     max-width: 100% !important;
    .gf-image-container {
        align-items: center;
        padding: 10px;
    }
 
    .gf-main-img,
    .gf-main-img a,
    .gf-main-img img {
        max-width: 85% !important;
    }
}
 
.gf-main-img,
.gf-main-img a,
.gf-main-img img {
     max-width: 85% !important;
     max-height: 100% !important;
     max-height: 100% !important;
     width: auto !important;
     width: auto !important;
第39行: 第58行:
     object-fit: contain;
     object-fit: contain;
     display: block;
     display: block;
    margin: 0 auto;
}
}


.gf-image-container img {
.gf-image-container img {
    transform: scale(1.0);
     transition: opacity 0.3s ease;
     transition: transform 0.3s ease, opacity 0.3s ease;
}
 
.gf-image-container:hover img {
    transform: scale(1.02);
}
}


第55行: 第68行:
}
}


.gf-view-original, .gf-change-bg-btn {
.gf-controls {
     position: absolute;
     position: absolute;
     right: 12px;
     right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 25;
    transition: opacity 0.2s;
}
@media screen and (max-width: 600px) {
    .gf-bg-selector {
        font-size: 10px;
        height: 20px;
        padding: 0 4px;
    }
    .gf-view-original {
        width: 20px;
        height: 20px;
        background-size: 11px;
    }
}
.gf-view-original {
     width: 32px;
     width: 32px;
     height: 32px;
     height: 32px;
     border-radius: 50%;
     border-radius: 50%;
    z-index: 10;
     cursor: pointer;
     cursor: pointer;
     background-color: var(--color-surface-3);
     background-color: rgba(0,0,0,0.5);
     border: 1px solid var(--border-color-subtle);
     border: 1px solid rgba(255,255,255,0.3);
     box-shadow: 0 2px 5px rgba(0,0,0,0.2);
     box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: center;
     background-position: center;
     background-size: 16px;
     background-size: 16px;
     transition: transform 0.2s, background-color 0.2s, border-color 0.2s;
     transition: transform 0.2s, background-color 0.2s;
}
}


.gf-view-original {
.gf-view-original:hover {
    bottom: 12px;
     background-color: rgba(0,0,0,0.8);
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath filter='drop-shadow(1px 1px 1px white)' d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
}
 
.gf-change-bg-btn {
    bottom: 52px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath filter='drop-shadow(1px 1px 1px white)' d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3Ccircle filter='drop-shadow(1px 1px 1px white)' cx='12' cy='12' r='4'/%3E%3C/svg%3E");
}
 
.gf-view-original:hover, .gf-change-bg-btn:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
     transform: scale(1.1);
     transform: scale(1.1);
}
}


.gf-view-original:hover {
.gf-bg-selector {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
     height: 32px;
}
     z-index: 25;
 
     padding: 0 8px;
.gf-change-bg-btn:hover {
     font-size: 12px;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E");
}
 
.gf-bg-popover {
    position: absolute;
    right: 52px;
    bottom: 52px;
    background: var(--color-surface-3);
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    padding: 8px;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
     z-index: 30;
     box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
    width: 280px;
}
 
.gf-bg-popover.active {
    display: grid;
}
 
.gf-bg-item {
     font-size: 11px;
    padding: 6px 4px;
    text-align: center;
    background: var(--background-color-interactive-subtle, var(--color-surface-2));
    border: 1px solid var(--border-color-subtle);
    color: var(--color-base);
     border-radius: 4px;
     border-radius: 4px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
     cursor: pointer;
     cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s;
}
}


.gf-bg-item:hover {
.gf-bg-selector:focus {
     background: var(--background-color-interactive, var(--color-surface-4));
     outline: none;
}
}


.gf-switcher-overlay {
.gf-switcher-overlay {
     position: absolute;
     position: absolute;
     left: 10px;
     right: 10px;
     top: 10px;
     top: 10px;
     z-index: 20;
     z-index: 20;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     gap: 4px;
    align-items: stretch;
      
     gap: 6px;
    max-height: calc(100% - 60px);
     width: 120px;
    transition: opacity 0.2s;
}
}


第151行: 第147行:
     width: 32px;
     width: 32px;
     height: 32px;
     height: 32px;
     background: var(--background-color-interactive-subtle, var(--color-surface-3));
     background: rgba(0,0,0,0.6);
     border: 1px solid var(--border-color-subtle);
     border: 1px solid rgba(255,255,255,0.3);
     border-radius: 4px;
     border-radius: 4px;
     cursor: pointer;
     cursor: pointer;
第158行: 第154行:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     color: var(--color-base);
     color: #fff;
     align-self: flex-start;
    flex-shrink: 0;
     align-self: flex-end;
}
}


.gf-switcher-toggle:hover {
.gf-switcher-toggle:hover {
     background: var(--background-color-interactive, var(--color-surface-4));
     background: rgba(0,0,0,0.85);
}
}


第170行: 第167行:
     font-weight: bold;
     font-weight: bold;
}
}


.gf-switcher-list {
.gf-switcher-list {
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;
     gap: 4px;
    align-items: stretch;
     transition: 0.2s opacity;
     gap: 3px;
    overflow-y: auto;
    touch-action: pan-y;
     transition: opacity 0.2s;
    padding-bottom: 4px;
    max-height: calc(100% - 40px);
}
}


第183行: 第187行:
}
}


.gf-switch-btn {  
@media screen and (max-width: 600px) {
     background: var(--background-color-interactive-subtle, var(--color-surface-2));  
    .gf-switcher-list {
     border: 1px solid var(--border-color-subtle);  
        display: none;
     border-radius: 4px;  
    }
     padding: 4px 10px;  
    .gf-switcher-overlay.expanded .gf-switcher-list {
     cursor: pointer;  
        display: flex;
    }
}
 
.gf-group-btn {
     background: rgba(0,0,0,0.75) !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    user-select: none;
    text-align: left;
    width: 100%;
}
 
.gf-group-btn:hover {
    background: rgba(50,50,50,0.85) !important;
     border-color: #fff !important;
}
 
.gf-group-btn.active {
    border-color: #ff8c00 !important;
    box-shadow: 0 0 5px rgba(255,140,0,0.5), 0 2px 4px rgba(0,0,0,0.25);
}
 
.gf-variant-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-left: 8px;
}
 
.gf-variant-list.collapsed {
    display: none;
}
 
.gf-switch-btn {
    background: rgba(0,0,0,0.65) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #ddd !important;
     border-radius: 3px;
     padding: 3px 8px;
     cursor: pointer;
     font-size: 12px;
     font-size: 12px;
     color: var(--color-base);
     transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    transition: background-color 0.2s, color 0.2s;
   
     backdrop-filter: blur(4px);
     backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    user-select: none;
    text-align: left;
    width: 100%;
}
.gf-switch-btn::before {
    content: "·  ";
    opacity: 0.6;
}
}


.gf-switch-btn:hover {
.gf-switch-btn:hover {
     background: var(--background-color-interactive, var(--color-surface-3));
     background: rgba(40,40,40,0.8) !important;
    border-color: #fff !important;
    color: #fff !important;
}
}


.gf-switch-btn.active {
.gf-switch-btn.active {
     background: var(--color-primary);
     background: rgba(20,20,20,0.8) !important;
     border-color: var(--color-primary);
    border-color: #ff8c00 !important;
     color: var(--color-on-primary, var(--color-base)) !important;
    border-width: 1px !important;
      
    color: #fff !important;
     text-shadow: none;
    font-weight: normal !important;
     box-shadow: 0 0 4px rgba(255,140,0,0.4), 0 1px 3px rgba(0,0,0,0.2);
}
 
.gf-switch-btn.active::before {
    content: "▶  ";
    opacity: 1;
     color: #ff8c00;
}
 
.gf-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 48px 16px 14px 16px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.82) 100%);
    pointer-events: none;
    transition: opacity 0.2s;
}
 
.gf-info-overlay > * {
    pointer-events: auto;
}
 
.gf-cv-block {
     display: flex;
     flex-direction: column;
    gap: 4px;
}


     background-image: linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.08));
.gf-cv-row {
    display: flex;
    align-items: stretch;
    position: relative;
     background: rgba(255,255,255,0.12);
    overflow: hidden;
}


     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
.gf-cv-label {
    background: rgba(60,60,60,0.9);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 20px 3px 10px;
     clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
    white-space: nowrap;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
}


.gf-right-panel {
.gf-cv-value {
    background: transparent;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
     flex: 1;
     flex: 1;
     min-width: 280px;
     max-width: none;
}
 
.gf-stars {
    margin-bottom: 2px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.8));
}
 
.gf-subname {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
 
.gf-profile-wrap {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}
 
.gf-name {
    font-size: 36px;
    font-weight: bolder;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5);
    line-height: 1.1;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}
 
.gf-profile-watermark {
    font-size: 32px;
    font-weight: 900;
    color: rgba(255,255,255,0.27);
    line-height: 1;
    position: relative;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}
 
.gf-bottom-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
 
.gf-type-icon {
    flex-shrink: 0;
}
 
.gf-affiliation {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
 
.gf-affil-row {
background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.15) 60%, transparent 100%);
    border: none;
    border-left: 2px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 11px;
    padding: 3px 40px 3px 10px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
 
.gf-main-info-section {
    margin-top: 8px;
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-surface-0);
}
}


.gf-info-table, .gf-bottom-table {
.gf-info-table,
.gf-bottom-table {
     width: 100%;
     width: 100%;
     border-collapse: collapse;
     border-collapse: collapse;
第223行: 第420行:
}
}


.gf-template-box, .gf-infobox-new {
.gf-label {
    clear: both;
     background: var(--color-surface-2);
}
     padding: 6px 10px;
 
.gf-header-row {
     background: var(--color-surface-2) !important;
     padding: 10px !important;
    text-align: center !important;
     font-weight: bold;
     font-weight: bold;
    color: var(--color-base);
}
.gf-label {
    background: var(--color-surface-2);
    padding: 8px 10px;
    font-weight: bold;
     width: 1px;
     width: 1px;
     white-space: nowrap;
     white-space: nowrap;
     border-bottom: 1px solid var(--border-color-subtle);  
     border-bottom: 1px solid var(--border-color-subtle);
     border-right: 1px solid var(--border-color-subtle);
     border-right: 1px solid var(--border-color-subtle);
     color: var(--color-base);
     color: var(--color-base);
}
}


.gf-info-table td, .gf-bottom-table td {  
.gf-info-table td,
     padding: 8px 12px;  
.gf-bottom-table td {
     padding: 6px 12px;
     border-bottom: 1px solid var(--border-color-subtle);
     border-bottom: 1px solid var(--border-color-subtle);
     color: var(--color-base);
     color: var(--color-base);
}
}


.gf-bottom-section {  
 
     margin-top: 15px;  
.gf-marquee {
     border: 1px solid var(--border-color-subtle);  
    display: inline-block;
     border-radius: 8px;  
    white-space: nowrap;
     overflow: hidden;  
    animation: gf-marquee 8s linear infinite;
}
 
.gf-marquee:hover {
    animation-play-state: paused;
}
 
@keyframes gf-marquee {
    0%  { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
 
.gf-bottom-section {
     margin-top: 8px;
     border: 1px solid var(--border-color-subtle);
     border-radius: 8px;
     overflow: hidden;
     background: var(--color-surface-0);
     background: var(--color-surface-0);
}
}


@media screen and (max-width: 768px) {
@media screen and (max-width: 600px) {
    .gf-infobox-new { flex-direction: column; }
.gf-infobox-new{
     .gf-left-panel { flex: none; width: 100%; border-right: none; border-bottom: 1px solid var(--border-color-subtle); }
min-width: unset;
}
    .gf-left-panel {
        height: 120vw;
        min-height: 480px;
    }
 
    .gf-main-img,
    .gf-main-img a,
    .gf-main-img img {
        max-width: 100% !important;
    }
 
    .gf-switcher-overlay {
        width: 90px;
    }
 
    .gf-group-btn {
        padding: 6px 8px;
        font-size: 12px;
    }
 
    .gf-switch-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
 
    .gf-name {
        font-size: 20px;
    }
 
    .gf-profile-watermark {
        font-size: 20px;
    }
 
    .gf-info-overlay {
        padding: 32px 10px 8px 10px;
    }
 
    .gf-bottom-info {
        display: grid;
        grid-template-columns: auto auto auto 1fr;
        grid-template-rows: 1fr 1fr auto;
        align-items: stretch;
        gap: 2px 8px;
        width: 100%;
    }
 
    .gf-type-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
        justify-content: center;
    }
 
    .gf-cv-block {
        grid-column: 2;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 0;
        margin-left: 0;
        gap: 0;
    }
 
     .gf-affiliation {
        grid-column: 3;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 0;
        max-width: none;
    }
 
    .gf-affil-row {
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 8px;
    }
 
    .gf-controls {
        grid-column: 1 / 5;
        grid-row: 3;
        justify-content: center;
        position: static;
        width: 100%;
        padding-top: 6px;
    }
 
    .gf-stars {
        margin-bottom: 0;
    }
 
    .gf-profile-wrap {
        margin-bottom: 6px;
    }
}
}

2026年5月20日 (三) 00:27的最新版本

.gf-infobox-new {
    width: 100%;
    margin-top: 1em;
    clear: both;
    box-sizing: border-box;
    min-width: 750px;
}

.gf-infobox-new *,
.gf-infobox-new *::before,
.gf-infobox-new *::after {
    box-sizing: border-box;
}

.gf-left-panel {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: visible;
    border-radius: 8px;
    clip-path: inset(0 round 8px);
    background-image: url('/wiki/Special:FilePath/图鉴背景.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.gf-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 10px 10px 0 10%;
    position: relative;
}

@media screen and (max-width: 600px) {
    .gf-image-container {
        align-items: center;
        padding: 10px;
    }

    .gf-main-img,
    .gf-main-img a,
    .gf-main-img img {
        max-width: 85% !important;
    }
}

.gf-main-img,
.gf-main-img a,
.gf-main-img img {
    max-width: 85% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}

.gf-image-container img {
    transition: opacity 0.3s ease;
}

.gf-image-container.loading img {
    filter: grayscale(1) opacity(0.5);
}

.gf-controls {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    z-index: 25;
    transition: opacity 0.2s;
}

@media screen and (max-width: 600px) {
    .gf-bg-selector {
        font-size: 10px;
        height: 20px;
        padding: 0 4px;
    }

    .gf-view-original {
        width: 20px;
        height: 20px;
        background-size: 11px;
    }
}

.gf-view-original {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    transition: transform 0.2s, background-color 0.2s;
}

.gf-view-original:hover {
    background-color: rgba(0,0,0,0.8);
    transform: scale(1.1);
}

.gf-bg-selector {
    height: 32px;
    z-index: 25;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 4px;
    background-color: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    cursor: pointer;
}

.gf-bg-selector:focus {
    outline: none;
}

.gf-switcher-overlay {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: calc(100% - 60px);
    width: 120px;
    transition: opacity 0.2s;
}

.gf-switcher-toggle {
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    align-self: flex-end;
}

.gf-switcher-toggle:hover {
    background: rgba(0,0,0,0.85);
}

.gf-switcher-toggle::before {
    content: "≡";
    font-weight: bold;
}



.gf-switcher-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    overflow-y: auto;
    touch-action: pan-y;
    transition: opacity 0.2s;
    padding-bottom: 4px;
    max-height: calc(100% - 40px);
}

.gf-switcher-overlay.collapsed .gf-switcher-list {
    opacity: 0;
    pointer-events: none;
}

@media screen and (max-width: 600px) {
    .gf-switcher-list {
        display: none;
    }
    .gf-switcher-overlay.expanded .gf-switcher-list {
        display: flex;
    }
}

.gf-group-btn {
    background: rgba(0,0,0,0.75) !important;
    border: 1px solid rgba(255,255,255,0.6) !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: background-color 0.2s, border-color 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    user-select: none;
    text-align: left;
    width: 100%;
}

.gf-group-btn:hover {
    background: rgba(50,50,50,0.85) !important;
    border-color: #fff !important;
}

.gf-group-btn.active {
    border-color: #ff8c00 !important;
    box-shadow: 0 0 5px rgba(255,140,0,0.5), 0 2px 4px rgba(0,0,0,0.25);
}

.gf-variant-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding-left: 8px;
}

.gf-variant-list.collapsed {
    display: none;
}

.gf-switch-btn {
    background: rgba(0,0,0,0.65) !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    color: #ddd !important;
    border-radius: 3px;
    padding: 3px 8px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    backdrop-filter: blur(4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    user-select: none;
    text-align: left;
    width: 100%;
}

.gf-switch-btn::before {
    content: "·  ";
    opacity: 0.6;
}

.gf-switch-btn:hover {
    background: rgba(40,40,40,0.8) !important;
    border-color: #fff !important;
    color: #fff !important;
}

.gf-switch-btn.active {
    background: rgba(20,20,20,0.8) !important;
    border-color: #ff8c00 !important;
    border-width: 1px !important;
    color: #fff !important;
    font-weight: normal !important;
    box-shadow: 0 0 4px rgba(255,140,0,0.4), 0 1px 3px rgba(0,0,0,0.2);
}

.gf-switch-btn.active::before {
    content: "▶  ";
    opacity: 1;
    color: #ff8c00;
}

.gf-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    padding: 48px 16px 14px 16px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.82) 100%);
    pointer-events: none;
    transition: opacity 0.2s;
}

.gf-info-overlay > * {
    pointer-events: auto;
}

.gf-cv-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gf-cv-row {
    display: flex;
    align-items: stretch;
    position: relative;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
}

.gf-cv-label {
    background: rgba(60,60,60,0.9);
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 20px 3px 10px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 0 100%);
    white-space: nowrap;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.gf-cv-value {
    background: transparent;
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    flex: 1;
    max-width: none;
}

.gf-stars {
    margin-bottom: 2px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.8));
}

.gf-subname {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.gf-profile-wrap {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.gf-name {
    font-size: 36px;
    font-weight: bolder;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9), 0 0 20px rgba(0,0,0,0.5);
    line-height: 1.1;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.gf-profile-watermark {
    font-size: 32px;
    font-weight: 900;
    color: rgba(255,255,255,0.27);
    line-height: 1;
    position: relative;
    z-index: 1;
    user-select: none;
    pointer-events: none;
}

.gf-bottom-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gf-type-icon {
    flex-shrink: 0;
}

.gf-affiliation {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gf-affil-row {
	background: linear-gradient(to right, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.15) 60%, transparent 100%);
    border: none;
    border-left: 2px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 11px;
    padding: 3px 40px 3px 10px;
    white-space: nowrap;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.gf-main-info-section {
    margin-top: 8px;
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-surface-0);
}

.gf-info-table,
.gf-bottom-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
}

.gf-label {
    background: var(--color-surface-2);
    padding: 6px 10px;
    font-weight: bold;
    width: 1px;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-color-subtle);
    border-right: 1px solid var(--border-color-subtle);
    color: var(--color-base);
}

.gf-info-table td,
.gf-bottom-table td {
    padding: 6px 12px;
    border-bottom: 1px solid var(--border-color-subtle);
    color: var(--color-base);
}


.gf-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: gf-marquee 8s linear infinite;
}

.gf-marquee:hover {
    animation-play-state: paused;
}

@keyframes gf-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gf-bottom-section {
    margin-top: 8px;
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-surface-0);
}

@media screen and (max-width: 600px) {
	.gf-infobox-new{
		min-width: unset;
	}
	
    .gf-left-panel {
        height: 120vw;
        min-height: 480px;
    }

    .gf-main-img,
    .gf-main-img a,
    .gf-main-img img {
        max-width: 100% !important;
    }

    .gf-switcher-overlay {
        width: 90px;
    }

    .gf-group-btn {
        padding: 6px 8px;
        font-size: 12px;
    }

    .gf-switch-btn {
        padding: 4px 8px;
        font-size: 11px;
    }

    .gf-name {
        font-size: 20px;
    }

    .gf-profile-watermark {
        font-size: 20px;
    }

    .gf-info-overlay {
        padding: 32px 10px 8px 10px;
    }

    .gf-bottom-info {
        display: grid;
        grid-template-columns: auto auto auto 1fr;
        grid-template-rows: 1fr 1fr auto;
        align-items: stretch;
        gap: 2px 8px;
        width: 100%;
    }

    .gf-type-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gf-cv-block {
        grid-column: 2;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 0;
        margin-left: 0;
        gap: 0;
    }

    .gf-affiliation {
        grid-column: 3;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 0;
        max-width: none;
    }

    .gf-affil-row {
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 8px;
    }

    .gf-controls {
        grid-column: 1 / 5;
        grid-row: 3;
        justify-content: center;
        position: static;
        width: 100%;
        padding-top: 6px;
    }

    .gf-stars {
        margin-bottom: 0;
    }

    .gf-profile-wrap {
        margin-bottom: 6px;
    }
}