/* Mobile App Detail - Block Style */
.header-inner-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px;
}

.back-btn-square {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 2px solid #0f172a;
    box-shadow: 2px 2px 0 #0f172a;
    color: #0f172a;
    text-decoration: none;
    font-weight: bold;
}

.header-badge {
    padding: 4px 10px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid #0f172a;
    white-space: nowrap;
}

.app-detail-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-top-card {
    background: #fff;
    border: 2px solid #0f172a;
    box-shadow: 6px 6px 0 rgba(15, 23, 42, 0.1);
    padding: 20px;
}

.detail-main-info {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.detail-icon-square {
    width: 80px;
    height: 80px;
    border: 2px solid #0f172a;
    box-shadow: 4px 4px 0 rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.detail-title-group h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: #0f172a;
    line-height: 1.2;
}

.detail-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.label-pill {
    padding: 2px 8px;
    font-size: 12px;
    background: #f1f5f9;
    border: 1px solid #0f172a;
    color: #0f172a;
}

.label-pill.secondary {
    background: #e0f2fe;
}

.package-text {
    font-size: 11px;
    color: #64748b;
    word-break: break-all;
    margin: 0;
}

.detail-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: #f8fafc;
    border: 2px solid #0f172a;
    box-shadow: 3px 3px 0 rgba(15, 23, 42, 0.08);
}

.stat-unit {
    flex: 1;
    text-align: center;
    padding: 10px 4px;
    border-right: 2px solid #0f172a;
}

.stat-unit:last-child {
    border-right: none;
}

.stat-unit strong {
    display: block;
    font-size: 15px;
    color: #1e293b;
}

.stat-unit span {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
}

.download-btn-block {
    display: block;
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border: 2px solid #0f172a;
    box-shadow: 4px 4px 0 #0f172a;
    text-decoration: none;
    margin-bottom: 16px;
}

.detail-sub-actions {
    display: flex;
    gap: 10px;
}

.action-btn-square {
    flex: 1;
    padding: 10px;
    background: #fff;
    border: 2px solid #0f172a;
    box-shadow: 3px 3px 0 #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    color: #0f172a;
    text-decoration: none;
    cursor: pointer;
}

.action-btn-square.active {
    background: #fee2e2;
}

.detail-info-block {
    background: #fff;
    border: 2px solid #0f172a;
    box-shadow: 4px 4px 0 rgba(15, 23, 42, 0.05);
    position: relative;
    padding-top: 6px;
}

.detail-info-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 65%, #f59e0b 100%);
}

.block-title {
    margin: 0;
    padding: 12px 16px;
    font-size: 16px;
    border-bottom: 2px solid #0f172a;
    background: #f1f5f9;
}

.block-content-padding {
    padding: 16px;
}

.screenshot-scroller {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

.screenshot-square {
    flex: 0 0 160px;
    border: 2px solid #0f172a;
}

.screenshot-square img {
    display: block;
    width: 100%;
    height: auto;
}

.community-square-wrap {
    padding: 16px;
}

.portal-button-square {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #1e293b;
    color: #fff;
    border: 2px solid #0f172a;
    font-weight: 600;
}

.comment-item-square {
    padding: 12px 0;
    border-bottom: 1px dashed #cbd5e1;
}

.comment-item-square:last-child {
    border-bottom: none;
}

.comment-header-square {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
}

.meta-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #0f172a;
}

.meta-item {
    background: #fff;
    padding: 12px;
}

.meta-item span {
    display: block;
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
}

.meta-item strong {
    font-size: 13px;
    color: #1e293b;
}

.break-all {
    word-break: break-all;
}

.square { border-radius: 0 !important; }
